diff options
author | Joshua Colp <jcolp@digium.com> | 2017-11-21 07:14:32 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-11-21 07:14:32 -0600 |
commit | 090ce0cd1b30b58c35577efaf14283eedd84d236 (patch) | |
tree | 20af9830ede8c81cb68ece92f89a63a2c0314cf5 /main | |
parent | 4e6a0d568391e51453711a0b31fb133840e41d01 (diff) | |
parent | 84fd41729e9ca1a96d72d8a3fc6a0f331f819a0f (diff) |
Merge "loader: Fix comments in struct ast_module." into 13
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 7b7066f9f..7d792b08e 100644 --- a/main/loader.c +++ b/main/loader.c @@ -120,15 +120,21 @@ static int modules_loaded; struct ast_module { const struct ast_module_info *info; #ifdef REF_DEBUG - /* Used to get module references into REF_DEBUG logs */ + /*! Used to get module references into refs log */ void *ref_debug; #endif - 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; |