diff options
author | Benoît Dejean <bdejean@gmail.com> | 2015-03-15 00:36:12 +0100 |
---|---|---|
committer | Benoît Dejean <bdejean@gmail.com> | 2015-07-10 20:36:12 +0200 |
commit | ee2ac6d5638d7e1caeaa03aba51ebf231947f593 (patch) | |
tree | 8d91a654c996c40af5ff1955fac39473a102b342 | |
parent | 4c0632ccbd6a548199715f86fb0279e8e8df2925 (diff) | |
download | libgtop-ee2ac6d5638d7e1caeaa03aba51ebf231947f593.tar.gz |
Add glibtop_get_shm_limits gtk-doc/gi tags.
-rw-r--r-- | include/glibtop/shm_limits.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/glibtop/shm_limits.h b/include/glibtop/shm_limits.h index 05499b56..3ddbb75e 100644 --- a/include/glibtop/shm_limits.h +++ b/include/glibtop/shm_limits.h @@ -37,6 +37,9 @@ G_BEGIN_DECLS typedef struct _glibtop_shm_limits glibtop_shm_limits; +/** + * glibtop_shm_limits: + */ struct _glibtop_shm_limits { guint64 flags; @@ -47,6 +50,10 @@ struct _glibtop_shm_limits guint64 shmall; /* GLIBTOP_IPC_SHMALL */ }; +/** + * glibtop_get_shm_limits: + * @buf: a #glibtop_shm_limits + */ void glibtop_get_shm_limits(glibtop_shm_limits *buf); #if GLIBTOP_SUID_SHM_LIMITS @@ -55,13 +62,28 @@ void glibtop_get_shm_limits(glibtop_shm_limits *buf); #define glibtop_get_shm_limits_r glibtop_get_shm_limits_s #endif +/** + * glibtop_get_shm_limits_l: + * @server: a #glibtop server + * @buf: a #glibtop_shm_limits + */ void glibtop_get_shm_limits_l (glibtop *server, glibtop_shm_limits *buf); #if GLIBTOP_SUID_SHM_LIMITS void _glibtop_init_shm_limits_p (glibtop *server); +/** + * glibtop_get_shm_limits_p: + * @server: a #glibtop server + * @buf: a #glibtop_shm_limits + */ void glibtop_get_shm_limits_p (glibtop *, glibtop_shm_limits *buf); #else void _glibtop_init_shm_limits_s (glibtop *server); +/** + * glibtop_get_shm_limits_s: + * @server: a #glibtop server + * @buf: a #glibtop_shm_limits + */ void glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf); #endif |