aboutsummaryrefslogtreecommitdiff
path: root/src/or/ntmain.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-12 20:20:52 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-12 20:20:52 +0000
commitf3eaeb99a3e3f11d3227778f4a0191c923df992b (patch)
treea9fed8c6e04bffc5d2649f71568099403af69978 /src/or/ntmain.c
parentdc94b1a226c21b5ac337d79f51bc10cd91b42e04 (diff)
downloadtor-f3eaeb99a3e3f11d3227778f4a0191c923df992b.tar.gz
tor-f3eaeb99a3e3f11d3227778f4a0191c923df992b.zip
r18051@catbus: nickm | 2008-02-12 15:20:43 -0500
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
Diffstat (limited to 'src/or/ntmain.c')
-rw-r--r--src/or/ntmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c
index 97c9a4299b..06d0af4e00 100644
--- a/src/or/ntmain.c
+++ b/src/or/ntmain.c
@@ -45,6 +45,8 @@ static int nt_service_remove(void);
static int nt_service_cmd_start(void);
static int nt_service_cmd_stop(void);
+/** Struct to hold dynamically loaded NT-service related function pointers.
+ */
struct service_fns {
int loaded;