Lines Matching refs:VarlinkServer

84         VarlinkServer *server;
154 VarlinkServer *server;
164 struct VarlinkServer { struct
227 static inline const char *varlink_server_description(VarlinkServer *s) { in varlink_server_description()
1166 VarlinkServer *saved_server; in varlink_detach_server()
1843 VarlinkServer *varlink_get_server(Varlink *v) { in varlink_get_server()
2015 int varlink_server_new(VarlinkServer **ret, VarlinkServerFlags flags) { in varlink_server_new()
2016 VarlinkServer *s; in varlink_server_new()
2021 s = new(VarlinkServer, 1); in varlink_server_new()
2025 *s = (VarlinkServer) { in varlink_server_new()
2036 static VarlinkServer* varlink_server_destroy(VarlinkServer *s) { in varlink_server_destroy()
2057 DEFINE_TRIVIAL_REF_UNREF_FUNC(VarlinkServer, varlink_server, varlink_server_destroy);
2059 static int validate_connection(VarlinkServer *server, const struct ucred *ucred) { in validate_connection()
2101 static int count_connection(VarlinkServer *server, const struct ucred *ucred) { in count_connection()
2128 int varlink_server_add_connection(VarlinkServer *server, int fd, Varlink **ret) { in varlink_server_add_connection()
2234 int varlink_server_listen_fd(VarlinkServer *s, int fd) { in varlink_server_listen_fd()
2268 int varlink_server_listen_address(VarlinkServer *s, const char *address, mode_t m) { in varlink_server_listen_address()
2308 void* varlink_server_set_userdata(VarlinkServer *s, void *userdata) { in varlink_server_set_userdata()
2319 void* varlink_server_get_userdata(VarlinkServer *s) { in varlink_server_get_userdata()
2340 int varlink_server_shutdown(VarlinkServer *s) { in varlink_server_shutdown()
2349 int varlink_server_attach_event(VarlinkServer *s, sd_event *e, int64_t priority) { in varlink_server_attach_event()
2383 int varlink_server_detach_event(VarlinkServer *s) { in varlink_server_detach_event()
2393 sd_event *varlink_server_get_event(VarlinkServer *s) { in varlink_server_get_event()
2399 int varlink_server_bind_method(VarlinkServer *s, const char *method, VarlinkMethod callback) { in varlink_server_bind_method()
2425 int varlink_server_bind_method_many_internal(VarlinkServer *s, ...) { in varlink_server_bind_method_many_internal()
2451 int varlink_server_bind_connect(VarlinkServer *s, VarlinkConnect callback) { in varlink_server_bind_connect()
2461 int varlink_server_bind_disconnect(VarlinkServer *s, VarlinkDisconnect callback) { in varlink_server_bind_disconnect()
2471 unsigned varlink_server_connections_max(VarlinkServer *s) { in varlink_server_connections_max()
2488 unsigned varlink_server_connections_per_uid_max(VarlinkServer *s) { in varlink_server_connections_per_uid_max()
2502 int varlink_server_set_connections_per_uid_max(VarlinkServer *s, unsigned m) { in varlink_server_set_connections_per_uid_max()
2510 int varlink_server_set_connections_max(VarlinkServer *s, unsigned m) { in varlink_server_set_connections_max()
2518 unsigned varlink_server_current_connections(VarlinkServer *s) { in varlink_server_current_connections()
2524 int varlink_server_set_description(VarlinkServer *s, const char *description) { in varlink_server_set_description()