Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

pm_perms.h File Reference

Go to the source code of this file.

Defines

#define PERM_ADD_STORE_POLICY   "com.access.bundlemgr.add_store"
#define PERM_DELETE_STORE_POLICY   "com.access.bundlemgr.delete_store"
#define PERM_INCREF_POLICY   "com.access.bundlemgr.incref"
#define PERM_DECREF_POLICY   "com.access.bundlemgr.decref"
#define PERM_OPEN_POLICY   "com.access.bundlemgr.open"
#define PERM_HOLD_NOTIFICATIONS_POLICY   "com.access.bundlemgr.hold_notifications"
#define PERM_WIPE_POLICY   "com.access.bundlemgr.wipe"
#define PERM_RW_PATHNAME_POLICY   "com.access.bundlemgr.rw_pathname"
#define PERM_RW_DELETE_POLICY   "com.access.bundlemgr.rw_delete"
#define PERM_REGISTER_POLICY_COLUMN   "register_policy"
#define PERM_UNREGISTER_POLICY_COLUMN   "unregister_policy"
#define PERM_DELETE_POLICY_COLUMN   "delete_policy"
#define PERM_INSTALL_POLICY_COLUMN   "install_policy"
#define PERM_SCAN_POLICY_COLUMN   "scan_policy"

Functions

gboolean has_permission (AlpConnection *con, const char *policy_name)
gboolean has_store_permission_by_store (AlpConnection *con, const char *policy_name_column, const char *store_name)
gboolean has_store_permission_by_bundle (AlpConnection *con, const char *policy_name_column, AlpBundle index)


Define Documentation

#define PERM_ADD_STORE_POLICY   "com.access.bundlemgr.add_store"
 

#define PERM_DECREF_POLICY   "com.access.bundlemgr.decref"
 

#define PERM_DELETE_POLICY_COLUMN   "delete_policy"
 

#define PERM_DELETE_STORE_POLICY   "com.access.bundlemgr.delete_store"
 

#define PERM_HOLD_NOTIFICATIONS_POLICY   "com.access.bundlemgr.hold_notifications"
 

#define PERM_INCREF_POLICY   "com.access.bundlemgr.incref"
 

#define PERM_INSTALL_POLICY_COLUMN   "install_policy"
 

#define PERM_OPEN_POLICY   "com.access.bundlemgr.open"
 

#define PERM_REGISTER_POLICY_COLUMN   "register_policy"
 

#define PERM_RW_DELETE_POLICY   "com.access.bundlemgr.rw_delete"
 

#define PERM_RW_PATHNAME_POLICY   "com.access.bundlemgr.rw_pathname"
 

#define PERM_SCAN_POLICY_COLUMN   "scan_policy"
 

#define PERM_UNREGISTER_POLICY_COLUMN   "unregister_policy"
 

#define PERM_WIPE_POLICY   "com.access.bundlemgr.wipe"
 


Function Documentation

gboolean has_permission AlpConnection con,
const char *  policy_name
 

gboolean has_store_permission_by_bundle AlpConnection con,
const char *  policy_name_column,
AlpBundle  index
 

gboolean has_store_permission_by_store AlpConnection con,
const char *  policy_name_column,
const char *  store_name
 


Generated on Sat Dec 16 20:29:48 2006 for hiker-0.9 by  doxygen 1.4.4