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
This commit is contained in:
Corey Farrell
2017-11-19 22:23:44 -05:00
parent 1e68c8e738
commit 84fd41729e

View File

@@ -120,15 +120,21 @@ static int modules_loaded;
struct ast_module { struct ast_module {
const struct ast_module_info *info; const struct ast_module_info *info;
#ifdef REF_DEBUG #ifdef REF_DEBUG
/* Used to get module references into REF_DEBUG logs */ /*! Used to get module references into refs log */
void *ref_debug; void *ref_debug;
#endif #endif
void *lib; /* the shared lib, or NULL if embedded */ /*! The shared lib. */
int usecount; /* the number of 'users' currently in this module */ void *lib;
struct module_user_list users; /* the list of users in the module */ /*! Number of 'users' and other references currently holding the module. */
int usecount;
/*! List of users holding the module. */
struct module_user_list users;
struct { struct {
/*! The module running and ready to accept requests. */
unsigned int running:1; unsigned int running:1;
/*! The module has declined to start. */
unsigned int declined:1; unsigned int declined:1;
/*! This module is being held open until it's time to shutdown. */
unsigned int keepuntilshutdown:1; unsigned int keepuntilshutdown:1;
} flags; } flags;
AST_LIST_ENTRY(ast_module) list_entry; AST_LIST_ENTRY(ast_module) list_entry;