aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-21 16:07:11 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-21 16:07:11 +0000
commit6d30ebbac73fc84a14ac145fab5a0b24ca0b15ef (patch)
treee5c9e2a613cdf11370ad37524fed947af098b5ae /utils
parent606225a56840955ef3ab88164c53701ce6b94b9e (diff)
move these forward declarations back to asterisk.h where they belong... even though asterisk.h includes compat.h, these declarations have nothing to do with the being platform-compatible and are directly related to being part of Asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89482 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/ael_main.c30
-rw-r--r--utils/conf2ael.c20
2 files changed, 14 insertions, 36 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c
index d6bb6aa8e..4ce78bc9e 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -4,7 +4,7 @@
#include <regex.h>
#include <limits.h>
-#include "asterisk/compat.h"
+#include "asterisk.h"
#include "asterisk/channel.h"
#include "asterisk/ast_expr.h"
#include "asterisk/module.h"
@@ -75,10 +75,7 @@ char last_exten[18000];
char ast_config_AST_CONFIG_DIR[PATH_MAX];
char ast_config_AST_VAR_DIR[PATH_MAX];
-void ast_add_profile(void);
void ast_cli_register_multiple(void);
-void ast_register_file_version(void);
-void ast_unregister_file_version(void);
int ast_add_extension2(struct ast_context *con,
int replace, const char *extension, int priority, const char *label, const char *callerid,
const char *application, void *data, void (*datad)(void *),
@@ -155,11 +152,20 @@ struct ast_custom_function *ast_custom_function_find(const char *name)
return 0; /* in "standalone" mode, functions are just not avail */
}
+void ast_register_file_version(const char *file, const char *version)
+{
+}
-void ast_add_profile(void)
+void ast_unregister_file_version(const char *file)
+{
+}
+
+int ast_add_profile(const char *x, uint64_t scale)
{
if (!no_comp)
printf("Executed ast_add_profile();\n");
+
+ return 0;
}
int ast_loader_register(int (*updater)(void))
@@ -186,20 +192,6 @@ void ast_cli_register_multiple(void)
printf("Executed ast_cli_register_multiple();\n");
}
-void ast_register_file_version(void)
-{
- /* if(!no_comp)
- printf("Executed ast_register_file_version();\n"); */
- /* I'm erasing this, because I don't think anyone really ever needs to see it anyway */
-}
-
-void ast_unregister_file_version(void)
-{
- /* if(!no_comp)
- printf("Executed ast_unregister_file_version();\n"); */
- /* I'm erasing this, because I don't think anyone really ever needs to see it anyway */
-
-}
void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count);
void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count)
{
diff --git a/utils/conf2ael.c b/utils/conf2ael.c
index 02e78297e..7359baef3 100644
--- a/utils/conf2ael.c
+++ b/utils/conf2ael.c
@@ -42,7 +42,7 @@
#include <regex.h>
#include <limits.h>
-#include "asterisk/compat.h"
+#include "asterisk.h"
#include "asterisk/pbx.h"
#include "asterisk/ast_expr.h"
#include "asterisk/channel.h"
@@ -80,26 +80,12 @@ char ast_config_AST_SYSTEM_NAME[20] = ""; */
/* static AST_RWLIST_HEAD_STATIC(acf_root, ast_custom_function); */
extern char ast_config_AST_CONFIG_DIR[PATH_MAX];
-/* modulation */
-void ast_add_profile(void);
-void ast_register_file_version(void);
-void ast_unregister_file_version(void);
-
-void ast_add_profile(void)
-{
-}
-void ast_register_file_version(void)
+void ast_register_file_version(const char *file, const char *version)
{
- /* if(!no_comp)
- printf("Executed ast_register_file_version();\n"); */
- /* I'm erasing this, because I don't think anyone really ever needs to see it anyway */
}
-void ast_unregister_file_version(void)
+void ast_unregister_file_version(const char *file)
{
- /* if(!no_comp)
- printf("Executed ast_unregister_file_version();\n"); */
- /* I'm erasing this, because I don't think anyone really ever needs to see it anyway */
}
/* Our own version of ast_log, since the expr parser uses it. -- stolen from utils/check_expr.c */