PolicyKit/doc/api/tmpl libpolkit.sgml,1.2,1.3
David Zeuthen
david at kemper.freedesktop.org
Mon Mar 13 22:14:35 PST 2006
- Previous message: PolicyKit/privileges - New directory,NONE,NONE
- Next message: PolicyKit/libpolkit Makefile.am, 1.1.1.1, 1.2 libpolkit-test.c,
1.1.1.1, NONE libpolkit.c, 1.1.1.1, 1.2 libpolkit.h, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/PolicyKit/doc/api/tmpl
In directory kemper:/tmp/cvs-serv13970/doc/api/tmpl
Modified Files:
libpolkit.sgml
Log Message:
2006-03-14 David Zeuthen <davidz at redhat.com>
Add a bunch of code; basically a full rewrite moving all queries
to the daemon.
* COPYING:
* Makefile.am:
* configure.in:
* libpolkit/Makefile.am:
* libpolkit/libpolkit-test.c:
* libpolkit/libpolkit.c: (libpolkit_new_context),
(libpolkit_free_context),
(libpolkit_get_allowed_resources_for_privilege_for_uid),
(libpolkit_is_uid_allowed_for_privilege),
(libpolkit_get_privilege_list):
* libpolkit/libpolkit.h:
* policy-kit.in:
* polkit-interface-manager.xml:
* polkit-interface-session.xml:
* polkit.pc.in:
* polkitd/Makefile.am:
* polkitd/debug-polkitd.sh:
* polkitd/main.c: (usage), (delete_pid), (main):
* polkitd/policy.c: (policy_util_set_policy_directory),
(policy_element_new), (policy_element_free),
(policy_element_free_list), (policy_element_dump),
(txt_backend_read_policy), (policy_get_whitelist),
(policy_get_blacklist), (policy_get_policies), (afp_process_elem),
(policy_get_allowed_resources_for_policy_for_uid_gid),
(policy_is_uid_gid_allowed_for_policy), (policy_util_uid_to_name),
(policy_util_gid_to_name), (policy_util_name_to_uid),
(policy_util_name_to_gid),
(policy_get_allowed_resources_for_policy_for_uid),
(policy_is_uid_allowed_for_policy), (getgrouplist):
* polkitd/policy.h:
* polkitd/polkit-manager.c: (caller_info_delete),
(polkit_manager_init), (polkit_manager_finalize),
(polkit_manager_class_init), (polkit_manager_error_quark),
(polkit_manager_error_get_type), (bus_name_owner_changed),
(session_remover), (session_finalized), (polkit_manager_new),
(uid_from_username), (safe_strcmp),
(polkit_manager_get_caller_info),
(polkit_manager_initiate_privilege_grant),
(polkit_manager_is_user_privileged),
(polkit_manager_get_allowed_resources_for_privilege),
(polkit_manager_list_privileges),
(polkit_manager_add_temporary_privilege),
(polkit_manager_remove_temporary_privilege):
* polkitd/polkit-manager.h:
* polkitd/polkit-marshal.list:
* polkitd/polkit-session.c: (polkit_session_init),
(polkit_session_finalize), (polkit_session_class_init),
(polkit_session_error_quark), (polkit_session_error_get_type),
(polkit_session_check_caller), (polkit_session_is_authenticated),
(polkit_session_get_auth_denied_reason), (safe_memset),
(my_conversation), (write_back_to_parent), (do_pam_auth),
(data_from_pam), (polkit_session_get_auth_details),
(polkit_session_initiate_auth), (polkit_session_get_questions),
(polkit_session_provide_answers), (polkit_session_close),
(polkit_session_grant_privilege_temporarily), (polkit_session_new),
(polkit_session_initiator_disconnected):
* polkitd/polkit-session.h:
* polkitd/polkitd-test.c: (my_exit), (do_check),
(write_test_policy), (do_read_tests), (main):
* polkitd/run-polkitd.sh:
* polkitd/valgrind-polkitd.sh:
* privileges/Makefile.am:
* privileges/desktop-console.privilege:
* tools/Makefile.am:
* tools/Makefile.in:
* tools/polkit-grant-privilege.c: (have_questions_handler),
(auth_done_handler), (do_grant_privilege), (usage), (main):
* tools/polkit-is-privileged.c: (usage), (main):
* tools/polkit-list-privileges.c: (usage), (main):
Index: libpolkit.sgml
===================================================================
RCS file: /cvs/hal/PolicyKit/doc/api/tmpl/libpolkit.sgml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libpolkit.sgml 8 Mar 2006 02:45:24 -0000 1.2
+++ libpolkit.sgml 14 Mar 2006 06:14:33 -0000 1.3
@@ -9,11 +9,13 @@
</para>
+
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
+
<!-- ##### SECTION Stability_Level ##### -->
@@ -25,8 +27,9 @@
@LIBPOLKIT_RESULT_OK:
@LIBPOLKIT_RESULT_ERROR:
@LIBPOLKIT_RESULT_INVALID_CONTEXT:
- at LIBPOLKIT_RESULT_PERMISSON_DENIED:
- at LIBPOLKIT_RESULT_NO_SUCH_POLICY:
+ at LIBPOLKIT_RESULT_NOT_PRIVILEGED:
+ at LIBPOLKIT_RESULT_NO_SUCH_PRIVILEGE:
+ at LIBPOLKIT_RESULT_NO_SUCH_USER:
<!-- ##### STRUCT LibPolKitContext_s ##### -->
<para>
@@ -40,41 +43,12 @@
</para>
-<!-- ##### ENUM LibPolKitElementType ##### -->
-<para>
-
-</para>
-
- at LIBPOLKIT_ELEMENT_TYPE_UID:
- at LIBPOLKIT_ELEMENT_TYPE_GID:
-
-<!-- ##### STRUCT LibPolKitElement_s ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### TYPEDEF LibPolKitElement ##### -->
-<para>
-
-</para>
-
-
<!-- ##### FUNCTION libpolkit_new_context ##### -->
<para>
</para>
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_context_set_txt_source ##### -->
-<para>
-
-</para>
-
- at ctx:
- at directory:
+ at connection:
@Returns:
@@ -87,269 +61,3 @@
@Returns:
-<!-- ##### FUNCTION libpolkit_get_policies ##### -->
-<para>
-
-</para>
-
- at ctx:
- at result:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_is_uid_allowed_for_policy ##### -->
-<para>
-
-</para>
-
- at ctx:
- at uid:
- at policy:
- at resource:
- at result:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_is_uid_gid_allowed_for_policy ##### -->
-<para>
-
-</para>
-
- at ctx:
- at uid:
- at num_gids:
- at gid_list:
- at policy:
- at resource:
- at result:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_get_whitelist ##### -->
-<para>
-
-</para>
-
- at ctx:
- at policy:
- at result:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_get_blacklist ##### -->
-<para>
-
-</para>
-
- at ctx:
- at policy:
- at result:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_set_whitelist ##### -->
-<para>
-
-</para>
-
- at ctx:
- at policy:
- at whitelist:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_set_blacklist ##### -->
-<para>
-
-</para>
-
- at ctx:
- at policy:
- at blacklist:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_type ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_include_all ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_exclude_all ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_uid ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_gid ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_get_resource ##### -->
-<para>
-
-</para>
-
- at elem:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_new ##### -->
-<para>
-
-</para>
-
- at ctx:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_type ##### -->
-<para>
-
-</para>
-
- at elem:
- at type:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_include_all ##### -->
-<para>
-
-</para>
-
- at elem:
- at value:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_exclude_all ##### -->
-<para>
-
-</para>
-
- at elem:
- at value:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_uid ##### -->
-<para>
-
-</para>
-
- at elem:
- at uid:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_gid ##### -->
-<para>
-
-</para>
-
- at elem:
- at gid:
-
-
-<!-- ##### FUNCTION libpolkit_element_set_resource ##### -->
-<para>
-
-</para>
-
- at elem:
- at resource:
-
-
-<!-- ##### FUNCTION libpolkit_free_element ##### -->
-<para>
-
-</para>
-
- at elem:
-
-
-<!-- ##### FUNCTION libpolkit_free_element_list ##### -->
-<para>
-
-</para>
-
- at policy_element_list:
-
-
-<!-- ##### FUNCTION libpolkit_util_uid_to_name ##### -->
-<para>
-
-</para>
-
- at ctx:
- at uid:
- at default_gid:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_util_gid_to_name ##### -->
-<para>
-
-</para>
-
- at ctx:
- at gid:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_util_name_to_uid ##### -->
-<para>
-
-</para>
-
- at ctx:
- at username:
- at default_gid:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_util_name_to_gid ##### -->
-<para>
-
-</para>
-
- at ctx:
- at groupname:
- at Returns:
-
-
-<!-- ##### FUNCTION libpolkit_element_dump ##### -->
-<para>
-
-</para>
-
- at elem:
- at fp:
-
-
- Previous message: PolicyKit/privileges - New directory,NONE,NONE
- Next message: PolicyKit/libpolkit Makefile.am, 1.1.1.1, 1.2 libpolkit-test.c,
1.1.1.1, NONE libpolkit.c, 1.1.1.1, 1.2 libpolkit.h, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list