src/server/daemon/keyfile_auth.c

changeset 651
ed74879c7041
parent 590
33ca0f9f276f
equal deleted inserted replaced
650:3e4f9cdd70b8 651:ed74879c7041
36 36
37 #include <cx/hash_map.h> 37 #include <cx/hash_map.h>
38 38
39 #include "keyfile_auth.h" 39 #include "keyfile_auth.h"
40 40
41 Keyfile* keyfile_new(CxAllocator *a) { 41 Keyfile* keyfile_new(const CxAllocator *a) {
42 Keyfile *keyfile = cxCalloc(a, 1, sizeof(Keyfile)); 42 Keyfile *keyfile = cxCalloc(a, 1, sizeof(Keyfile));
43 if(!keyfile) { 43 if(!keyfile) {
44 return NULL; 44 return NULL;
45 } 45 }
46 keyfile->authdb.get_user = keyfile_get_user; 46 keyfile->authdb.get_user = keyfile_get_user;

mercurial