return (buf);
}
-/*
- * rfc1738_escape - Returns a buffer that contains the RFC
- * 1738 compliant, escaped version of the given url. (escapes unsafe and % characters)
- */
-char *
-rfc1738_escape(TALLOC_CTX *mem_ctx, const char *url)
-{
- return rfc1738_do_escape(mem_ctx, url, 0);
-}
-
-/*
- * rfc1738_escape_unescaped - Returns a buffer that contains
- * the RFC 1738 compliant, escaped version of the given url (escapes unsafe chars only)
- */
-char *
-rfc1738_escape_unescaped(TALLOC_CTX *mem_ctx, const char *url)
-{
- return rfc1738_do_escape(mem_ctx, url, -1);
-}
-
/*
* rfc1738_escape_part - Returns a buffer that contains the RFC
* 1738 compliant, escaped version of the given url segment. (escapes
**/
_PUBLIC_ char *rfc1738_unescape(char *buf);
-
-/**
- * rfc1738_escape
- * Returns a static buffer that contains the RFC
- * 1738 compliant, escaped version of the given url. (escapes unsafe and % characters)
- **/
-_PUBLIC_ char *rfc1738_escape(TALLOC_CTX *mem_ctx, const char *url);
-
-/**
- * rfc1738_escape_unescaped
- *
- * Returns a static buffer that contains
- * the RFC 1738 compliant, escaped version of the given url (escapes unsafe chars only)
- **/
-_PUBLIC_ char *rfc1738_escape_unescaped(TALLOC_CTX *mem_ctx, const char *url);
-
/**
* rfc1738_escape_part
* Returns a static buffer that contains the RFC