From 93a4b231fe2963b3cb386edb3f15ea3bb90478e2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 20 Mar 2016 16:58:18 +0100 Subject: Add missing doxygen comments --- src/capabilities.c | 1 + src/config.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/capabilities.c b/src/capabilities.c index d0811cd..41c7a2a 100644 --- a/src/capabilities.c +++ b/src/capabilities.c @@ -98,6 +98,7 @@ static bool need_cap_net_raw(void) { return false; } +/** Sets a single capability as permitted and effective in the given cap_t */ static void set_cap(cap_t caps, cap_value_t cap) { char *name = cap_to_name(cap); if (name) { diff --git a/src/config.c b/src/config.c index 494ab1e..59c83c8 100644 --- a/src/config.c +++ b/src/config.c @@ -602,6 +602,7 @@ bool fastd_config_single_iface(void) { return (VECTOR_LEN(ctx.peers) == 1); } +/** Determines of all interfaces are persistent (i.e. don't need to be created and destroyed dynamically) */ bool fastd_config_persistent_ifaces(void) { if (fastd_use_android_integration()) return true; -- cgit v1.2.3