Typedef this as an opaque struct.
2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/glibtop-server.h (glibtop_closure): Typedef this as an opaque struct.
This commit is contained in:
committed by
Martin Baulig
parent
3f34aafc6e
commit
a3557112a7
@@ -1,6 +1,7 @@
|
||||
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||
|
||||
* include/glibtop/closure.h: New file.
|
||||
* include/glibtop/glibtop-server.h (glibtop_closure):
|
||||
Typedef this as an opaque struct.
|
||||
|
||||
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||
|
||||
|
@@ -11,7 +11,7 @@ glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
||||
netinfo.h interfaces.h limits.h array.h compat_10.h \
|
||||
glib-arrays.h call-vector.h \
|
||||
glibtop-client.h glibtop-server.h glibtop-backend.h \
|
||||
glibtop-backend-info.h errors.h closure.h
|
||||
glibtop-backend-info.h errors.h
|
||||
|
||||
BUILT_SOURCES = call-vector.h
|
||||
|
||||
|
@@ -28,13 +28,14 @@
|
||||
|
||||
#include <glibtop/global.h>
|
||||
#include <glibtop/sysdeps.h>
|
||||
#include <glibtop/closure.h>
|
||||
|
||||
BEGIN_LIBGTOP_DECLS
|
||||
|
||||
typedef struct _glibtop_server glibtop_server;
|
||||
typedef struct _glibtop_server_info glibtop_server_info;
|
||||
|
||||
typedef struct _glibtop_closure glibtop_closure;
|
||||
|
||||
typedef int (*glibtop_init_func_t) (glibtop_server *);
|
||||
|
||||
extern glibtop_init_func_t _glibtop_init_hook_s [];
|
||||
|
Reference in New Issue
Block a user