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:
Tanu Kaskinen 2014-06-08 16:32:56 +03:00
parent a54d357729
commit 71ead4989a
6 changed files with 11 additions and 11 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -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);