summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-12-18 15:38:50 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-12-18 15:38:50 +0000
commitccebf3511ce53634e1423a3bb2995a6e47a6e27d (patch)
tree78b512e0d17d9e20a9d7d06c5df6ed451fe520af /include/asterisk
parent684e4dc3731d1047ec82aa9d24ed65588bc29210 (diff)
convert the final clients of ast_build_string to use ast_str_*()
Now the only module left using it is chan_sip.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/cdr.h2
-rw-r--r--include/asterisk/pbx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index e6fbe96ff..35f20e6b1 100644
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -96,7 +96,7 @@ struct ast_cdr {
void ast_cdr_getvar(struct ast_cdr *cdr, const char *name, char **ret, char *workspace, int workspacelen, int recur, int raw);
int ast_cdr_setvar(struct ast_cdr *cdr, const char *name, const char *value, int recur);
-int ast_cdr_serialize_variables(struct ast_cdr *cdr, char *buf, size_t size, char delim, char sep, int recur);
+int ast_cdr_serialize_variables(struct ast_cdr *cdr, struct ast_str **buf, char delim, char sep, int recur);
void ast_cdr_free_vars(struct ast_cdr *cdr, int recur);
int ast_cdr_copy_vars(struct ast_cdr *to_cdr, struct ast_cdr *from_cdr);
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index c1a831838..0c94ea323 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -793,7 +793,7 @@ struct ast_ignorepat *ast_walk_context_ignorepats(struct ast_context *con,
struct ast_ignorepat *ip);
struct ast_sw *ast_walk_context_switches(struct ast_context *con, struct ast_sw *sw);
-int pbx_builtin_serialize_variables(struct ast_channel *chan, char *buf, size_t size);
+int pbx_builtin_serialize_variables(struct ast_channel *chan, struct ast_str **buf);
const char *pbx_builtin_getvar_helper(struct ast_channel *chan, const char *name);
void pbx_builtin_pushvar_helper(struct ast_channel *chan, const char *name, const char *value);
void pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const char *value);