X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fclient.c;h=47ac9de974961dbc009f0dd0d805a00596f9fb25;hb=0ecdd176e7eba9fb46f4b3228f8b109a7cf20ab4;hp=fa51d95e05c424dfd697967fc9050fbb6ec27383;hpb=b00ef4d125101f053361481b238fcf5318aac805;p=doldaconnect.git diff --git a/daemon/client.c b/daemon/client.c index fa51d95..47ac9de 100644 --- a/daemon/client.c +++ b/daemon/client.c @@ -36,9 +36,9 @@ #include "log.h" #include "utils.h" #include "module.h" -#include "tiger.h" #include "net.h" #include "sysevents.h" +#include struct scanstate { @@ -60,9 +60,20 @@ static void writehashcache(int now); static struct configvar myvars[] = { + /** The default nick name to use. The nickname can also be + * specified for individual hubs, overriding this setting. */ {CONF_VAR_STRING, "defnick", {.str = L"DoldaConnect user"}}, + /** When scanning shares, this bitmask is consulted for every + * regular file. Unless the file's mode has the bits specified by + * this mask set, it will not be shared. */ {CONF_VAR_INT, "scanfilemask", {.num = 0004}}, + /** When scanning shares, this bitmask is consulted for every + * directory encountered. Unless the directory's mode has the bits + * specified by this mask set, it will be ignored and any files + * under it will not be shared. */ {CONF_VAR_INT, "scandirmask", {.num = 0005}}, + /** The filename to use for the hash cache (see the FILES section + * for more information). */ {CONF_VAR_STRING, "hashcache", {.str = L"dc-hashcache"}}, {CONF_VAR_END} };