Home
last modified time | relevance | path

Searched refs:cookie_length (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dclient-conf.c169 int pa_client_conf_load_cookie(pa_client_conf *c, uint8_t *cookie, size_t cookie_length) { in pa_client_conf_load_cookie() argument
175 pa_assert(cookie_length > 0); in pa_client_conf_load_cookie()
178 r = pa_authkey_load(c->cookie_file_from_env, true, cookie, cookie_length); in pa_client_conf_load_cookie()
187 if (cookie_length == sizeof(c->cookie_from_x11)) { in pa_client_conf_load_cookie()
188 memcpy(cookie, c->cookie_from_x11, cookie_length); in pa_client_conf_load_cookie()
196 r = pa_authkey_load(c->cookie_file_from_application, true, cookie, cookie_length); in pa_client_conf_load_cookie()
205 r = pa_authkey_load(c->cookie_file_from_client_conf, true, cookie, cookie_length); in pa_client_conf_load_cookie()
213 r = pa_authkey_load(PA_NATIVE_COOKIE_FILE, false, cookie, cookie_length); in pa_client_conf_load_cookie()
218 r = pa_authkey_load(fallback_path, false, cookie, cookie_length); in pa_client_conf_load_cookie()
224 r = pa_authkey_load(PA_NATIVE_COOKIE_FILE, true, cookie, cookie_length); in pa_client_conf_load_cookie()
[all …]
Dclient-conf.h57 int pa_client_conf_load_cookie(pa_client_conf *c, uint8_t *cookie, size_t cookie_length);