From ccebf3511ce53634e1423a3bb2995a6e47a6e27d Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Mon, 18 Dec 2006 15:38:50 +0000 Subject: 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 --- include/asterisk/cdr.h | 2 +- include/asterisk/pbx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asterisk') 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); -- cgit v1.2.3