diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-09-23 02:57:14 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-09-23 02:57:14 +0000 |
commit | 779d033f21780d958990f044f1663367360981a6 (patch) | |
tree | 87afb376f33b66926ff2cf66321280b37768c8a4 /include/asterisk | |
parent | afb00fce12ca90ab8af372b5f867d428be3e4386 (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: https://origsvn.digium.com/svn/asterisk/trunk@6630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-x | include/asterisk/utils.h | 8 |
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 */ |