diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/_private.h | 7 | ||||
-rw-r--r-- | include/asterisk/options.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h index 1258f03df..b630375fc 100644 --- a/include/asterisk/_private.h +++ b/include/asterisk/_private.h @@ -78,4 +78,11 @@ void ast_process_pending_reloads(void); */ 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); + #endif /* _ASTERISK__PRIVATE_H */ diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 45b896a64..f7d99e27e 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -92,6 +92,8 @@ enum ast_option_flags { AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27), /*! Hide remote console connect messages on console */ AST_OPT_FLAG_HIDE_CONSOLE_CONNECT = (1 << 28), + /*! Generic PLC */ + AST_OPT_FLAG_GENERIC_PLC = (1 << 30), }; /*! These are the options that set by default when Asterisk starts */ @@ -128,6 +130,7 @@ enum ast_option_flags { #define ast_opt_light_background ast_test_flag(&ast_options, AST_OPT_FLAG_LIGHT_BACKGROUND) #define ast_opt_force_black_background ast_test_flag(&ast_options, AST_OPT_FLAG_FORCE_BLACK_BACKGROUND) #define ast_opt_hide_connect ast_test_flag(&ast_options, AST_OPT_FLAG_HIDE_CONSOLE_CONNECT) +#define ast_opt_generic_plc ast_test_flag(&ast_options, AST_OPT_FLAG_GENERIC_PLC) extern struct ast_flags ast_options; |