aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-11-10 00:48:13 +0000
committerRoger Dingledine <arma@torproject.org>2008-11-10 00:48:13 +0000
commitc62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde (patch)
tree796bdf8a61d677964fa588c0f83d821162f1b7c7
parent0554e87f58216a0abefb3867278103f39ee63814 (diff)
downloadtor-c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde.tar.gz
tor-c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde.zip
beg nick for some documentation on the locking functions
svn:r17233
-rw-r--r--src/common/compat.c1
-rw-r--r--src/or/main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index bf7e27e186..11455356ed 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -481,6 +481,7 @@ struct tor_lockfile_t {
int fd;
};
+/** DOCDOC. What's this function do? */
tor_lockfile_t *
tor_lockfile_lock(const char *filename, int blocking, int *locked_out)
{
diff --git a/src/or/main.c b/src/or/main.c
index 47af2d01ed..c65a5a3a5e 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1861,6 +1861,7 @@ tor_init(int argc, char *argv[])
static tor_lockfile_t *lockfile = NULL;
+/** DOCDOC. What's this function do? */
int
try_locking(or_options_t *options, int err_if_locked)
{