Rename library and use proper versioning

Previously the version of libproc always tracked the version of procps.
This doesn't work when other non-procps programs link to the library as
they are always playing catch up.

This change makes the library version independent of the procps version.
It will only be incremented when needed.
This commit is contained in:
Craig Small
2011-12-17 22:35:05 +11:00
parent 5a991f0444
commit 38763ede40
7 changed files with 22 additions and 17 deletions

81
proc/libprocfs.sym Normal file
View File

@@ -0,0 +1,81 @@
LIBPROC_NG_3_3_0 {
global:
Hertz;
__cyg_profile_func_enter;
__cyg_profile_func_exit;
closeproc;
cpuinfo;
dev_to_tty;
display_version;
escape_command;
escape_str;
escape_strlist;
escaped_copy;
free_slabinfo;
freeproc;
get_pid_digits;
get_proc_stats;
get_slabinfo;
getbtime;
getdiskstat;
getpartitions_num;
getslabinfo;
getstat;
have_privs;
kb_active;
kb_high_free;
kb_high_total;
kb_inactive;
kb_low_free;
kb_low_total;
kb_main_buffers;
kb_main_cached;
kb_main_free;
kb_main_shared;
kb_main_total;
kb_main_used;
kb_swap_free;
kb_swap_total;
kb_swap_used;
linux_version_code;
loadavg;
look_up_our_self;
lookup_wchan;
main;
meminfo;
open_psdb;
open_psdb_message;
openproc;
pretty_print_signals;
print_given_signals;
print_uptime;
procps_version;
put_slabinfo;
read_cmdline;
readeither;
readproc;
readproctab2;
readproctab3;
readproctab;
readtask;
signal_name_to_number;
signal_number_to_name;
smp_num_cpus;
sprint_uptime;
tty_to_dev;
unix_print_signals;
uptime;
user_from_uid;
vm_pgpgin;
vm_pgpgout;
vm_pswpin;
vm_pswpout;
vminfo;
xalloc_err_handler;
xcalloc;
xmalloc;
xrealloc;
xstrdup;
local:
*;
};