aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-17 14:21:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-17 14:21:07 +0000
commita03cdd7e83fb4b698e2450e9e9db7e433dabe184 (patch)
tree31ec3efb1d91669f74758b01ccc8bc9bb8016bee
parentf9155568c6b95b3bf834a474bb2bd250c0d90607 (diff)
curl_formfree() added
-rw-r--r--include/curl/curl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index f0a17011a..d554b8187 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -454,6 +454,9 @@ int curl_formparse(char *string,
struct HttpPost **httppost,
struct HttpPost **last_post);
+/* cleanup a form: */
+void curl_formfree(struct HttpPost *form);
+
/* Unix and Win32 getenv function call, this returns a malloc()'ed string that
MUST be free()ed after usage is complete. */
char *curl_getenv(char *variable);
@@ -462,7 +465,7 @@ char *curl_getenv(char *variable);
char *curl_version(void);
/* This is the version number */
-#define LIBCURL_VERSION "7.4.2-pre2"
+#define LIBCURL_VERSION "7.4.2"
#define LIBCURL_VERSION_NUM 0x070402
/* linked-list structure for the CURLOPT_QUOTE option (and other) */