privconfig.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00026
00027 #ifndef _AIR_PRIVCONFIG_H_
00028 #define _AIR_PRIVCONFIG_H_
00029
00030 #include <airframe/autoinc.h>
00031 #include <airframe/airopt.h>
00032
00034 #define PRIVC_ERROR_DOMAIN g_quark_from_string("airframePrivilegeError")
00035
00039 #define PRIVC_ERROR_SETUP 1
00040
00043 #define PRIVC_ERROR_FAILED 2
00044
00047 #define PRIVC_ERROR_ALREADY 3
00048
00051 #define PRIVC_ERROR_NODROP 4
00052
00062 gboolean privc_add_option_group(AirOptionCtx *aoctx);
00063
00073 gboolean privc_setup(
00074 GError **err);
00075
00083 gboolean privc_configured();
00084
00095 gboolean privc_become(
00096 GError **err);
00097
00098
00099 #endif