From: Djalal Harouni Date: Sat, 7 Jun 2014 16:26:55 +0000 (+0100) Subject: policy: clean up headers and code documentation X-Git-Tag: upstream/0.20140911.160207utc~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f73f3e3ff8de034c401535fcf6a27fd99b47d65;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git policy: clean up headers and code documentation Signed-off-by: Djalal Harouni --- diff --git a/policy.c b/policy.c index 5a9770d..6f2bb1f 100644 --- a/policy.c +++ b/policy.c @@ -10,11 +10,8 @@ * your option) any later version. */ -#include #include -#include #include -#include #include #include #include @@ -129,7 +126,7 @@ exit_free: } /** - * kdbus_policy_free - drop a policy database reference + * kdbus_policy_db_free - drop a policy database reference * @db: The policy database */ void kdbus_policy_db_free(struct kdbus_policy_db *db) @@ -162,7 +159,7 @@ void kdbus_policy_db_free(struct kdbus_policy_db *db) } /** - * kdbus_policy_new() - create a new policy database + * kdbus_policy_db_new() - create a new policy database * @db: The location where to store the new database * * Return: 0 on success, negative errno on failure @@ -294,7 +291,7 @@ kdbus_policy_cache_entry_new(struct kdbus_conn *conn_a, } /** - * kdbus_policy_check_send_access() - check if one connection is allowed + * kdbus_policy_check_talk_access() - check if one connection is allowed * to send a message to another connection * @db: The policy database * @conn_src: The source connection