diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-05-20 01:32:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-20 02:09:32 +0200 |
commit | bfad32422f1f78bce4de1e88a4afb5cc295bb877 (patch) | |
tree | 6c5a5eaa9b653c0b52ad897fb9da727f5c510973 /dbus/dbus-connection.h | |
parent | ec901d786f6de6e6f870279e2d955f491619c559 (diff) |
unix-fd: add logic to count unix fds the same way as allocated memory
This make all counters count both bytes of memory and unix fds.
Diffstat (limited to 'dbus/dbus-connection.h')
-rw-r--r-- | dbus/dbus-connection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dbus/dbus-connection.h b/dbus/dbus-connection.h index c9b9aa34..3facc873 100644 --- a/dbus/dbus-connection.h +++ b/dbus/dbus-connection.h @@ -281,7 +281,16 @@ long dbus_connection_get_max_message_size (DBusConnection *connection); void dbus_connection_set_max_received_size (DBusConnection *connection, long size); long dbus_connection_get_max_received_size (DBusConnection *connection); + +void dbus_connection_set_max_message_unix_fds (DBusConnection *connection, + long n); +long dbus_connection_get_max_message_unix_fds (DBusConnection *connection); +void dbus_connection_set_max_received_unix_fds(DBusConnection *connection, + long n); +long dbus_connection_get_max_received_unix_fds(DBusConnection *connection); + long dbus_connection_get_outgoing_size (DBusConnection *connection); +long dbus_connection_get_outgoing_unix_fds (DBusConnection *connection); DBusPreallocatedSend* dbus_connection_preallocate_send (DBusConnection *connection); void dbus_connection_free_preallocated_send (DBusConnection *connection, |