5762809 [rkeene@sledge /home/rkeene/devel/backuppcd/all/backuppcd-200601171056]$ cat -n backuppcd-auth.h
 1 #ifndef _RSK_BACKUPPCD_AUTH_H
 2 #define _RSK_BACKUPPCD_AUTH_H 1
 3 
 4 #include "compat.h"
 5 
 6 /*
 7  * These define the different privilege levels for a connection to be assigned.
 8  */
 9 typedef enum {
10     BPC_PRIV_ERROR,
11         BPC_PRIV_NONE,
12         BPC_PRIV_READ,
13         BPC_PRIV_WRITE,
14         BPC_PRIV_RDWR
15 } backuppc_privs_t;
16 
17 
18 void bpcd_auth_init(void);
19 backuppc_privs_t bpcd_auth_verify(const char *username, const char *passhash, uint32_t address);
20 
21 #endif
5762810 [rkeene@sledge /home/rkeene/devel/backuppcd/all/backuppcd-200601171056]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2006-01-12 05:57:52