Home
last modified time | relevance | path

Searched refs:noncefile (Results 1 – 9 of 9) sorted by relevance

/external/dbus/dbus/
Ddbus-nonce.c134 _dbus_accept_with_noncefile (int listen_fd, const DBusNonceFile *noncefile) in _dbus_accept_with_noncefile() argument
139 _dbus_assert (noncefile != NULL); in _dbus_accept_with_noncefile()
143 if (_dbus_read_nonce (_dbus_noncefile_get_path(noncefile), &nonce, NULL) != TRUE) in _dbus_accept_with_noncefile()
195 _dbus_send_nonce (int fd, const DBusString *noncefile, DBusError *error) in _dbus_send_nonce() argument
203 if (_dbus_string_get_length (noncefile) == 0) in _dbus_send_nonce()
212 read_result = _dbus_read_nonce (noncefile, &nonce, error); in _dbus_send_nonce()
238 do_noncefile_create (DBusNonceFile *noncefile, in do_noncefile_create() argument
246 _dbus_assert (noncefile); in do_noncefile_create()
260 if (!_dbus_string_init (&noncefile->dir) in do_noncefile_create()
261 || !_dbus_string_append (&noncefile->dir, _dbus_get_tmpdir())) in do_noncefile_create()
[all …]
Ddbus-server-socket.c57 DBusNonceFile *noncefile; /**< Nonce file used to authenticate clients */ member
78 if (socket_server->noncefile) in socket_finalize()
79 _dbus_noncefile_delete (socket_server->noncefile, NULL); in socket_finalize()
80 dbus_free (socket_server->noncefile); in socket_finalize()
190 if (socket_server->noncefile) in socket_handle_watch()
191 client_fd = _dbus_accept_with_noncefile (listen_fd, socket_server->noncefile); in socket_handle_watch()
283 DBusNonceFile *noncefile) in _dbus_server_new_for_socket() argument
293 socket_server->noncefile = noncefile; in _dbus_server_new_for_socket()
401 DBusNonceFile *noncefile; in _dbus_server_new_for_tcp_socket() local
405 noncefile = NULL; in _dbus_server_new_for_tcp_socket()
[all …]
Ddbus-nonce.h43 dbus_bool_t _dbus_noncefile_create (DBusNonceFile *noncefile,
46 dbus_bool_t _dbus_noncefile_delete (DBusNonceFile *noncefile,
50 const DBusNonceFile *noncefile,
53 const DBusString* _dbus_noncefile_get_path (const DBusNonceFile *noncefile);
56 const DBusNonceFile *noncefile);
67 const DBusString *noncefile,
Ddbus-transport-socket.c1310 const char *noncefile, in _dbus_transport_new_for_tcp_socket() argument
1328 if (!_dbus_string_append (&address, noncefile ? "nonce-tcp:" : "tcp:")) in _dbus_transport_new_for_tcp_socket()
1344 if (noncefile != NULL && in _dbus_transport_new_for_tcp_socket()
1346 !_dbus_string_append (&address, noncefile))) in _dbus_transport_new_for_tcp_socket()
1349 fd = _dbus_connect_tcp_socket_with_nonce (host, port, family, noncefile, error); in _dbus_transport_new_for_tcp_socket()
1405 const char *noncefile = dbus_address_entry_get_value (entry, "noncefile"); in _dbus_transport_open_socket() local
1407 if ((isNonceTcp == TRUE) != (noncefile != NULL)) { in _dbus_transport_open_socket()
1418 *transport_p = _dbus_transport_new_for_tcp_socket (host, port, family, noncefile, error); in _dbus_transport_open_socket()
Ddbus-transport-socket.h36 const char *noncefile,
Ddbus-server-socket.h35 DBusNonceFile *noncefile);
Ddbus-sysdeps.h176 const char *noncefile,
Ddbus-sysdeps-win.c1254 const char *noncefile, in _dbus_connect_tcp_socket_with_nonce() argument
1334 if (noncefile != NULL) in _dbus_connect_tcp_socket_with_nonce()
1339 !_dbus_string_append(&noncefileStr, noncefile)) in _dbus_connect_tcp_socket_with_nonce()
Ddbus-sysdeps-unix.c1295 const char *noncefile, in _dbus_connect_tcp_socket_with_nonce() argument
1366 if (noncefile != NULL) in _dbus_connect_tcp_socket_with_nonce()
1370 _dbus_string_init_const (&noncefileStr, noncefile); in _dbus_connect_tcp_socket_with_nonce()