added some new function suffixes: '__l' is a function defined in the
* sysdeps/linux/*.h: added some new function suffixes: '__l' is a function defined in the client part; '__s' is a function defined in the sysdeps part and '__p' is a function that needs special priviledges. '__r' is mapped either on '__l' or on '__s'. * sysdeps/linux/glibtop_server.h: New file - defines system dependent constants 'GLIBTOP_SUID_<feature>' being either 'GLIBTOP_SYSDEPS_<feature>'+1 depending upon whether or not this feature requires using the server. Things may now temporarily get instable; I'm currently implementing some suggestions Sebastian Wilhelmi has made.
This commit is contained in:
@@ -29,7 +29,8 @@ __BEGIN_DECLS
|
||||
|
||||
#define glibtop_read(p1, p2) glibtop_read(glibtop_global_server, p1, p2)
|
||||
|
||||
extern void glibtop_read__r __P((glibtop *, size_t, void *));
|
||||
extern void glibtop_read__l __P((glibtop *, size_t, void *));
|
||||
extern void glibtop_read__s __P((glibtop *, size_t, void *));
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user