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...

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/glite/etc/lcmaps"
#define LCMAPS_LIB_HOME   "/opt/glite/lib"
#define LCMAPS_MOD_HOME   "/opt/glite/lib/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/glite/etc/lcmaps"
 

default directory for LCMAPS configuration data bases

Definition at line 46 of file lcmaps_defines.h.

Referenced by lcmaps_findfile(), and startPluginManager().

#define LCMAPS_LIB_HOME   "/opt/glite/lib"
 

default directory for the LCMAPS library

Definition at line 48 of file lcmaps_defines.h.

Referenced by lcmaps_findfile().

#define LCMAPS_MAXARGS   51
 

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

Definition at line 57 of file lcmaps_defines.h.

Referenced by lcmaps_setup(), and parse_args_plugin().

#define LCMAPS_MAXARGSTRING   2000
 

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

Definition at line 55 of file lcmaps_defines.h.

Referenced by getPluginNameAndArgs(), lcmaps_db_fill_entry(), lcmaps_db_parse_line(), and PluginInit().

#define LCMAPS_MAXPATHLEN   500
 

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

Definition at line 53 of file lcmaps_defines.h.

Referenced by getPluginNameAndArgs(), lcmaps_db_fill_entry(), lcmaps_db_parse_line(), parse_args_plugin(), PluginInit(), and startPluginManager().

#define LCMAPS_MOD_ENTRY   (int)(3)
 

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

Definition at line 41 of file lcmaps_defines.h.

#define LCMAPS_MOD_FAIL   (int)(1)
 

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

Definition at line 37 of file lcmaps_defines.h.

Referenced by check_argument(), fail_afs(), and plugin_run().

#define LCMAPS_MOD_HOME   "/opt/glite/lib/modules"
 

default directory for the LCMAPS plugins/modules

Definition at line 50 of file lcmaps_defines.h.

Referenced by lcmaps_findfile().

#define LCMAPS_MOD_NOENTRY   (int)(4)
 

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

Definition at line 43 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 39 of file lcmaps_defines.h.

#define LCMAPS_MOD_SUCCESS   (int)(0)
 

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

Definition at line 35 of file lcmaps_defines.h.

Referenced by check_argument(), clean_plugin_list(), plugin_initialize(), plugin_introspect(), plugin_run(), plugin_terminate(), and PluginInit().


Generated on Sun May 29 21:22:12 2005 for lcmaps by doxygen 1.3.5