diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-20 21:35:18 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-20 21:35:18 +0000 |
commit | b050a91a1fe4b7d3b3ccfdd06db44c1d4ebd008e (patch) | |
tree | 4a43b5b74ed3116b5abf6febaaf09127ffc509f6 /include | |
parent | c9f4de6313ac72839f13ee3374a68bfd29ca41cd (diff) |
Merged revisions 177664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r177664 | tilghman | 2009-02-20 11:29:51 -0600 (Fri, 20 Feb 2009) | 8 lines
Allow semicolons to be escaped, when passing arguments to the System command.
(closes issue #14231)
Reported by: jcovert
Patches:
20090113__bug14231__2.diff.txt uploaded by Corydon76 (license 14)
corrected_20090113__bug14231__2.diff.txt uploaded by jcovert (license 551)
Tested by: jcovert
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@177761 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/app.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 1e8e09cb7..bc61aa561 100644 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -491,6 +491,9 @@ int ast_get_encoded_char(const char *stream, char *result, size_t *consumed); /*! \brief Decode a string which may contain multiple encoded control or extended ASCII characters */ int ast_get_encoded_str(const char *stream, char *result, size_t result_size); +/*! \brief Decode a stream of encoded control or extended ASCII characters */ +int ast_str_get_encoded_str(struct ast_str **str, int maxlen, const char *stream); + /*! \brief Common routine for child processes, to close all fds prior to exec(2) */ void ast_close_fds_above_n(int n); |