2 * Copyright (C) 2006-2007 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 */
13 * permission flags that can be set individually for any server command
15 * - AFS_READ: read-only command of the audio file selector
16 * - AFS_WRITE: command changes state of the audio file selector
17 * - VSS_READ: command reads information about the current audio stream
18 * - VSS_WRITE: command changes the current audio stream
20 enum {AFS_READ
= 1, AFS_WRITE
= 2, VSS_READ
= 4, VSS_WRITE
= 8};
23 * data needed to authenticate the user
26 /** the position of this user in the list of users */
27 struct list_head node
;
30 /** the public RSA key */
32 /** the privileges that this user has */
36 void init_user_list(char *user_list_file
);
37 struct user
*lookup_user(const char *name
);