summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 16:58:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 16:58:18 +0100
commit93a4b231fe2963b3cb386edb3f15ea3bb90478e2 (patch)
tree36e77db5aac81b436d0614f91a00779260c951df
parent39a2215fd39d02b260ee77a7a434379a3b4327d1 (diff)
downloadfastd-93a4b231fe2963b3cb386edb3f15ea3bb90478e2.tar
fastd-93a4b231fe2963b3cb386edb3f15ea3bb90478e2.zip
Add missing doxygen comments
-rw-r--r--src/capabilities.c1
-rw-r--r--src/config.c1
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;