50 int removeElement(pid_t pid,
char *commandLineBuffer,
size_t bufferSize);
63 void walkList(
int (*callback) (pid_t,
const char *));
void walkList(int(*callback)(pid_t, const char *))
Invokes a callback function on each element in the list.
int insertElement(pid_t pid, const char *commandLine)
Inserts a new pid-command line pair into the linked list.
int removeElement(pid_t pid, char *commandLineBuffer, size_t bufferSize)
Remove a specific pid-command line pair from the linked list.