diff options
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -41,6 +41,19 @@ typedef struct BusRegistry BusRegistry; typedef struct BusService BusService; typedef struct BusTransaction BusTransaction; + +typedef struct +{ + long max_incoming_bytes; /**< How many incoming messages for a connection */ + long max_outgoing_bytes; /**< How many outgoing bytes can be queued for a connection */ + long max_message_size; /**< Max size of a single message in bytes */ + int activation_timeout; /**< How long to wait for an activation to time out */ + int auth_timeout; /**< How long to wait for an authentication to time out */ + int max_completed_connections; /**< Max number of authorized connections */ + int max_incomplete_connections; /**< Max number of incomplete connections */ + int max_connections_per_user; /**< Max number of connections auth'd as same user */ +} BusLimits; + BusContext* bus_context_new (const DBusString *config_file, int print_addr_fd, DBusError *error); |