diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-04 21:54:09 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-04 21:54:09 +0000 |
commit | 80fa9689b70e80fe7701832469e122d3261a2e87 (patch) | |
tree | 0db4074bf85b66c9959784a6b85951b548f8d773 /include/asterisk/utils.h | |
parent | 223c0c303a25fa0fa4dc7f81d233f6ce46380098 (diff) |
add memory-pool based string field management for structures
convert chan_sip sip_pvt and sip_registry structures to use string fields
add 'const' qualifiers to a few API calls that don't modify their input strings
add an asprintf() wrapper to astmm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index b6b85df4e..8e1c5a9dd 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -1,7 +1,7 @@ /* * Asterisk -- An open source telephony toolkit. * - * Copyright (C) 1999 - 2005, Digium, Inc. + * Copyright (C) 1999 - 2006, Digium, Inc. * * Mark Spencer <markster@digium.com> * @@ -162,7 +162,7 @@ int ast_base64decode(unsigned char *dst, const char *src, int max); \param doreserved Convert reserved characters */ -char *ast_uri_encode(char *string, char *outbuf, int buflen, int doreserved); +char *ast_uri_encode(const char *string, char *outbuf, int buflen, int doreserved); /*! \brief Decode URI, URN, URL (overwrite string) \param s String to be decoded |