diff options
-rw-r--r-- | src/capabilities.c | 1 | ||||
-rw-r--r-- | src/config.c | 1 |
2 files changed, 2 insertions, 0 deletions
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; |