X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.h;h=1cb94764cca42341e9a48b576491e12a5630d888;hp=3a77e98fa8c4636406035ce66f7842235832db4d;hb=07daa886fda65b868966c19e812c42433ffbfd5b;hpb=94802b02fadd65ac1704fe9fcbcf0a2b023d2fa4 diff --git a/user_list.h b/user_list.h index 3a77e98f..1cb94764 100644 --- a/user_list.h +++ b/user_list.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2006 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2006 Andre Noll , see file COPYING. */ /** \file user_list.h exported functions from user_list.c */ @@ -15,6 +11,7 @@ * is read at server startup. */ enum server_command_permissions { + NO_PERMISSION_REQUIRED = 0, /** None of the below. */ AFS_READ = 1, /** Read-only operation on the AFS database. */ AFS_WRITE = 2, /** Read-write operation on the AFS database. */ VSS_READ = 4, /** Read-only operation on the virtual streaming system. */ @@ -35,5 +32,6 @@ struct user { unsigned int perms; }; -void init_user_list(char *user_list_file); -struct user *lookup_user(const char *name); +void user_list_init(const char *user_list_file); +void user_list_deplete(void); +const struct user *user_list_lookup(const char *name);