2 * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file user_list.h exported functions from user_list.c */
12 * permission flags that can be set individually for any server command
14 * - AFS_READ: read-only command of the audio file selector
15 * - AFS_WRITE: command changes state of the audio file selector
16 * - VSS_READ: command reads information about the current audio stream
17 * - VSS_WRITE: command changes the current audio stream
19 enum {AFS_READ
= 1, AFS_WRITE
= 2, VSS_READ
= 4, VSS_WRITE
= 8};
22 * data needed to authenticate the user
25 /** the position of this user in the list of users */
26 struct list_head node
;
29 /** the public RSA key */
31 /** the privileges that this user has */
35 void init_user_list(char *user_list_file
);
36 struct user
*lookup_user(const char *name
);