Home
last modified time | relevance | path

Searched refs:auth_cookie (Results 1 - 6 of 6) sorted by relevance

/third_party/pulseaudio/src/modules/x11/
H A Dmodule-x11-publish.c69 pa_auth_cookie *auth_cookie; member
153 u->auth_cookie = NULL; in pa__init()
159 if (!(u->auth_cookie = pa_auth_cookie_get(m->core, pa_modargs_get_value(ma, "cookie", PA_NATIVE_COOKIE_FILE), true, PA_NATIVE_COOKIE_LENGTH))) in pa__init()
193 pa_hexstr(pa_auth_cookie_read(u->auth_cookie, PA_NATIVE_COOKIE_LENGTH), PA_NATIVE_COOKIE_LENGTH, hx, sizeof(hx))); in pa__init()
241 if (u->auth_cookie) in pa__done()
242 pa_auth_cookie_unref(u->auth_cookie); in pa__done()
/third_party/pulseaudio/src/pulsecore/
H A Dprotocol-esound.h40 pa_auth_cookie *auth_cookie; member
H A Dprotocol-esound.c343 if (!c->authorized && c->options->auth_cookie) { in esd_proto_connect()
346 if ((key = pa_auth_cookie_read(c->options->auth_cookie, ESD_KEY_LEN))) in esd_proto_connect()
1662 if (o->auth_cookie) in pa_esound_options_unref()
1663 pa_auth_cookie_unref(o->auth_cookie); in pa_esound_options_unref()
1704 if (o->auth_cookie) in pa_esound_options_parse()
1705 pa_auth_cookie_unref(o->auth_cookie); in pa_esound_options_parse()
1719 o->auth_cookie = pa_auth_cookie_get(c, cn, true, ESD_KEY_LEN); in pa_esound_options_parse()
1721 if (!o->auth_cookie) in pa_esound_options_parse()
1725 o->auth_cookie = NULL; in pa_esound_options_parse()
H A Dprotocol-native.h53 pa_auth_cookie *auth_cookie; member
H A Dprotocol-native.c2499 if (!success && c->options->auth_cookie) { in command_auth()
2502 if ((ac = pa_auth_cookie_read(c->options->auth_cookie, PA_NATIVE_COOKIE_LENGTH))) in command_auth()
5329 if (o->auth_cookie) in pa_native_options_unref()
5330 pa_auth_cookie_unref(o->auth_cookie); in pa_native_options_unref()
5388 if (o->auth_cookie) in pa_native_options_parse()
5389 pa_auth_cookie_unref(o->auth_cookie); in pa_native_options_parse()
5401 o->auth_cookie = pa_auth_cookie_get(c, cn, true, PA_NATIVE_COOKIE_LENGTH); in pa_native_options_parse()
5403 o->auth_cookie = pa_auth_cookie_get(c, PA_NATIVE_COOKIE_FILE, false, PA_NATIVE_COOKIE_LENGTH); in pa_native_options_parse()
5404 if (!o->auth_cookie) { in pa_native_options_parse()
5408 o->auth_cookie in pa_native_options_parse()
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-tunnel.c240 pa_auth_cookie *auth_cookie; member
2045 pa_tagstruct_put_arbitrary(t, pa_auth_cookie_read(u->auth_cookie, PA_NATIVE_COOKIE_LENGTH), PA_NATIVE_COOKIE_LENGTH); in on_sink_created()
2407 if (!(u->auth_cookie = pa_auth_cookie_create(u->core, cookie, sizeof(cookie)))) in do_init()
2452 if (!cookie_path && !u->auth_cookie) in do_init()
2456 if (!(u->auth_cookie = pa_auth_cookie_get(u->core, cookie_path, true, PA_NATIVE_COOKIE_LENGTH))) in do_init()
2598 if (u->auth_cookie) in do_done()
2599 pa_auth_cookie_unref(u->auth_cookie); in do_done()

Completed in 23 milliseconds