rc_getname.h

Go to the documentation of this file.
00001 /******************************** */
00002 /* Rule Set Based Access Control  */
00003 /* Author and (c) 1999: Amon Ott  */
00004 /* Getname functions for RC parts */
00005 /* Last modified: 18/Jan/99       */
00006 /******************************** */
00007 
00008 #ifndef __RSBAC_RC_GETNAME_H
00009 #define __RSBAC_RC_GETNAME_H
00010 
00011 #include <rsbac/rc_types.h>
00012 
00013 #ifndef NULL
00014 #define NULL ((void *) 0)
00015 #endif
00016 
00017 char * get_rc_target_name(char * name,
00018                           enum rsbac_rc_target_t value);
00019 
00020 enum rsbac_rc_target_t get_rc_target_nr(const char * name);
00021 
00022 char * get_rc_admin_name(char * name,
00023                          enum rsbac_rc_admin_type_t value);
00024 
00025 enum rsbac_rc_admin_type_t get_rc_admin_nr(const char * name);
00026 
00027 char * get_rc_scd_type_name(char * name,
00028                             enum rsbac_rc_scd_type_t value);
00029 
00030 enum rsbac_rc_scd_type_t get_rc_scd_type_nr(const char * name);
00031 
00032 char * get_rc_item_name(char * name,
00033                         enum rsbac_rc_item_t value);
00034 
00035 enum rsbac_rc_item_t get_rc_item_nr(const char * name);
00036 
00037 #ifndef __KERNEL__
00038 char * get_rc_item_param(char * name,
00039                          enum rsbac_rc_item_t value);
00040 #endif
00041 
00042 char * get_rc_special_right_name(char * name,
00043                             enum rsbac_rc_special_rights_t value);
00044 
00045 #ifndef __KERNEL__
00046 enum rsbac_rc_special_rights_t get_rc_special_right_nr(const char * name);
00047 #endif
00048 
00049 #endif

Generated on Fri Jun 17 09:45:18 2005 for RSBAC by  doxygen 1.4.2