diff options
author | Karel Zak | 2011-05-04 15:52:39 +0200 |
---|---|---|
committer | Karel Zak | 2011-05-04 15:52:39 +0200 |
commit | 5b1f0311234020e07695cee6ba70cc749672b502 (patch) | |
tree | 3eee181abb1ec85be80eb5fa7000ccb62173cced /include | |
parent | lib: [procutils.c]: general purpose procfs parsing functions (diff) | |
download | kernel-qcow2-util-linux-5b1f0311234020e07695cee6ba70cc749672b502.tar.gz kernel-qcow2-util-linux-5b1f0311234020e07695cee6ba70cc749672b502.tar.xz kernel-qcow2-util-linux-5b1f0311234020e07695cee6ba70cc749672b502.zip |
lib: [procutils.c]: add missing files. Sorry.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/procutils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/procutils.h b/include/procutils.h new file mode 100644 index 000000000..48aecdd23 --- /dev/null +++ b/include/procutils.h @@ -0,0 +1,12 @@ +#ifndef UTIL_LINUX_PROCUTILS +#define UTIL_LINUX_PROCUTILS + +struct proc_tasks { + DIR *dir; +}; + +extern struct proc_tasks *proc_open_tasks(pid_t pid); +extern void proc_close_tasks(struct proc_tasks *tasks); +extern int proc_next_tid(struct proc_tasks *tasks, pid_t *tid); + +#endif /* UTIL_LINUX_PROCUTILS */ |