diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-19 00:19:29 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-19 00:19:29 +0000 |
commit | f8247040e6231c4b3b5099ea3a526348b7941566 (patch) | |
tree | 0cc92ad6ebf6ae49a62f6e7ef8ec819121d63630 /trunk/include/asterisk/_private.h | |
parent | d88e56c61ce2042544c1a8a71c93b69ab2e6ffba (diff) |
Creating tag for the release of asterisk-1.6.0-beta1v1.6.0-beta1
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta1@99163 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'trunk/include/asterisk/_private.h')
-rw-r--r-- | trunk/include/asterisk/_private.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/trunk/include/asterisk/_private.h b/trunk/include/asterisk/_private.h new file mode 100644 index 000000000..06163cd53 --- /dev/null +++ b/trunk/include/asterisk/_private.h @@ -0,0 +1,53 @@ +/* + * Prototypes for public functions only of internal interest, + * normally not used by modules. + * What goes here are typically *_init() routines. + */ + +/*! \file + * + * \brief + * Prototypes for public functions only of internal interest, + * + */ + + +#ifndef _ASTERISK__PRIVATE_H +#define _ASTERISK__PRIVATE_H + +int load_modules(unsigned int); /*!< Provided by loader.c */ +int load_pbx(void); /*!< Provided by pbx.c */ +int init_logger(void); /*!< Provided by logger.c */ +void close_logger(void); /*!< Provided by logger.c */ +int init_framer(void); /*!< Provided by frame.c */ +int ast_term_init(void); /*!< Provided by term.c */ +int astdb_init(void); /*!< Provided by db.c */ +void ast_channels_init(void); /*!< Provided by channel.c */ +void ast_builtins_init(void); /*!< Provided by cli.c */ +int dnsmgr_init(void); /*!< Provided by dnsmgr.c */ +void dnsmgr_start_refresh(void); /*!< Provided by dnsmgr.c */ +int dnsmgr_reload(void); /*!< Provided by dnsmgr.c */ +void threadstorage_init(void); /*!< Provided by threadstorage.c */ +void ast_event_init(void); /*!< Provided by event.c */ +int ast_device_state_engine_init(void); /*!< Provided by devicestate.c */ +int astobj2_init(void); /*!< Provided by astobj2.c */ +int ast_file_init(void); /*!< Provided by file.c */ + +/*! + * \brief Reload asterisk modules. + * \param name the name of the module to reload + * + * This function reloads the specified module, or if no modules are specified, + * it will reload all loaded modules. + * + * \note Modules are reloaded using their reload() functions, not unloading + * them and loading them again. + * + * \return 0 if the specified module was not found. + * \retval 1 if the module was found but cannot be reloaded. + * \retval -1 if a reload operation is already in progress. + * \retval 2 if the specfied module was found and reloaded. + */ +int ast_module_reload(const char *name); + +#endif /* _ASTERISK__PRIVATE_H */ |