summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-11-19 22:23:44 -0500
committerCorey Farrell <git@cfware.com>2017-11-20 19:20:40 -0500
commit10b4b5d200f8ad703206588220b59f4fbbc20387 (patch)
tree3c4dc7c955333ddce1725ef05ab6715cfad941d3
parenta2caade298f1c702b34c999ec9c5750cdbb7e508 (diff)
loader: Fix comments in struct ast_module.
Make the comments follow doxygen format, move comments to the line before each field they describe. Change-Id: Ic445468398b5e88f13910f7c2f70bd15aad33a27
-rw-r--r--main/loader.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/loader.c b/main/loader.c
index add6a4209..223897514 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -117,14 +117,20 @@ static int modules_loaded;
struct ast_module {
const struct ast_module_info *info;
- /* Used to get module references into refs log */
+ /*! Used to get module references into refs log */
void *ref_debug;
- void *lib; /* the shared lib, or NULL if embedded */
- int usecount; /* the number of 'users' currently in this module */
- struct module_user_list users; /* the list of users in the module */
+ /*! The shared lib. */
+ void *lib;
+ /*! Number of 'users' and other references currently holding the module. */
+ int usecount;
+ /*! List of users holding the module. */
+ struct module_user_list users;
struct {
+ /*! The module running and ready to accept requests. */
unsigned int running:1;
+ /*! The module has declined to start. */
unsigned int declined:1;
+ /*! This module is being held open until it's time to shutdown. */
unsigned int keepuntilshutdown:1;
} flags;
AST_LIST_ENTRY(ast_module) list_entry;