1999-12-12 Martin Baulig <martin@home-of-linux.org> All functions which return an array now take a `glibtop_array *array' parameter instead of a `glibtop_<feature> *buf' one. For compatibility, we typedef the corresponding `glibtop_<feature>'s to `glibtop_array' in <glibtop/compat_10.h>. This has the advantage that scripting languages like Guile with an array implementation which stores the length of an array in the array don't need the `glibtop_array' parameter at all any longer. We'll also add convenient functions which return GPtrArray's here. * include/glibtop/proclist.h (glibtop_proclist): Removed. (glibtop_get_proclist_*): This now takes a `glibtop_array' parameter instead of a `glibtop_proclist' one. * include/glibtop/procmap.h (glibtop_proc_map): Removed. (glibtop_get_proc_map_*): This now takes a `glibtop_array' parameter instead of a `glibtop_proc_map' one. * include/glibtop/mountlist.h (glibtop_mountlist): Removed. (glibtop_get_mountlist_*): This now takes a `glibtop_array' parameter instead of a `glibtop_mountlist' one. * include/glibtop/interfaces.h (glibtop_interface_names): Removed. (glibtop_get_interface_names_*): This now takes a `glibtop_array' parameter instead of a `glibtop_interface_name' one. * include/glibtop/compat_10.h: New file. Contains some typedefs and #defines to keep compatibility until the big restructurement is completely done.
12 lines
560 B
Makefile
12 lines
560 B
Makefile
glibtopdir = $(includedir)/glibtop
|
|
|
|
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
|
sem_limits.h uptime.h command.h mem.h proclist.h \
|
|
proctime.h shm_limits.h version.h cpu.h msg_limits.h \
|
|
procmem.h procuid.h swap.h write.h error.h open.h \
|
|
procsegment.h read.h sysdeps.h xmalloc.h global.h \
|
|
procsignal.h read_data.h union.h types.h gnuserv.h \
|
|
parameter.h mountlist.h fsusage.h procmap.h signal.h \
|
|
inodedb.h sysinfo.h ppp.h procargs.h netload.h \
|
|
netinfo.h interfaces.h limits.h array.h compat_10.h
|