mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user