aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-26 11:13:29 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-26 11:41:43 -0400
commit30c6ab5150248019358addba391cd0a90e9614af (patch)
tree843feddf7f5a3a2cfa06ba166801224b84dee5e0
parent5f299feb8270c07a9c675a83a56e6f027a07f005 (diff)
downloadtor-30c6ab5150248019358addba391cd0a90e9614af.tar.gz
tor-30c6ab5150248019358addba391cd0a90e9614af.zip
doxygen: add @file declarations for src/app
If a file doesn't use the file command (either \file or @file), Doxygen won't try to process it.
-rw-r--r--src/app/config/quiet_level.c5
-rw-r--r--src/app/main/subsysmgr.c8
-rw-r--r--src/app/main/subsysmgr.h5
-rw-r--r--src/app/main/subsystem_list.c5
4 files changed, 23 insertions, 0 deletions
diff --git a/src/app/config/quiet_level.c b/src/app/config/quiet_level.c
index f00d6b5a3b..84bc0149b8 100644
--- a/src/app/config/quiet_level.c
+++ b/src/app/config/quiet_level.c
@@ -4,6 +4,11 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * @file quiet_level.c
+ * @brief Code to handle default logging level (quiet/hush/normal).
+ **/
+
#include "orconfig.h"
#include "lib/log/log.h"
#include "app/config/quiet_level.h"
diff --git a/src/app/main/subsysmgr.c b/src/app/main/subsysmgr.c
index 5aa4fd76c9..1f4bc840f2 100644
--- a/src/app/main/subsysmgr.c
+++ b/src/app/main/subsysmgr.c
@@ -3,6 +3,14 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * @file subsysmgr.c
+ * @brief Manager for Tor's subsystems.
+ *
+ * This code is responsible for initializing, configuring, and shutting
+ * down all of Tor's individual subsystems.
+ **/
+
#include "orconfig.h"
#include "app/main/subsysmgr.h"
diff --git a/src/app/main/subsysmgr.h b/src/app/main/subsysmgr.h
index d4426614e3..f8bc83e0ad 100644
--- a/src/app/main/subsysmgr.h
+++ b/src/app/main/subsysmgr.h
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * @file subsysmgr.h
+ * @brief Header for subsysmgr.c
+ **/
+
#ifndef TOR_SUBSYSMGR_T
#define TOR_SUBSYSMGR_T
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c
index 1af9340c1a..4a40702e70 100644
--- a/src/app/main/subsystem_list.c
+++ b/src/app/main/subsystem_list.c
@@ -3,6 +3,11 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * @file subsystem_list.c
+ * @brief List of Tor's subsystems.
+ **/
+
#include "orconfig.h"
#include "app/main/subsysmgr.h"
#include "lib/cc/compat_compiler.h"