Searched refs:transport (Results 1 - 2 of 2) sorted by relevance

/systemd/src/shared/
H A Dbus-util.h78 int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bus);
79 int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus);
H A Dbus-util.c1238 int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bus) { argument
1241 assert(transport >= 0);
1242 assert(transport < _BUS_TRANSPORT_MAX);
1245 assert_return((transport == BUS_TRANSPORT_LOCAL) == !host, -EINVAL);
1246 assert_return(transport == BUS_TRANSPORT_LOCAL || !user, -EOPNOTSUPP);
1248 switch (transport) {
1267 assert_not_reached("Hmm, unknown transport type.");
1273 int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus) { argument
1276 assert(transport >= 0);
1277 assert(transport < _BUS_TRANSPORT_MA
[all...]

Completed in 341 milliseconds