Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

lcmaps_defines.h File Reference

Public header file with common definitions for the LCMAPS (authorization modules). More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define LCMAPS_MOD_SUCCESS   (int)(0)
#define LCMAPS_MOD_FAIL   (int)(1)
#define LCMAPS_MOD_NOFILE   (int)(2)
#define LCMAPS_MOD_ENTRY   (int)(3)
#define LCMAPS_MOD_NOENTRY   (int)(4)
#define LCMAPS_ETC_HOME   "/opt/edg/etc/lcmaps"
#define LCMAPS_LIB_HOME   "/opt/edg/lib/lcmaps"
#define LCMAPS_MOD_HOME   "/opt/edg/lib/lcmaps/modules"
#define LCMAPS_MAXPATHLEN   500
#define LCMAPS_MAXARGSTRING   2000
#define LCMAPS_MAXARGS   51


Detailed Description

Public header file with common definitions for the LCMAPS (authorization modules).

Author:
Martijn Steenbakkers for the EU DataGrid.

Here the return values for the LCMAPS plugins/modules are defined as well as the default locations of the LCMAPS "etc", "lib" and "modules" directories.

Definition in file lcmaps_defines.h.


Define Documentation

#define LCMAPS_ETC_HOME   "/opt/edg/etc/lcmaps"
 

default directory for LCMAPS configuration data bases

Definition at line 39 of file lcmaps_defines.h.

#define LCMAPS_LIB_HOME   "/opt/edg/lib/lcmaps"
 

default directory for the LCMAPS library

Definition at line 41 of file lcmaps_defines.h.

#define LCMAPS_MAXARGS   51
 

maximum number of arguments (+1) to be passed to LCMAPS authorization plugins/modules.

For internal use only.

Definition at line 50 of file lcmaps_defines.h.

#define LCMAPS_MAXARGSTRING   2000
 

maximum length of the plugin argument string as specified in the LCMAPS database.

For internal use only.

Definition at line 48 of file lcmaps_defines.h.

#define LCMAPS_MAXPATHLEN   500
 

maximum path lengths of files, used in plugin and database structures.

For internal use only.

Definition at line 46 of file lcmaps_defines.h.

#define LCMAPS_MOD_ENTRY   (int)(3)
 

Return value of LCMAPS plugin module indicating that an entry was found

Definition at line 34 of file lcmaps_defines.h.

#define LCMAPS_MOD_FAIL   (int)(1)
 

Return value of LCMAPS plugin module indicating failure (no authorization)

Definition at line 30 of file lcmaps_defines.h.

#define LCMAPS_MOD_HOME   "/opt/edg/lib/lcmaps/modules"
 

default directory for the LCMAPS plugins/modules

Definition at line 43 of file lcmaps_defines.h.

#define LCMAPS_MOD_NOENTRY   (int)(4)
 

Return value of LCMAPS plugin module indicating that no entry was found

Definition at line 36 of file lcmaps_defines.h.

#define LCMAPS_MOD_NOFILE   (int)(2)
 

Return value of LCMAPS plugin module indicating that no file could be found

Definition at line 32 of file lcmaps_defines.h.

#define LCMAPS_MOD_SUCCESS   (int)(0)
 

Return value of LCMAPS plugin module indicating succes (authorization granted)

Definition at line 28 of file lcmaps_defines.h.


Generated at Thu Mar 4 17:39:19 2004 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001