Changeset 5146:716400712348 in roaraudio for roard/include


Ignore:
Timestamp:
10/15/11 12:48:07 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Moved error frame handling into proto functions (pr0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/client.h

    r4708 r5146  
    4949// access level: 
    5050enum roard_client_acclev { 
    51  ACCLEV_NONE     = 0, // only very basic commands like NOOP and IDENTIFY 
    52  ACCLEV_IDENTED,      // same as NONE but INDENTIFY worked. 
    53  ACCLEV_CONCTL,       // only allowed to do basic connection things. 
    54  ACCLEV_GUEST,        // guest connection (read only) 
    55  ACCLEV_USER,         // normal user connect (read write) 
    56  ACCLEV_PWRUSER,      // power user, may access other user's clients 
    57  ACCLEV_ALL           // full (admin) access (read write ctl) 
     51 ACCLEV_ERROR    = -1, // used as erorr return value. 
     52 ACCLEV_NONE     =  0, // only very basic commands like NOOP and IDENTIFY 
     53 ACCLEV_IDENTED,       // same as NONE but INDENTIFY worked. 
     54 ACCLEV_CONCTL,        // only allowed to do basic connection things. 
     55 ACCLEV_GUEST,         // guest connection (read only) 
     56 ACCLEV_USER,          // normal user connect (read write) 
     57 ACCLEV_PWRUSER,       // power user, may access other user's clients 
     58 ACCLEV_ALL            // full (admin) access (read write ctl) 
    5859}; 
    5960 
Note: See TracChangeset for help on using the changeset viewer.