mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-14 06:59:53 -05:00
authkey: Rename pa_authkey_load_auto() to pa_authkey_load()
pa_authkey_load() was removed earlier, so the _auto suffix isn't necessary any more.
This commit is contained in:
parent
a54d357729
commit
71ead4989a
6 changed files with 11 additions and 11 deletions
|
|
@ -69,7 +69,7 @@ pa_auth_cookie* pa_auth_cookie_get(pa_core *core, const char *cn, bool create, s
|
|||
|
||||
pa_assert_se(pa_shared_set(core, t, c) >= 0);
|
||||
|
||||
if (pa_authkey_load_auto(cn, create, (uint8_t*) c + PA_ALIGN(sizeof(pa_auth_cookie)), size) < 0) {
|
||||
if (pa_authkey_load(cn, create, (uint8_t*) c + PA_ALIGN(sizeof(pa_auth_cookie)), size) < 0) {
|
||||
pa_auth_cookie_unref(c);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ static char *normalize_path(const char *fn) {
|
|||
|
||||
/* Load a cookie from a file in the home directory. If the specified
|
||||
* path starts with /, use it as absolute path instead. */
|
||||
int pa_authkey_load_auto(const char *fn, bool create, void *data, size_t length) {
|
||||
int pa_authkey_load(const char *fn, bool create, void *data, size_t length) {
|
||||
char *p;
|
||||
int ret;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
int pa_authkey_load_auto(const char *fn, bool create, void *data, size_t length);
|
||||
int pa_authkey_load(const char *fn, bool create, void *data, size_t length);
|
||||
|
||||
int pa_authkey_save(const char *path, const void *data, size_t length);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue