diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-05-28 19:22:48 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-05-28 19:22:48 +0000 |
commit | 7dd0c2eac345fadf459420615edc62c382e0fd89 (patch) | |
tree | 75dd7cdbc78b1c07ea36b1c72fda5ce1b318fdcb /lib/command.c | |
parent | 62dda3b78280719d39640db4972706bba8740695 (diff) | |
download | libgtop-7dd0c2eac345fadf459420615edc62c382e0fd89.tar.gz |
renamed all functions that implementing features to '__l'; we only emit
* lib/*.c: renamed all functions that implementing features
to '__l'; we only emit code for those functions if the
corresponding 'GLIBTOP_SUID_<feature>' has a positive value.
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/command.c b/lib/command.c index 03df4375..eb74183b 100644 --- a/lib/command.c +++ b/lib/command.c @@ -27,7 +27,7 @@ #include <glibtop/xmalloc.h> void * -glibtop_call__r (glibtop *server, unsigned command, size_t send_size, void *send_buf, +glibtop_call__l (glibtop *server, unsigned command, size_t send_size, void *send_buf, size_t recv_size, void *recv_buf) { glibtop_command *cmnd; @@ -42,11 +42,11 @@ glibtop_call__r (glibtop *server, unsigned command, size_t send_size, void *send cmnd->command = command; cmnd->size = send_size; - glibtop_write__r (server, sizeof (glibtop_command), cmnd); - glibtop_write__r (server, send_size, send_buf); - glibtop_read__r (server, recv_size, recv_buf); + glibtop_write__l (server, sizeof (glibtop_command), cmnd); + glibtop_write__l (server, send_size, send_buf); + glibtop_read__l (server, recv_size, recv_buf); - ptr = glibtop_read_data__r (server); + ptr = glibtop_read_data__l (server); glibtop_free__r (server, cmnd); |