aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-23 02:57:14 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-23 02:57:14 +0000
commitb6f867a38ae064b5b50cc03dbe800e1adfb80d9c (patch)
tree87afb376f33b66926ff2cf66321280b37768c8a4 /include
parent5f24c0842291b71f9054242a654a6f4acf3172ab (diff)
move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
clean up some formatting remove some commented out reference code move unload_module in pbx_ael down to be with the rest of the standard module functions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6630 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index 2cefbacb3..992bccde0 100755
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -191,4 +191,12 @@ static inline int inaddrcmp(const struct sockaddr_in *sin1, const struct sockadd
#define ast_pthread_create(a,b,c,d) ast_pthread_create_stack(a,b,c,d,0)
extern int ast_pthread_create_stack(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data, size_t stacksize);
+/*!
+ \brief Process a string to find and replace characters
+ \param start The string to analyze
+ \param find The character to find
+ \param replace_with The character that will replace the one we are looking for
+*/
+char *ast_process_quotes_and_slashes(char *start, char find, char replace_with);
+
#endif /* _ASTERISK_UTILS_H */