00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __RSBAC_PM_GETNAME_H
00009 #define __RSBAC_PM_GETNAME_H
00010
00011 #include <rsbac/types.h>
00012
00013 #ifndef NULL
00014 #define NULL ((void *) 0)
00015 #endif
00016
00017 #include <rsbac/helpers.h>
00018 #include <rsbac/error.h>
00019
00020 char * get_pm_list_name(char *,
00021 enum rsbac_pm_list_t);
00022
00023 enum rsbac_pm_list_t get_pm_list_nr(const char *);
00024
00025 char * get_pm_all_list_name(char *,
00026 enum rsbac_pm_all_list_t);
00027
00028 enum rsbac_pm_all_list_t get_pm_all_list_nr(const char *);
00029
00030 char * get_pm_role_name(char *,
00031 enum rsbac_pm_role_t);
00032
00033 enum rsbac_pm_role_t get_pm_role_nr(const char *);
00034
00035 char * get_pm_process_type_name(char *,
00036 enum rsbac_pm_process_type_t);
00037
00038 enum rsbac_pm_process_type_t get_pm_process_type_nr(const char *);
00039
00040 char * get_pm_object_type_name(char *,
00041 enum rsbac_pm_object_type_t);
00042
00043 enum rsbac_pm_object_type_t get_pm_object_type_nr(const char *);
00044
00045 #ifdef __KERNEL__
00046 char * get_pm_set_name(char *,
00047 enum rsbac_pm_set_t);
00048
00049 enum rsbac_pm_set_t get_pm_set_nr(const char *);
00050
00051 char * get_pm_target_name(char *,
00052 enum rsbac_pm_target_t);
00053
00054 enum rsbac_pm_target_t get_pm_target_nr(const char *);
00055
00056 char * get_pm_data_name(char *,
00057 enum rsbac_pm_data_t);
00058
00059 enum rsbac_pm_data_t get_pm_data_nr(const char *);
00060 #endif
00061
00062 char * get_pm_function_type_name(char *,
00063 enum rsbac_pm_function_type_t);
00064
00065 enum rsbac_pm_function_type_t get_pm_function_type_nr(const char *);
00066
00067 #ifndef __KERNEL__
00068 char * get_pm_function_param(char *,
00069 enum rsbac_pm_function_type_t);
00070
00071 char * get_pm_tkt_function_param(char *,
00072 enum rsbac_pm_tkt_function_type_t);
00073 #endif
00074
00075 char * get_pm_tkt_function_type_name(char *,
00076 enum rsbac_pm_tkt_function_type_t);
00077
00078 enum rsbac_pm_tkt_function_type_t
00079 get_pm_tkt_function_type_nr(const char *);
00080
00081 #endif