projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
complete polkit-auth functionality
[systembsd.git]
/
src
/
polkit-auth.h
diff --git
a/src/polkit-auth.h
b/src/polkit-auth.h
index 17a919b92cfc932aace6ee01dd52d278539e5b72..b672e67b06f627c3197c47c7a2a1553a442cf4e1 100644
(file)
--- a/
src/polkit-auth.h
+++ b/
src/polkit-auth.h
@@
-14,5
+14,10
@@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+typedef enum {
+ AUTHORIZED_NATIVELY, AUTHORIZED_BY_PROMPT,
+ UNAUTHORIZED_NATIVELY, UNAUTHORIZED_FAILED_PROMPT,
+ ERROR_BADBUS, ERROR_BADACTION, ERROR_GENERIC
+} check_auth_result;
-
void test_func(
);
+
check_auth_result polkit_try_auth(const gchar *bus, const gchar *action
);