diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-08-02 07:16:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-08-02 07:16:26 +0000 |
commit | 1f32da93d7bbe7b7ec99ad565ea8c3c5c6c2a632 (patch) | |
tree | e34f22a881b423158a9cb7fa22cc0f310523653a /include | |
parent | e5c792d4e63fc0d47175423617ca05b3b51d8879 (diff) |
Added the strequal() prototypes here
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 207befe5b..289c8af94 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -395,11 +395,16 @@ typedef char bool; #endif /* (rabe) */ #endif -#if 0 -/* At last, I stand here in front of you today and can officially proclaim - this function prototype as history... 17th of May, 2000 */ -UrgError curl_urlget(UrgTag, ...); -#endif + +/* These functions are in the libcurl, they're here for portable reasons and + they are used by the 'curl' client. They really should be moved to some kind + of "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 (strequal)(const char *s1, const char *s2); +extern int (strnequal)(const char *s1, const char *s2, size_t n); /* external form function */ int curl_formparse(char *string, @@ -414,8 +419,8 @@ char *curl_getenv(char *variable); char *curl_version(void); /* This is the version number */ -#define LIBCURL_VERSION "7.0.11test" -#define LIBCURL_VERSION_NUM 0x07000b +#define LIBCURL_VERSION "7.0.12test" +#define LIBCURL_VERSION_NUM 0x07000c /* linked-list structure for the CURLOPT_QUOTE option */ struct curl_slist { |