fix some signed warnings in aac and mp3 decoders
[paraslash.git] / user_list.h
index 1ee73521fa016406027ece664576f0b5f2401037..c18eb57d049551fc8fe30e1d67c08795395a5389 100644 (file)
 /**
  * permission flags that can be set individually for any server command
  *
- * - DB_READ: command reads from the database
- * - DB_WRITE: command changes the contents of the database
+ * - AFS_READ: read-only command of the audio file selector
+ * - AFS_WRITE: command changes state of the audio file selector
  * - VSS_READ: command reads information about the current audio stream
  * - VSS_WRITE: command changes the current audio stream
  */
-enum {DB_READ = 1, DB_WRITE = 2, VSS_READ = 4, VSS_WRITE = 8};
+enum {AFS_READ = 1, AFS_WRITE = 2, VSS_READ = 4, VSS_WRITE = 8};
 
 /**
  * data needed to authenticate the user
@@ -46,4 +46,4 @@ struct user {
 };
 
 void init_user_list(char *user_list_file);
-int lookup_user(struct user *user);
+struct user *lookup_user(const char *name);