]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
doxygen: add @file declarations for src/core/mainloop
authorNick Mathewson <nickm@torproject.org>
Sat, 26 Oct 2019 15:13:29 +0000 (11:13 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 26 Oct 2019 15:26:06 +0000 (11:26 -0400)
If a file doesn't use the file command (either \file or @file),
Doxygen won't try to process it.

src/core/mainloop/mainloop_pubsub.c
src/core/mainloop/mainloop_pubsub.h
src/core/mainloop/mainloop_sys.c
src/core/mainloop/mainloop_sys.h
src/core/mainloop/netstatus.c
src/core/mainloop/netstatus.h
src/core/mainloop/periodic.h

index 53275d811950bbf48f3272a8781b1159b0137fe2..764a1b0cc9a8cc03e735b95d103ae6cfcec49976 100644 (file)
@@ -4,6 +4,15 @@
  * Copyright (c) 2007-2018, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file mainloop_pubsub.c
+ * @brief Connect the publish-subscribe code to the main-loop.
+ *
+ * This module is responsible for instantiating all the channels used by the
+ * publish-subscribe code, and making sure that each one's messages are
+ * processed when appropriate.
+ **/
+
 #include "orconfig.h"
 
 #include "core/or/or.h"
index 365a3dd565c11522fdcb82d6217fc109a0ab25f0..bd57c0c1744c842ff672215e9936129111cf9add 100644 (file)
@@ -4,6 +4,11 @@
  * Copyright (c) 2007-2018, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file mainloop_pubsub.h
+ * @brief Header for mainloop_pubsub.c
+ **/
+
 #ifndef TOR_MAINLOOP_PUBSUB_H
 #define TOR_MAINLOOP_PUBSUB_H
 
index fbd5a40327a7aaa8adc0c153169dc92b5ca69061..f14ecb261bcfb892f5d99fcc601f23fc140da3f9 100644 (file)
@@ -4,6 +4,11 @@
  * Copyright (c) 2007-2019, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file mainloop_sys.c
+ * @brief Declare the "mainloop" subsystem.
+ **/
+
 #include "core/or/or.h"
 #include "core/mainloop/mainloop_sys.h"
 #include "core/mainloop/mainloop.h"
index fa74fe5d4b157be3bf529a8921d2e10326165048..434a25a44ba382cb119c4c72f0b7e8b537cc2634 100644 (file)
@@ -4,6 +4,11 @@
  * Copyright (c) 2007-2019, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file mainloop_sys.h
+ * @brief Header for mainloop_sys.c
+ **/
+
 #ifndef MAINLOOP_SYS_H
 #define MAINLOOP_SYS_H
 
index 49248885984510fdb3980b7793b681448bd4040a..c34e613d1f158bd61bc4adf4d355a3a7a6f8e9fa 100644 (file)
@@ -4,6 +4,11 @@
  * Copyright (c) 2007-2019, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file netstatus.c
+ * @brief Track whether the network is disabled, dormant, etc.
+ **/
+
 #include "core/or/or.h"
 #include "core/mainloop/netstatus.h"
 #include "core/mainloop/mainloop.h"
index e8469ff558450701762b21a0f6e227e2fe32457e..ce3d2e23f99d1a697c8df8a9fbb2f60219720241 100644 (file)
@@ -4,6 +4,11 @@
  * Copyright (c) 2007-2019, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file netstatus.h
+ * @brief Header for netstatus.c
+ **/
+
 #ifndef TOR_NETSTATUS_H
 #define TOR_NETSTATUS_H
 
index 0f80748f5593980339f071a4f3d45b68b5348eeb..34fb9cc5ae684772690d05845345814ea94bcf22 100644 (file)
@@ -1,6 +1,11 @@
 /* Copyright (c) 2015-2019, The Tor Project, Inc. */
 /* See LICENSE for licensing information */
 
+/**
+ * @file periodic.h
+ * @brief Header for periodic.c
+ **/
+
 #ifndef TOR_PERIODIC_H
 #define TOR_PERIODIC_H