Removed this typedef. (glibtop_server): Made the _priv' field a
void *'.
2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/glibtop-server.h (glibtop_server_private): Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'.
This commit is contained in:
committed by
Martin Baulig
parent
f4fc67f85c
commit
c5fcc9aad6
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||
|
||||
* include/glibtop/glibtop-server.h
|
||||
(glibtop_server_private): Removed this typedef.
|
||||
(glibtop_server): Made the `_priv' field a `void *'.
|
||||
|
||||
* glibtop-server-private.h: Moved to lib/.
|
||||
|
||||
* lib/glibtop-server-private.h
|
||||
(glibtop_server_private): Moved this typedef here.
|
||||
|
||||
2001-04-20 Martin Baulig <baulig@suse.de>
|
||||
|
||||
* include/glibtop/*.h (glibtop_get_*_s, glibtop_get_*_pl):
|
||||
|
@@ -1,12 +1,10 @@
|
||||
## Process this file with automake to produce Makefile.in.
|
||||
|
||||
SUBDIRS = po intl misc include lib sysdeps backends src doc dtd scripts
|
||||
SUBDIRS = po intl misc include lib src doc dtd scripts
|
||||
|
||||
include_HEADERS = glibtop.h
|
||||
configincludedir = $(pkglibdir)/include
|
||||
|
||||
noinst_HEADERS = glibtop-server-private.h
|
||||
|
||||
EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt libgtopConf.sh.in \
|
||||
LIBGTOP-VERSION features.def structures.def libgtop-config.in \
|
||||
RELNOTES-0.25 RELNOTES-1.0 RELNOTES-1.1.x libgtop-sysdeps.m4 README \
|
||||
|
@@ -33,7 +33,6 @@ BEGIN_LIBGTOP_DECLS
|
||||
|
||||
typedef struct _glibtop_server glibtop_server;
|
||||
typedef struct _glibtop_server_info glibtop_server_info;
|
||||
typedef struct _glibtop_server_private glibtop_server_private;
|
||||
|
||||
typedef int (*glibtop_init_func_t) (glibtop_server *);
|
||||
|
||||
@@ -57,7 +56,7 @@ struct _glibtop_server
|
||||
unsigned flags;
|
||||
const char *name;
|
||||
|
||||
glibtop_server_private *_priv;
|
||||
void *_priv;
|
||||
};
|
||||
|
||||
glibtop_server *
|
||||
|
@@ -11,6 +11,7 @@ noinst_LTLIBRARIES = libgtop_server.la
|
||||
libgtop_la_SOURCES = errors.c glibtop-backend-info.c \
|
||||
glibtop-client.c glibtop-server.c \
|
||||
glibtop-backend.c glibtop-client-private.h \
|
||||
glibtop-server-private.h \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
libgtop_server_la_SOURCES = error.c xmalloc.c
|
||||
|
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop-server-private.h>
|
||||
|
||||
glibtop_server *
|
||||
glibtop_server_new (void)
|
||||
|
@@ -54,7 +54,7 @@ main (int argc, char *argv [])
|
||||
if (backend_common != NULL)
|
||||
glibtop_client_add_backend (client, backend_common);
|
||||
|
||||
backend_sysdeps = glibtop_backend_get ("glibtop-backend-sysdeps",
|
||||
backend_sysdeps = glibtop_backend_get ("glibtop-backend-sysdeps-stub",
|
||||
0, NULL, &error);
|
||||
|
||||
if (error != NULL) {
|
||||
|
Reference in New Issue
Block a user