diff options
author | Joshua Colp <jcolp@digium.com> | 2017-11-21 07:46:16 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-11-21 07:46:16 -0600 |
commit | e472aee810e183ef841c6288b6b561af753d99fd (patch) | |
tree | a054c9c771c6c6ebf07af8686294eb84c6f65fff /main | |
parent | e7f02814721532d5b06d604afa60b89a96947755 (diff) | |
parent | 50e0e000c6fb48eb5967babbea9bea7a1965479d (diff) |
Merge "loader: Fix comments in struct ast_module." into 15
Diffstat (limited to 'main')
-rw-r--r-- | main/loader.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/loader.c b/main/loader.c index fc3e9a374..19e30f835 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; |