X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=include%2Fasterisk%2F_private.h;h=7963f3121ab98844d4ff8e18e9b2d20b0d0c46bc;hp=b6b26597e9ce94a1b9561298802deed0207f8e26;hb=36f1eaf0b593a9a5d708f92965e571c587e84127;hpb=0e8c6302240c78d6b86284aaeab25693c1c6d444 diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h index b6b2659..7963f31 100644 --- a/include/asterisk/_private.h +++ b/include/asterisk/_private.h @@ -8,7 +8,7 @@ * * \brief * Prototypes for public functions only of internal interest, - * + * */ @@ -17,24 +17,32 @@ int load_modules(unsigned int); /*!< Provided by loader.c */ int load_pbx(void); /*!< Provided by pbx.c */ +int load_pbx_builtins(void); /*!< Provided by pbx_builtins.c */ +int load_pbx_functions_cli(void); /*!< Provided by pbx_functions.c */ +int load_pbx_variables(void); /*!< Provided by pbx_variables.c */ +int load_pbx_switch(void); /*!< Provided by pbx_switch.c */ +int load_pbx_app(void); /*!< Provided by pbx_app.c */ +int load_pbx_hangup_handler(void); /*!< Provided by pbx_hangup_handler.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 */ +void logger_queue_start(void); /*!< Provided by logger.c */ +void clean_time_zones(void); /*!< Provided by localtime.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 ast_cli_perms_init(int reload); /*!< Provided by cli.c */ -int dnsmgr_init(void); /*!< Provided by dnsmgr.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 */ +int ast_dns_system_resolver_init(void); /*!< Provided by dns_system_resolver.c */ void threadstorage_init(void); /*!< Provided by threadstorage.c */ -int 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 */ int ast_features_init(void); /*!< Provided by features.c */ void ast_autoservice_init(void); /*!< Provided by autoservice.c */ +int ast_data_init(void); /*!< Provided by data.c */ int ast_http_init(void); /*!< Provided by http.c */ int ast_http_reload(void); /*!< Provided by http.c */ int ast_tps_init(void); /*!< Provided by taskprocessor.c */ @@ -44,24 +52,29 @@ int ast_indications_reload(void);/*!< Provided by indications.c */ void ast_stun_init(void); /*!< Provided by stun.c */ int ast_cel_engine_init(void); /*!< Provided by cel.c */ int ast_cel_engine_reload(void); /*!< Provided by cel.c */ -int ast_ssl_init(void); /*!< Porvided by ssl.c */ +int ast_ssl_init(void); /*!< Provided by ssl.c */ +int ast_test_init(void); /*!< Provided by test.c */ +int ast_msg_init(void); /*!< Provided by message.c */ +void ast_msg_shutdown(void); /*!< Provided by message.c */ +int aco_init(void); /*!< Provided by config_options.c */ /*! - * \brief Reload asterisk modules. - * \param name the name of the module to reload + * \brief Initialize the bridging system. + * \since 12.0.0 * - * This function reloads the specified module, or if no modules are specified, - * it will reload all loaded modules. + * \retval 0 on success. + * \retval -1 on error. + */ +int ast_bridging_init(void); + +/*! + * \brief Initialize the local proxy channel. + * \since 12.0.0 * - * \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. + * \retval 0 on success. + * \retval -1 on error. */ -int ast_module_reload(const char *name); +int ast_local_init(void); /*! * \brief Process reload requests received during startup. @@ -75,10 +88,36 @@ int ast_module_reload(const char *name); */ void ast_process_pending_reloads(void); -/*! \brief Load XML documentation. Provided by xmldoc.c +/*! \brief Load XML documentation. Provided by xmldoc.c * \retval 1 on error. - * \retval 0 on success. + * \retval 0 on success. */ int ast_xmldoc_load_documentation(void); +/*! + * \brief Reload genericplc configuration value from codecs.conf + * + * Implementation is in main/channel.c + */ +int ast_plc_reload(void); + +/*! \brief initializes the rtp engine arrays */ +int ast_rtp_engine_init(void); + +/*! + * \brief initializes the rtp engine arrays + * \since 12.0.0 + */ +int ast_parking_stasis_init(void); + +/*! \brief initialize the sounds index */ +int ast_sounds_index_init(void); + +/*! + * \brief Endpoint support initialization. + * \return 0 on success. + * \return Non-zero on error. + */ +int ast_endpoint_init(void); + #endif /* _ASTERISK__PRIVATE_H */