deprecated functions

This commit is contained in:
Daniel Stenberg
2004-04-30 10:34:54 +00:00
parent 7356a67780
commit 34be9df773

View File

@@ -848,13 +848,8 @@ typedef enum {
#endif #endif
/* These functions are in libcurl, they're here for portable reasons and they /* curl_strequal() and curl_strnequal() are subject for removal in a future
are used by the 'curl' client. They really should be moved to some kind of libcurl, see lib/README.curlx for details */
"portability library" since it has nothing to do with file transfers and
might be usable to other programs...
NOTE: they return TRUE if the strings match *case insensitively*.
*/
extern int (curl_strequal)(const char *s1, const char *s2); extern int (curl_strequal)(const char *s1, const char *s2);
extern int (curl_strnequal)(const char *s1, const char *s2, size_t n); extern int (curl_strnequal)(const char *s1, const char *s2, size_t n);
@@ -970,7 +965,7 @@ void curl_formfree(struct curl_httppost *form);
* DESCRIPTION * DESCRIPTION
* *
* Returns a malloc()'ed string that MUST be curl_free()ed after usage is * Returns a malloc()'ed string that MUST be curl_free()ed after usage is
* complete. * complete. DEPRECATED - see lib/README.curlx
*/ */
char *curl_getenv(const char *variable); char *curl_getenv(const char *variable);