]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/authkey.h
auth: move cookie file to ~/.config/pulse/cookie
[pulseaudio] / src / pulsecore / authkey.h
index bba0bc73c5402ed543f42e473e0b8b745ff1c540..22ec990dee9d972854aaaecdad66a8d30404905d 100644 (file)
@@ -1,11 +1,11 @@
 #ifndef fooauthkeyhfoo
 #define fooauthkeyhfoo
 
-/* $Id$ */
-
 /***
   This file is part of PulseAudio.
 
+  Copyright 2004-2006 Lennart Poettering
+
   PulseAudio is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of the
@@ -24,8 +24,8 @@
 
 #include <sys/types.h>
 
-int pa_authkey_load(const char *path, void *data, size_t len);
-int pa_authkey_load_auto(const char *fn, void *data, size_t length);
+int pa_authkey_load(const char *path, pa_bool_t create, void *data, size_t len);
+int pa_authkey_load_auto(const char *fn, pa_bool_t create, void *data, size_t length);
 
 int pa_authkey_save(const char *path, const void *data, size_t length);