Fix a bunch of doc tags for GI.

This commit is contained in:
Benoît Dejean
2015-08-25 22:32:06 +02:00
parent 99ff3d4dff
commit e528a7280b
6 changed files with 29 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ struct _glibtop_mountlist
/** /**
* glibtop_get_mountlist: * glibtop_get_mountlist:
* @buf: (out): * @buf:
* @all_fs: * @all_fs:
* *
* Returns: (transfer full): * Returns: (transfer full):

View File

@@ -79,6 +79,15 @@ char **
glibtop_get_proc_argv_l (glibtop *server, glibtop_proc_args *buf, glibtop_get_proc_argv_l (glibtop *server, glibtop_proc_args *buf,
pid_t pid, unsigned max_len); pid_t pid, unsigned max_len);
/**
* glibtop_get_proc_argv:
* @buf:
* @pid:
* @max_len:
*
* Returns: (transfer full):
*/
char ** char **
glibtop_get_proc_argv (glibtop_proc_args *buf, pid_t pid, unsigned max_len); glibtop_get_proc_argv (glibtop_proc_args *buf, pid_t pid, unsigned max_len);

View File

@@ -92,17 +92,18 @@ struct _glibtop_proc_map
guint64 total; /* GLIBTOP_PROC_MAP_TOTAL */ guint64 total; /* GLIBTOP_PROC_MAP_TOTAL */
guint64 size; /* GLIBTOP_PROC_MAP_SIZE */ guint64 size; /* GLIBTOP_PROC_MAP_SIZE */
}; };
glibtop_map_entry *
glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid);
/** /**
* glibtop_get_proc_map: * glibtop_get_proc_map:
* @buf: (out): * @buf:
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer none):
*/ */
glibtop_map_entry *
glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid);
/** /**
* glibtop_get_proc_map_l: * glibtop_get_proc_map_l:

View File

@@ -53,6 +53,12 @@ struct _glibtop_proc_mem
* of the process; usually 2,147,483,647 */ * of the process; usually 2,147,483,647 */
}; };
/**
* glibtop_get_proc_map:
* @buf:
* @pid:
*
*/
void glibtop_get_proc_mem(glibtop_proc_mem *buf, pid_t pid); void glibtop_get_proc_mem(glibtop_proc_mem *buf, pid_t pid);
#if GLIBTOP_SUID_PROC_MEM #if GLIBTOP_SUID_PROC_MEM

View File

@@ -96,7 +96,7 @@ struct _glibtop_proc_open_files
/** /**
* glibtop_get_proc_open_files: * glibtop_get_proc_open_files:
* @buf: (out): * @buf:
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer none):

View File

@@ -44,6 +44,13 @@ struct _glibtop_proc_wd
}; };
/**
* glibtop_get_proc_wd:
* @buf:
* @pid:
*
* Returns: (transfer full):
*/
char ** glibtop_get_proc_wd(glibtop_proc_wd *buf, pid_t pid); char ** glibtop_get_proc_wd(glibtop_proc_wd *buf, pid_t pid);
char ** glibtop_get_proc_wd_l(glibtop *server, glibtop_proc_wd *buf, pid_t pid); char ** glibtop_get_proc_wd_l(glibtop *server, glibtop_proc_wd *buf, pid_t pid);