decls for new proc_modules functions

This commit is contained in:
Doug MacEachern 2004-06-22 06:11:38 +00:00
parent fc5bf90b3c
commit 3fd81bf749
1 changed files with 9 additions and 0 deletions

View File

@ -276,6 +276,15 @@ typedef struct {
SIGAR_DECLARE(int) sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid,
sigar_proc_exe_t *procexe);
typedef struct {
void *data; /* user data */
int (*module_getter)(void *, char *, int);
} sigar_proc_modules_t;
SIGAR_DECLARE(int) sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
sigar_proc_modules_t *procmods);
typedef enum {
SIGAR_FSTYPE_UNKNOWN,
SIGAR_FSTYPE_NONE,