diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-26 11:13:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-26 11:13:29 -0400 |
commit | 39d09ea0810f74a7666d9d694903780a14b48ca2 (patch) | |
tree | e001b17f1d896520a21bf0a21e4b44433c5d5e6a /src/lib/net | |
parent | e7993dc046a099075bc5f9f65a7bb1601686d03c (diff) | |
download | tor-39d09ea0810f74a7666d9d694903780a14b48ca2.tar.gz tor-39d09ea0810f74a7666d9d694903780a14b48ca2.zip |
doxygen: add @file declarations for src/lib
If a file doesn't use the file command (either \file or @file),
Doxygen won't try to process it.
These declarations also turned up a doxygen warning for
crypto_ope.c; I fixed that too.
Diffstat (limited to 'src/lib/net')
-rw-r--r-- | src/lib/net/socketpair.c | 5 | ||||
-rw-r--r-- | src/lib/net/socketpair.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/net/socketpair.c b/src/lib/net/socketpair.c index f3a0c3770a..aa88c58266 100644 --- a/src/lib/net/socketpair.c +++ b/src/lib/net/socketpair.c @@ -2,6 +2,11 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2019, The Tor Project, Inc. */ +/** + * @file socketpair.c + * @brief Replacement socketpair() for systems that lack it + **/ + #include "lib/cc/torint.h" #include "lib/net/socketpair.h" #include "lib/net/inaddr_st.h" diff --git a/src/lib/net/socketpair.h b/src/lib/net/socketpair.h index 5820606973..c2e99d505e 100644 --- a/src/lib/net/socketpair.h +++ b/src/lib/net/socketpair.h @@ -6,6 +6,11 @@ #ifndef TOR_SOCKETPAIR_H #define TOR_SOCKETPAIR_H +/** + * @file socketpair.h + * @brief Header for socketpair.c + **/ + #include "orconfig.h" #include "lib/testsupport/testsupport.h" #include "lib/net/nettypes.h" |