X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Ftransfer.c;h=0bf759ed440b4146e99b461bcda357952e534378;hb=d9f89ef5daa6375fc4ff257826fa39562fbe3ac3;hp=48a3b3a2c051f2aea91439a3efa8ce8acb177d0a;hpb=c458597e9136094237260be626621098cbe54e50;p=doldaconnect.git diff --git a/daemon/transfer.c b/daemon/transfer.c index 48a3b3a..0bf759e 100644 --- a/daemon/transfer.c +++ b/daemon/transfer.c @@ -798,10 +798,23 @@ static int run(void) static struct configvar myvars[] = { + /** The maximum number of simultaneously permitted uploads. A + * common hub rule is that you will need at least as many slots as + * the number of hubs to which you are connected. */ {CONF_VAR_INT, "slots", {.num = 3}}, + /** The TOS value to use for upload connections (see the TOS + * VALUES section). */ {CONF_VAR_INT, "ultos", {.num = SOCK_TOS_MAXTP}}, + /** The TOS value to use for download connections (see the TOS + * VALUES section). */ {CONF_VAR_INT, "dltos", {.num = SOCK_TOS_MAXTP}}, + /** The name of the filter script (see the FILES section for + * lookup information). */ {CONF_VAR_STRING, "filter", {.str = L"dc-filter"}}, + /** If true, only one upload is allowed per remote peer. This + * option is still experimental, so it is recommended to leave it + * off. */ + {CONF_VAR_BOOL, "ulquota", {.num = 0}}, {CONF_VAR_END} };