Coda Distributed File System
Classes | Macros | Typedefs | Functions | Variables
al.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AL_AccessEntry
 
struct  AL_AccessList
 

Macros

#define AL_VERSION   "AL v2003.05.23"
 
#define AL_ALISTVERSION   1 /*Identifies current format of access lists*/
 
#define AL_MAXEXTENTRIES
 

Typedefs

typedef char * AL_ExternalAccessList
 

Functions

int AL_NewAlist (int MinNoOfEntries, AL_AccessList **Al)
 
int AL_FreeAlist (AL_AccessList **Al)
 
int AL_htonAlist (AL_AccessList *Al)
 
int AL_ntohAlist (AL_AccessList *Al)
 
int AL_NewExternalAlist (int MinNoOfEntries, AL_ExternalAccessList *R)
 
int AL_FreeExternalAlist (AL_ExternalAccessList *R)
 
int AL_NewCPS (int MinNoOfEntries, PRS_InternalCPS **ICPS)
 
int AL_FreeCPS (PRS_InternalCPS **C)
 
int AL_htonCPS (PRS_InternalCPS *C)
 
int AL_ntohCPS (PRS_InternalCPS *C)
 
int AL_NewExternalCPS (int MinNoOfEntries, PRS_ExternalCPS *R)
 
int AL_FreeExternalCPS (PRS_ExternalCPS *R)
 
int AL_Externalize (AL_AccessList *Alist, AL_ExternalAccessList *Elist)
 
int AL_Internalize (AL_ExternalAccessList Elist, AL_AccessList **Alist)
 
int AL_CheckRights (AL_AccessList *Alist, PRS_InternalCPS *CPS, int *WhichRights)
 
int AL_Initialize (const char *Version)
 
int AL_NameToId (const char *Name, int *Id)
 
int AL_IdToName (int Id, char *Name)
 
int AL_GetInternalCPS (int Id, PRS_InternalCPS **ICPS)
 
int AL_GetExternalCPS (int Id, PRS_ExternalCPS *ECPS)
 
int AL_IsAMember (int Id, PRS_InternalCPS *ICPS)
 
void AL_PrintAlist (AL_AccessList *A)
 
void AL_PrintExternalAlist (AL_ExternalAccessList E)
 
int AL_DisableGroup (int gid, PRS_InternalCPS *ICPS)
 
int AL_EnableGroup (int gid, PRS_InternalCPS *ICPS)
 
int CmpPlus (AL_AccessEntry *a, AL_AccessEntry *b)
 
int CmpMinus (AL_AccessEntry *a, AL_AccessEntry *b)
 

Variables

int AL_MaxExtEntries
 
int AL_DebugLevel
 

Macro Definition Documentation

◆ AL_ALISTVERSION

#define AL_ALISTVERSION   1 /*Identifies current format of access lists*/

◆ AL_MAXEXTENTRIES

#define AL_MAXEXTENTRIES
Value:
20 /* Default initial value for
AL_MaxExtEntries */

◆ AL_VERSION

#define AL_VERSION   "AL v2003.05.23"

Typedef Documentation

◆ AL_ExternalAccessList

typedef char* AL_ExternalAccessList

Function Documentation

◆ AL_CheckRights()

int AL_CheckRights ( AL_AccessList Alist,
PRS_InternalCPS CPS,
int *  WhichRights 
)

◆ AL_DisableGroup()

int AL_DisableGroup ( int  gid,
PRS_InternalCPS ICPS 
)

◆ AL_EnableGroup()

int AL_EnableGroup ( int  gid,
PRS_InternalCPS ICPS 
)

◆ AL_Externalize()

int AL_Externalize ( AL_AccessList Alist,
AL_ExternalAccessList Elist 
)

◆ AL_FreeAlist()

int AL_FreeAlist ( AL_AccessList **  Al)

◆ AL_FreeCPS()

int AL_FreeCPS ( PRS_InternalCPS **  C)

◆ AL_FreeExternalAlist()

int AL_FreeExternalAlist ( AL_ExternalAccessList R)

◆ AL_FreeExternalCPS()

int AL_FreeExternalCPS ( PRS_ExternalCPS R)

◆ AL_GetExternalCPS()

int AL_GetExternalCPS ( int  Id,
PRS_ExternalCPS ECPS 
)

◆ AL_GetInternalCPS()

int AL_GetInternalCPS ( int  Id,
PRS_InternalCPS **  ICPS 
)

◆ AL_htonAlist()

int AL_htonAlist ( AL_AccessList Al)

◆ AL_htonCPS()

int AL_htonCPS ( PRS_InternalCPS C)

◆ AL_IdToName()

int AL_IdToName ( int  Id,
char *  Name 
)

◆ AL_Initialize()

int AL_Initialize ( const char *  Version)

◆ AL_Internalize()

int AL_Internalize ( AL_ExternalAccessList  Elist,
AL_AccessList **  Alist 
)

◆ AL_IsAMember()

int AL_IsAMember ( int  Id,
PRS_InternalCPS ICPS 
)

◆ AL_NameToId()

int AL_NameToId ( const char *  Name,
int *  Id 
)

◆ AL_NewAlist()

int AL_NewAlist ( int  MinNoOfEntries,
AL_AccessList **  Al 
)

◆ AL_NewCPS()

int AL_NewCPS ( int  MinNoOfEntries,
PRS_InternalCPS **  ICPS 
)

◆ AL_NewExternalAlist()

int AL_NewExternalAlist ( int  MinNoOfEntries,
AL_ExternalAccessList R 
)

◆ AL_NewExternalCPS()

int AL_NewExternalCPS ( int  MinNoOfEntries,
PRS_ExternalCPS R 
)

◆ AL_ntohAlist()

int AL_ntohAlist ( AL_AccessList Al)

◆ AL_ntohCPS()

int AL_ntohCPS ( PRS_InternalCPS C)

◆ AL_PrintAlist()

void AL_PrintAlist ( AL_AccessList A)

◆ AL_PrintExternalAlist()

void AL_PrintExternalAlist ( AL_ExternalAccessList  E)

◆ CmpMinus()

int CmpMinus ( AL_AccessEntry a,
AL_AccessEntry b 
)

◆ CmpPlus()

int CmpPlus ( AL_AccessEntry a,
AL_AccessEntry b 
)

Variable Documentation

◆ AL_DebugLevel

int AL_DebugLevel
extern

◆ AL_MaxExtEntries

int AL_MaxExtEntries
extern