New function.

2000-11-26  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/glibtop-backend.h
	(glibtop_backend_get_call_vector): New function.

	* lib/glibtop-client-private.h: New file.
	* lib/glibtop-client.h (struct _glibtop_client_private): Moved
	to glibtop-client-private.h.
This commit is contained in:
Martin Baulig
2000-11-26 19:04:15 +00:00
committed by Martin Baulig
parent 98930be564
commit 4befe086c4
6 changed files with 59 additions and 8 deletions

View File

@@ -230,3 +230,13 @@ glibtop_backend_open (const char *backend_name, u_int64_t features,
return backend;
}
glibtop_call_vector *
glibtop_backend_get_call_vector (glibtop_backend *backend)
{
g_return_val_if_fail (GLIBTOP_IS_BACKEND (backend), NULL);
g_assert (backend->_priv->info != NULL);
return backend->_priv->info->call_vector;
}