Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get
2007-04-11 Benoît Dejean <benoit@placenet.org> * *: Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get internal visibility. * configure.in: Bumped version number. svn path=/trunk/; revision=2569
This commit is contained in:
committed by
Benoît Dejean
parent
e0c1214cdd
commit
aa9fafe5c3
@@ -43,7 +43,7 @@ static const unsigned long _glibtop_sysdeps_cpu_all =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_cpu_s (glibtop *server)
|
||||
_glibtop_init_cpu_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.cpu = _glibtop_sysdeps_cpu_all;
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysdeps_loadavg =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_loadavg_s (glibtop *server)
|
||||
_glibtop_init_loadavg_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.loadavg = _glibtop_sysdeps_loadavg;
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_mem_s (glibtop *server)
|
||||
_glibtop_init_mem_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.mem = (1L << GLIBTOP_MEM_TOTAL)
|
||||
| (1L << GLIBTOP_MEM_FREE)
|
||||
|
@@ -44,7 +44,7 @@ static const unsigned long _glibtop_sysdeps_msg_limits = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_msg_limits_p (glibtop *server)
|
||||
_glibtop_init_msg_limits_p (glibtop *server)
|
||||
{
|
||||
#if GLIBTOP_SOLARIS_RELEASE < 51000
|
||||
|
||||
|
@@ -30,7 +30,7 @@ static const unsigned long _glibtop_sysdeps_netlist = (1 << GLIBTOP_NETLIST_NUMB
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_netlist_s (glibtop *server)
|
||||
_glibtop_init_netlist_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.netlist = _glibtop_sysdeps_netlist;
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ static const unsigned long _glibtop_sysdeps_netload = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_netload_s (glibtop *server)
|
||||
_glibtop_init_netload_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.netload = _glibtop_sysdeps_netload;
|
||||
}
|
||||
|
@@ -35,7 +35,7 @@ void
|
||||
glibtop_init_p (glibtop *server, const unsigned long features,
|
||||
const unsigned flags)
|
||||
{
|
||||
const glibtop_init_func_t *init_fkt;
|
||||
const _glibtop_init_func_t *init_fkt;
|
||||
|
||||
if (server == NULL)
|
||||
glibtop_error_r (NULL, "glibtop_init_p (server == NULL)");
|
||||
|
@@ -29,7 +29,7 @@ static const unsigned long _glibtop_sysdeps_ppp = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_ppp_s (glibtop *server)
|
||||
_glibtop_init_ppp_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.ppp = _glibtop_sysdeps_ppp;
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ static const unsigned long _glibtop_sysdeps_proc_args =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_args_s (glibtop *server)
|
||||
_glibtop_init_proc_args_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_args = _glibtop_sysdeps_proc_args;
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ static const unsigned long _glibtop_sysdeps_proc_kernel = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_kernel_s (glibtop *server)
|
||||
_glibtop_init_proc_kernel_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_kernel = _glibtop_sysdeps_proc_kernel;
|
||||
}
|
||||
|
@@ -40,7 +40,7 @@ static const unsigned long _glibtop_sysdeps_proclist =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proclist_s (glibtop *server)
|
||||
_glibtop_init_proclist_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proclist = _glibtop_sysdeps_proclist;
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@ static const unsigned long _glibtop_sysdeps_map_device =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_map_s (glibtop *server)
|
||||
_glibtop_init_proc_map_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_map = _glibtop_sysdeps_proc_map;
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ static const unsigned long _glibtop_sysdeps_proc_mem =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_mem_s (glibtop *server)
|
||||
_glibtop_init_proc_mem_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_mem = _glibtop_sysdeps_proc_mem;
|
||||
}
|
||||
|
@@ -40,7 +40,7 @@ static const unsigned long _glibtop_sysdeps_proc_open_files =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_open_files_s (glibtop *server)
|
||||
_glibtop_init_proc_open_files_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_open_files = _glibtop_sysdeps_proc_open_files;
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ static const unsigned long _glibtop_sysdeps_proc_segment = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_segment_s (glibtop *server)
|
||||
_glibtop_init_proc_segment_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_segment = _glibtop_sysdeps_proc_segment;
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@ static const unsigned long _glibtop_sysdeps_proc_signal =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_signal_s (glibtop *server)
|
||||
_glibtop_init_proc_signal_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_signal = _glibtop_sysdeps_proc_signal;
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysdeps_proc_state =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_state_s (glibtop *server)
|
||||
_glibtop_init_proc_state_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_state = _glibtop_sysdeps_proc_state;
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ static const unsigned long _glibtop_sysdeps_proc_time =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_time_s (glibtop *server)
|
||||
_glibtop_init_proc_time_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_time = _glibtop_sysdeps_proc_time;
|
||||
}
|
||||
|
@@ -45,7 +45,7 @@ static const unsigned long _glibtop_sysdeps_proc_uid_prcred =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_proc_uid_s (glibtop *server)
|
||||
_glibtop_init_proc_uid_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.proc_uid = _glibtop_sysdeps_proc_uid_psinfo +
|
||||
_glibtop_sysdeps_proc_uid_prcred;
|
||||
|
@@ -46,7 +46,7 @@ static const unsigned long _glibtop_sysdeps_sem_limits = 0;
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_sem_limits_p (glibtop *server)
|
||||
_glibtop_init_sem_limits_p (glibtop *server)
|
||||
{
|
||||
#if GLIBTOP_SOLARIS_RELEASE < 51000
|
||||
|
||||
|
@@ -46,7 +46,7 @@ static const unsigned long _glibtop_sysdeps_shm_limits =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_shm_limits_p (glibtop *server)
|
||||
_glibtop_init_shm_limits_p (glibtop *server)
|
||||
{
|
||||
#if GLIBTOP_SOLARIS_RELEASE < 51000
|
||||
|
||||
|
@@ -36,7 +36,7 @@ static const unsigned long _glibtop_sysdeps_swap =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_swap_s (glibtop *server)
|
||||
_glibtop_init_swap_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.swap = _glibtop_sysdeps_swap;
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ static const unsigned long _glibtop_sysdeps_uptime =
|
||||
/* Init function. */
|
||||
|
||||
void
|
||||
glibtop_init_uptime_s (glibtop *server)
|
||||
_glibtop_init_uptime_s (glibtop *server)
|
||||
{
|
||||
server->sysdeps.uptime = _glibtop_sysdeps_uptime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user