Moved the typedef to backend.h.
2000-11-26 Martin Baulig <martin@home-of-linux.org> * include/glibtop/call-vector.h (glibtop_call_vector): Moved the typedef to backend.h. * include/glibtop/backend.h (glibtop_open_backend_l): Renamed to glibtop_open_backend(), removed the `glibtop_client *' argument and made the `GError *' argument non-optional. * include/glibtop/glibtop-client.h (glibtop_client_add_backend, glibtop_client_remove_backend): New functions to add/remove a glibtop_backend to a glibtop_client. (glibtop_client_open_backend): New convenient function; calls glibtop_open_backend() and glibtop_client_add_backend().
This commit is contained in:
committed by
Martin Baulig
parent
6e4f80b8e2
commit
dfd678599f
@@ -69,10 +69,10 @@ _glibtop_open_sysdeps (glibtop_client *client, const char *program_name,
|
||||
const u_int64_t features, const char **backend_args,
|
||||
GError **opt_error)
|
||||
{
|
||||
glibtop_open_backend_l (client, "glibtop-backend-kernel",
|
||||
features, backend_args, opt_error);
|
||||
glibtop_open_backend_l (client, "glibtop-backend-common",
|
||||
features, backend_args, opt_error);
|
||||
glibtop_open_backend_l (client, "glibtop-backend-sysdeps",
|
||||
features, backend_args, opt_error);
|
||||
glibtop_client_open_backend (client, "glibtop-backend-kernel",
|
||||
features, backend_args);
|
||||
glibtop_client_open_backend (client, "glibtop-backend-common",
|
||||
features, backend_args);
|
||||
glibtop_client_open_backend (client, "glibtop-backend-sysdeps",
|
||||
features, backend_args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user