Use G_BEGIN_DECLS and G_END_DECLS instead of LIBGTOP_BEGIN/END_DECLS.
2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/*.h: Use G_BEGIN_DECLS and G_END_DECLS instead of LIBGTOP_BEGIN/END_DECLS.
This commit is contained in:
committed by
Martin Baulig
parent
a3557112a7
commit
530cc00ae7
@@ -1,3 +1,8 @@
|
|||||||
|
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||||
|
|
||||||
|
* include/glibtop/*.h: Use G_BEGIN_DECLS and G_END_DECLS
|
||||||
|
instead of LIBGTOP_BEGIN/END_DECLS.
|
||||||
|
|
||||||
2001-04-20 Martin Baulig <baulig@suse.de>
|
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||||
|
|
||||||
* include/glibtop/glibtop-server.h (glibtop_closure):
|
* include/glibtop/glibtop-server.h (glibtop_closure):
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#include <glibtop/glibtop-client.h>
|
#include <glibtop/glibtop-client.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop glibtop;
|
typedef struct _glibtop glibtop;
|
||||||
|
|
||||||
@@ -55,6 +55,6 @@ glibtop_init_s (glibtop_server *server_ptr,
|
|||||||
unsigned long features,
|
unsigned long features,
|
||||||
unsigned flags);
|
unsigned flags);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_ARRAY_NUMBER 0
|
#define GLIBTOP_ARRAY_NUMBER 0
|
||||||
#define GLIBTOP_ARRAY_SIZE 1
|
#define GLIBTOP_ARRAY_SIZE 1
|
||||||
|
@@ -31,13 +31,13 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/union.h>
|
#include <glibtop/union.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
struct _glibtop_call_vector
|
struct _glibtop_call_vector
|
||||||
{
|
{
|
||||||
@@GLIBTOP_CALL_VECTOR@@
|
@@GLIBTOP_CALL_VECTOR@@
|
||||||
};
|
};
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,13 +28,13 @@
|
|||||||
|
|
||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
void glibtop_close_r (glibtop *server);
|
void glibtop_close_r (glibtop *server);
|
||||||
|
|
||||||
void glibtop_close_s (glibtop_server *server);
|
void glibtop_close_s (glibtop_server *server);
|
||||||
void glibtop_close_p (glibtop_server *server);
|
void glibtop_close_p (glibtop_server *server);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* glibtop_cpu */
|
/* glibtop_cpu */
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_CPU_TOTAL 0
|
#define GLIBTOP_CPU_TOTAL 0
|
||||||
#define GLIBTOP_CPU_USER 1
|
#define GLIBTOP_CPU_USER 1
|
||||||
@@ -93,6 +93,6 @@ extern const char *glibtop_descriptions_cpu [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
void glibtop_error_vr (glibtop_server *server, char *format, va_list args);
|
void glibtop_error_vr (glibtop_server *server, char *format, va_list args);
|
||||||
void glibtop_warn_vr (glibtop_server *server, char *format, va_list args);
|
void glibtop_warn_vr (glibtop_server *server, char *format, va_list args);
|
||||||
@@ -41,6 +41,6 @@ void glibtop_warn_r (glibtop_server *server, char *format, ...);
|
|||||||
void glibtop_error_io_r (glibtop_server *server, char *format, ...);
|
void glibtop_error_io_r (glibtop_server *server, char *format, ...);
|
||||||
void glibtop_warn_io_r (glibtop_server *server, char *format, ...);
|
void glibtop_warn_io_r (glibtop_server *server, char *format, ...);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include <gerror.h>
|
#include <gerror.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_ERROR glibtop_error_quark ()
|
#define GLIBTOP_ERROR glibtop_error_quark ()
|
||||||
|
|
||||||
@@ -90,6 +90,6 @@ void
|
|||||||
glibtop_warn_io_l (glibtop_client *client, glibtop_error code,
|
glibtop_warn_io_l (glibtop_client *client, glibtop_error code,
|
||||||
char *format, ...);
|
char *format, ...);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_FSUSAGE_BLOCKS 0
|
#define GLIBTOP_FSUSAGE_BLOCKS 0
|
||||||
#define GLIBTOP_FSUSAGE_BFREE 1
|
#define GLIBTOP_FSUSAGE_BFREE 1
|
||||||
@@ -65,6 +65,6 @@ extern const char *glibtop_descriptions_fsusage [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
GPtrArray *
|
GPtrArray *
|
||||||
glibtop_get_proc_args_as_array_l (glibtop_client *client, pid_t pid);
|
glibtop_get_proc_args_as_array_l (glibtop_client *client, pid_t pid);
|
||||||
@@ -46,5 +46,5 @@ glibtop_get_proc_map_as_array_l (glibtop_client *client, pid_t pid);
|
|||||||
GPtrArray *
|
GPtrArray *
|
||||||
glibtop_get_mountlist_as_array_l (glibtop_client *client, int all_fs);
|
glibtop_get_mountlist_as_array_l (glibtop_client *client, int all_fs);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
#endif
|
#endif
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <glibtop/glibtop-server.h>
|
#include <glibtop/glibtop-server.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_backend_info glibtop_backend_info;
|
typedef struct _glibtop_backend_info glibtop_backend_info;
|
||||||
typedef struct _glibtop_backend_entry glibtop_backend_entry;
|
typedef struct _glibtop_backend_entry glibtop_backend_entry;
|
||||||
@@ -97,6 +97,6 @@ glibtop_backend_by_name (const char *backend_name);
|
|||||||
void
|
void
|
||||||
glibtop_init_backends (void);
|
glibtop_init_backends (void);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <gobject/gobject.h>
|
#include <gobject/gobject.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_TYPE_BACKEND (glibtop_backend_get_type ())
|
#define GLIBTOP_TYPE_BACKEND (glibtop_backend_get_type ())
|
||||||
#define GLIBTOP_BACKEND(backend) (G_TYPE_CHECK_INSTANCE_CAST ((backend), GLIBTOP_TYPE_BACKEND, glibtop_backend))
|
#define GLIBTOP_BACKEND(backend) (G_TYPE_CHECK_INSTANCE_CAST ((backend), GLIBTOP_TYPE_BACKEND, glibtop_backend))
|
||||||
@@ -80,6 +80,6 @@ glibtop_backend_get_call_vector (glibtop_backend *backend);
|
|||||||
glibtop_server *
|
glibtop_server *
|
||||||
glibtop_backend_get_server (glibtop_backend *backend);
|
glibtop_backend_get_server (glibtop_backend *backend);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <glibtop/glibtop-backend.h>
|
#include <glibtop/glibtop-backend.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_TYPE_CLIENT (glibtop_client_get_type ())
|
#define GLIBTOP_TYPE_CLIENT (glibtop_client_get_type ())
|
||||||
#define GLIBTOP_CLIENT(client) (G_TYPE_CHECK_INSTANCE_CAST ((client), GLIBTOP_TYPE_CLIENT, glibtop_client))
|
#define GLIBTOP_CLIENT(client) (G_TYPE_CHECK_INSTANCE_CAST ((client), GLIBTOP_TYPE_CLIENT, glibtop_client))
|
||||||
@@ -91,6 +91,6 @@ void
|
|||||||
glibtop_client_remove_backend (glibtop_client *client,
|
glibtop_client_remove_backend (glibtop_client *client,
|
||||||
glibtop_backend *backend);
|
glibtop_backend *backend);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
#include <glibtop/sysdeps.h>
|
#include <glibtop/sysdeps.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_server glibtop_server;
|
typedef struct _glibtop_server glibtop_server;
|
||||||
typedef struct _glibtop_server_info glibtop_server_info;
|
typedef struct _glibtop_server_info glibtop_server_info;
|
||||||
@@ -70,6 +70,6 @@ glibtop_server_ref (glibtop_server *server);
|
|||||||
void
|
void
|
||||||
glibtop_server_unref (glibtop_server *server);
|
glibtop_server_unref (glibtop_server *server);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -30,40 +30,24 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
#include <stdio.h>
|
||||||
* All declarations are enclosed in BEGIN_LIBGTOP_DECLS and
|
#include <stdlib.h>
|
||||||
* END_LIBGTOP_DECLS so that C++ compilers don't mangle their names.
|
#include <sys/param.h>
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#undef BEGIN_LIBGTOP_DECLS
|
#include <stdarg.h>
|
||||||
#undef END_LIBGTOP_DECLS
|
|
||||||
#ifdef __cplusplus
|
#ifdef HAVE_UNISTD_H
|
||||||
# define BEGIN_LIBGTOP_DECLS extern "C" {
|
#include <unistd.h>
|
||||||
# define END_LIBGTOP_DECLS }
|
|
||||||
#else
|
|
||||||
# define BEGIN_LIBGTOP_DECLS /* empty */
|
|
||||||
# define END_LIBGTOP_DECLS /* empty */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _IN_LIBGTOP
|
#ifdef HAVE_MEMORY_H
|
||||||
|
#include <memory.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Provide macros to feature the GCC function attribute.
|
#include <string.h>
|
||||||
*/
|
#include <sys/types.h>
|
||||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
|
|
||||||
#define G_GNUC_NORETURN \
|
|
||||||
__attribute__((noreturn))
|
|
||||||
#define G_GNUC_CONST \
|
|
||||||
__attribute__((const))
|
|
||||||
#define G_GNUC_UNUSED \
|
|
||||||
__attribute__((unused))
|
|
||||||
#else /* !__GNUC__ */
|
|
||||||
#define G_GNUC_NORETURN
|
|
||||||
#define G_GNUC_CONST
|
|
||||||
#define G_GNUC_UNUSED
|
|
||||||
#endif /* !__GNUC__ */
|
|
||||||
|
|
||||||
#endif /* _IN_LIBGTOP */
|
#include <gmacros.h>
|
||||||
|
|
||||||
#if TIME_WITH_SYS_TIME
|
#if TIME_WITH_SYS_TIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
@@ -102,25 +86,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_MEMORY_H
|
|
||||||
#include <memory.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
#ifdef _IN_LIBGTOP
|
#ifdef _IN_LIBGTOP
|
||||||
|
|
||||||
#include <sys/param.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
@@ -131,7 +98,7 @@
|
|||||||
|
|
||||||
#ifdef _IN_LIBGTOP
|
#ifdef _IN_LIBGTOP
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
#define _(String) dgettext (LIBGTOP_PACKAGE, String)
|
#define _(String) dgettext (LIBGTOP_PACKAGE, String)
|
||||||
@@ -142,7 +109,7 @@ BEGIN_LIBGTOP_DECLS
|
|||||||
char *strerror (int errno);
|
char *strerror (int errno);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _IN_LIBGTOP */
|
#endif /* _IN_LIBGTOP */
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#define GLIBTOP_INODEDB_ALL 7
|
#define GLIBTOP_INODEDB_ALL 7
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_inodedb glibtop_inodedb;
|
typedef struct _glibtop_inodedb glibtop_inodedb;
|
||||||
|
|
||||||
@@ -60,6 +60,6 @@ glibtop_inodedb_lookup_s (glibtop_server *server,
|
|||||||
void
|
void
|
||||||
glibtop_inodedb_close_s (glibtop_server *server, glibtop_closure *closure, glibtop_inodedb *inodedb);
|
glibtop_inodedb_close_s (glibtop_server *server, glibtop_closure *closure, glibtop_inodedb *inodedb);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <glibtop/compat_10.h>
|
#include <glibtop/compat_10.h>
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_INTERFACE_IF_FLAGS 0
|
#define GLIBTOP_INTERFACE_IF_FLAGS 0
|
||||||
#define GLIBTOP_INTERFACE_TRANSPORT 1
|
#define GLIBTOP_INTERFACE_TRANSPORT 1
|
||||||
@@ -198,6 +198,6 @@ extern const char *glibtop_descriptions_interface_names [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* Nobody should really be using more than 64 processors. */
|
/* Nobody should really be using more than 64 processors. */
|
||||||
#define GLIBTOP_NCPU 64
|
#define GLIBTOP_NCPU 64
|
||||||
@@ -51,6 +51,6 @@ BEGIN_LIBGTOP_DECLS
|
|||||||
/* Maximum length of a backend name. */
|
/* Maximum length of a backend name. */
|
||||||
#define GLIBTOP_BACKEND_NAME_LEN 40
|
#define GLIBTOP_BACKEND_NAME_LEN 40
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_LOADAVG_LOADAVG 0
|
#define GLIBTOP_LOADAVG_LOADAVG 0
|
||||||
#define GLIBTOP_LOADAVG_NR_RUNNING 1
|
#define GLIBTOP_LOADAVG_NR_RUNNING 1
|
||||||
@@ -76,6 +76,6 @@ extern const char *glibtop_descriptions_loadavg [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_MEM_TOTAL 0
|
#define GLIBTOP_MEM_TOTAL 0
|
||||||
#define GLIBTOP_MEM_USED 1
|
#define GLIBTOP_MEM_USED 1
|
||||||
@@ -84,6 +84,6 @@ extern const char *glibtop_descriptions_mem [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <glibtop/compat_10.h>
|
#include <glibtop/compat_10.h>
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_mountentry glibtop_mountentry;
|
typedef struct _glibtop_mountentry glibtop_mountentry;
|
||||||
|
|
||||||
@@ -63,6 +63,6 @@ extern const char *glibtop_descriptions_mountlist [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_MSG_LIMITS_MSGPOOL 0
|
#define GLIBTOP_MSG_LIMITS_MSGPOOL 0
|
||||||
#define GLIBTOP_MSG_LIMITS_MSGMAP 1
|
#define GLIBTOP_MSG_LIMITS_MSGMAP 1
|
||||||
@@ -82,7 +82,7 @@ extern const char *glibtop_descriptions_msg_limits [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_NETINFO_IF_FLAGS 0
|
#define GLIBTOP_NETINFO_IF_FLAGS 0
|
||||||
#define GLIBTOP_NETINFO_TRANSPORT 1
|
#define GLIBTOP_NETINFO_TRANSPORT 1
|
||||||
@@ -78,6 +78,6 @@ extern const char *glibtop_descriptions_netinfo [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_NETLOAD_PACKETS_IN 0
|
#define GLIBTOP_NETLOAD_PACKETS_IN 0
|
||||||
#define GLIBTOP_NETLOAD_PACKETS_OUT 1
|
#define GLIBTOP_NETLOAD_PACKETS_OUT 1
|
||||||
@@ -90,6 +90,6 @@ extern const char *glibtop_descriptions_netload [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define _GLIBTOP_INIT_STATE_INIT 0x10000
|
#define _GLIBTOP_INIT_STATE_INIT 0x10000
|
||||||
#define _GLIBTOP_INIT_STATE_OPEN 0x20000
|
#define _GLIBTOP_INIT_STATE_OPEN 0x20000
|
||||||
@@ -76,6 +76,6 @@ _glibtop_open_sysdeps (glibtop_client *client, const char *program_name,
|
|||||||
|
|
||||||
#endif /* _IN_LIBGTOP */
|
#endif /* _IN_LIBGTOP */
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/open.h>
|
#include <glibtop/open.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PARAM_ERROR_METHOD 1
|
#define GLIBTOP_PARAM_ERROR_METHOD 1
|
||||||
#define GLIBTOP_PARAM_FEATURES 2
|
#define GLIBTOP_PARAM_FEATURES 2
|
||||||
@@ -60,6 +60,6 @@ int
|
|||||||
glibtop_set_parameter_l (glibtop *server, const unsigned parameter,
|
glibtop_set_parameter_l (glibtop *server, const unsigned parameter,
|
||||||
const void *data_ptr, size_t data_size);
|
const void *data_ptr, size_t data_size);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PPP_STATE 0
|
#define GLIBTOP_PPP_STATE 0
|
||||||
#define GLIBTOP_PPP_BYTES_IN 1
|
#define GLIBTOP_PPP_BYTES_IN 1
|
||||||
@@ -80,6 +80,6 @@ extern const char *glibtop_descriptions_ppp [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <glibtop/compat_10.h>
|
#include <glibtop/compat_10.h>
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_ARGS
|
#if GLIBTOP_SUID_PROC_ARGS
|
||||||
#define glibtop_get_proc_args_r glibtop_get_proc_args_p
|
#define glibtop_get_proc_args_r glibtop_get_proc_args_p
|
||||||
@@ -66,6 +66,6 @@ extern const char *glibtop_descriptions_proc_args [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_CWD_SIZE 0
|
#define GLIBTOP_PROC_CWD_SIZE 0
|
||||||
#define GLIBTOP_PROC_CWD_DEVICE 1
|
#define GLIBTOP_PROC_CWD_DEVICE 1
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_KERNEL_K_FLAGS 0
|
#define GLIBTOP_PROC_KERNEL_K_FLAGS 0
|
||||||
#define GLIBTOP_PROC_KERNEL_MIN_FLT 1
|
#define GLIBTOP_PROC_KERNEL_MIN_FLT 1
|
||||||
@@ -104,6 +104,6 @@ extern const char *glibtop_descriptions_proc_kernel [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <glibtop/compat_10.h>
|
#include <glibtop/compat_10.h>
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* You can use the folowing constants as the `which' member of
|
/* You can use the folowing constants as the `which' member of
|
||||||
* glibtop_get_proclist () to specify which processes to fetch. */
|
* glibtop_get_proclist () to specify which processes to fetch. */
|
||||||
@@ -87,6 +87,6 @@ extern const char *glibtop_descriptions_proclist [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <glibtop/compat_10.h>
|
#include <glibtop/compat_10.h>
|
||||||
#include <glibtop/array.h>
|
#include <glibtop/array.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_MAP_ENTRY_START 1
|
#define GLIBTOP_MAP_ENTRY_START 1
|
||||||
#define GLIBTOP_MAP_ENTRY_END 2
|
#define GLIBTOP_MAP_ENTRY_END 2
|
||||||
@@ -92,6 +92,6 @@ extern const char *glibtop_descriptions_proc_map [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_MEM_SIZE 0
|
#define GLIBTOP_PROC_MEM_SIZE 0
|
||||||
#define GLIBTOP_PROC_MEM_VSIZE 1
|
#define GLIBTOP_PROC_MEM_VSIZE 1
|
||||||
@@ -84,6 +84,6 @@ extern const char *glibtop_descriptions_proc_mem [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_SEGMENT_TEXT_RSS 0
|
#define GLIBTOP_PROC_SEGMENT_TEXT_RSS 0
|
||||||
#define GLIBTOP_PROC_SEGMENT_SHLIB_RSS 1
|
#define GLIBTOP_PROC_SEGMENT_SHLIB_RSS 1
|
||||||
@@ -104,6 +104,6 @@ extern const char *glibtop_descriptions_proc_segment [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_SIGNAL_SIGNAL 0
|
#define GLIBTOP_PROC_SIGNAL_SIGNAL 0
|
||||||
#define GLIBTOP_PROC_SIGNAL_BLOCKED 1
|
#define GLIBTOP_PROC_SIGNAL_BLOCKED 1
|
||||||
@@ -78,6 +78,6 @@ extern const char *glibtop_descriptions_proc_signal [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_STATE_CMD 0
|
#define GLIBTOP_PROC_STATE_CMD 0
|
||||||
#define GLIBTOP_PROC_STATE_STATE 1
|
#define GLIBTOP_PROC_STATE_STATE 1
|
||||||
@@ -104,6 +104,6 @@ extern const char *glibtop_descriptions_proc_state [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
#include <glibtop/cpu.h>
|
#include <glibtop/cpu.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_TIME_START_TIME 0
|
#define GLIBTOP_PROC_TIME_START_TIME 0
|
||||||
#define GLIBTOP_PROC_TIME_RTIME 1
|
#define GLIBTOP_PROC_TIME_RTIME 1
|
||||||
@@ -101,6 +101,6 @@ extern const char *glibtop_descriptions_proc_time [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_PROC_UID_UID 0
|
#define GLIBTOP_PROC_UID_UID 0
|
||||||
#define GLIBTOP_PROC_UID_EUID 1
|
#define GLIBTOP_PROC_UID_EUID 1
|
||||||
@@ -106,6 +106,6 @@ extern const char *glibtop_descriptions_proc_uid [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_SEM_LIMITS_SEMMAP 0
|
#define GLIBTOP_SEM_LIMITS_SEMMAP 0
|
||||||
#define GLIBTOP_SEM_LIMITS_SEMMNI 1
|
#define GLIBTOP_SEM_LIMITS_SEMMNI 1
|
||||||
@@ -88,6 +88,6 @@ extern const char *glibtop_descriptions_sem_limits [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_SHM_LIMITS_SHMMAX 0
|
#define GLIBTOP_SHM_LIMITS_SHMMAX 0
|
||||||
#define GLIBTOP_SHM_LIMITS_SHMMIN 1
|
#define GLIBTOP_SHM_LIMITS_SHMMIN 1
|
||||||
@@ -78,6 +78,6 @@ extern const char *glibtop_descriptions_shm_limits [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include <sys/signal.h>
|
#include <sys/signal.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_signame glibtop_signame;
|
typedef struct _glibtop_signame glibtop_signame;
|
||||||
|
|
||||||
@@ -44,6 +44,6 @@ struct _glibtop_signame
|
|||||||
|
|
||||||
extern const glibtop_signame glibtop_sys_siglist [];
|
extern const glibtop_signame glibtop_sys_siglist [];
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_SWAP_TOTAL 0
|
#define GLIBTOP_SWAP_TOTAL 0
|
||||||
#define GLIBTOP_SWAP_USED 1
|
#define GLIBTOP_SWAP_USED 1
|
||||||
@@ -78,6 +78,6 @@ extern const char *glibtop_descriptions_swap [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_SYSDEPS_CPU 0
|
#define GLIBTOP_SYSDEPS_CPU 0
|
||||||
#define GLIBTOP_SYSDEPS_MEM 1
|
#define GLIBTOP_SYSDEPS_MEM 1
|
||||||
@@ -105,6 +105,6 @@ extern const char *glibtop_descriptions_sysdeps [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_SYSINFO_CPUINFO 0
|
#define GLIBTOP_SYSINFO_CPUINFO 0
|
||||||
|
|
||||||
@@ -59,6 +59,6 @@ struct _glibtop_sysinfo
|
|||||||
|
|
||||||
glibtop_sysinfo *glibtop_get_sysinfo_s (glibtop_server *server);
|
glibtop_sysinfo *glibtop_get_sysinfo_s (glibtop_server *server);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#ifndef __GLIBTOP_TYPES_H__
|
#ifndef __GLIBTOP_TYPES_H__
|
||||||
#define __GLIBTOP_TYPES_H__
|
#define __GLIBTOP_TYPES_H__
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_TYPE_LONG 1
|
#define GLIBTOP_TYPE_LONG 1
|
||||||
#define GLIBTOP_TYPE_ULONG 2
|
#define GLIBTOP_TYPE_ULONG 2
|
||||||
@@ -36,6 +36,6 @@ BEGIN_LIBGTOP_DECLS
|
|||||||
#define GLIBTOP_TYPE_CHAR 6
|
#define GLIBTOP_TYPE_CHAR 6
|
||||||
#define GLIBTOP_TYPE_STRING 7
|
#define GLIBTOP_TYPE_STRING 7
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -56,7 +56,7 @@
|
|||||||
#include <glibtop/interfaces.h>
|
#include <glibtop/interfaces.h>
|
||||||
#include <glibtop/ppp.h>
|
#include <glibtop/ppp.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef union _glibtop_union glibtop_union;
|
typedef union _glibtop_union glibtop_union;
|
||||||
|
|
||||||
@@ -89,6 +89,6 @@ union _glibtop_union
|
|||||||
glibtop_ppp ppp;
|
glibtop_ppp ppp;
|
||||||
};
|
};
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/global.h>
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GLIBTOP_UPTIME_UPTIME 0
|
#define GLIBTOP_UPTIME_UPTIME 0
|
||||||
#define GLIBTOP_UPTIME_IDLETIME 1
|
#define GLIBTOP_UPTIME_IDLETIME 1
|
||||||
@@ -74,6 +74,6 @@ extern const char *glibtop_descriptions_uptime [];
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <glibtop.h>
|
#include <glibtop.h>
|
||||||
#include <glibtop/error.h>
|
#include <glibtop/error.h>
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
void *glibtop_malloc_r (glibtop_server *server, size_t size);
|
void *glibtop_malloc_r (glibtop_server *server, size_t size);
|
||||||
void *glibtop_calloc_r (glibtop_server *server, size_t nmemb, size_t size);
|
void *glibtop_calloc_r (glibtop_server *server, size_t nmemb, size_t size);
|
||||||
@@ -37,6 +37,6 @@ void *glibtop_realloc_r (glibtop_server *server, void *ptr, size_t size);
|
|||||||
char *glibtop_strdup_r (glibtop_server *server, const char *string);
|
char *glibtop_strdup_r (glibtop_server *server, const char *string);
|
||||||
void glibtop_free_r (glibtop_server *server, const void *ptr);
|
void glibtop_free_r (glibtop_server *server, const void *ptr);
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user