Changeset 3915:9047ff70cd9b in roaraudio for include/roaraudio


Ignore:
Timestamp:
06/07/10 15:51:10 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

move consts to where they belong

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio/proto.h

    r3884 r3915  
    106106 
    107107// auth types... 
    108 #define ROAR_AUTH_NONE    0 /* do not auth */ 
    109 #define ROAR_AUTH_TRUST   1 /* trust: used for UNIX Domain sockets, same uid = trusted, diffrent uid = public */ 
    110 #define ROAR_AUTH_COOKIE  2 /* use cookie */ 
    111 #define ROAR_AUTH_SYSUSER 3 /* use local/NIS/PAM userdatabase */ 
    112 #define ROAR_AUTH_PASSWD  4 /* use password */ 
     108#define ROAR_AUTH_T_AUTO               -1 
     109#define ROAR_AUTH_T_NONE                0 /* do not auth */ 
     110#define ROAR_AUTH_T_COOKIE              1 /* use cookie */ 
     111#define ROAR_AUTH_T_TRUST               2 /* trust: used for UNIX Domain sockets, */ 
     112                                          /* same uid = trusted, diffrent uid = public */ 
     113#define ROAR_AUTH_T_PASSWORD            3 /* use password */ 
     114#define ROAR_AUTH_T_SYSUSER             4 /* use local/NIS/PAM userdatabase */ 
     115#define ROAR_AUTH_T_OPENPGP_SIGN        5 
     116#define ROAR_AUTH_T_OPENPGP_ENCRYPT     6 
     117#define ROAR_AUTH_T_OPENPGP_AUTH        7 
     118#define ROAR_AUTH_T_KERBEROS            8 
     119#define ROAR_AUTH_T_RHOST               9 
     120#define ROAR_AUTH_T_XAUTH              10 
     121#define ROAR_AUTH_T_IDENT              11 
     122 
    113123 
    114124// attach types... 
Note: See TracChangeset for help on using the changeset viewer.