summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-03-02 23:07:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-03-02 23:07:25 +0000
commitce9c2e6d2f9d5eff7d3c97fb5c485089d39eaba6 (patch)
tree0a4654e58d6c02fc87c7bb0ee9a57a8d6a7bd3b9
parentb0936b800719f915ff2a59af61ecbcc08f7bcfd8 (diff)
downloadgnurl-ce9c2e6d2f9d5eff7d3c97fb5c485089d39eaba6.tar.gz
gnurl-ce9c2e6d2f9d5eff7d3c97fb5c485089d39eaba6.tar.bz2
gnurl-ce9c2e6d2f9d5eff7d3c97fb5c485089d39eaba6.zip
Added the WRITEINFO tag
-rw-r--r--include/curl/curl.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index dbb39304f..192c51f88 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1,5 +1,5 @@
-#ifndef __URL_H
-#define __URL_H
+#ifndef __CURL_H
+#define __CURL_H
/*****************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -112,14 +112,6 @@
#define CONF_LDAP (1<<31) /* LDAP:// protocol */
-#ifdef MULTIDOC
-struct MoreDoc {
- struct MoreDoc *next; /* next entry in the list */
- char *path; /* pointer to allocated path */
- FILE *store; /* where to put the doc */
-};
-#endif
-
struct HttpHeader {
struct HttpHeader *next; /* next entry in the list */
char *header; /* pointer to allocated line without newline */
@@ -136,7 +128,6 @@ struct HttpPost {
#define HTTPPOST_FILENAME (1<<0) /* specified content is a file name */
};
-
/* All possible error codes from this version of urlget(). Future versions
may return other values, stay prepared. */
@@ -369,6 +360,10 @@ typedef enum {
/* send linked-list of post-transfer QUOTE commands */
T(POSTQUOTE, OBJECTPOINT, 39),
+ /* Pass a pointer to string of the output using full variable-replacement
+ as described elsewhere. */
+ T(WRITEINFO, OBJECTPOINT, 40),
+
URGTAG_LASTENTRY /* the last unusued */
} UrgTag;
@@ -423,7 +418,7 @@ char *curl_GetEnv(char *variable);
char *curl_version(void);
/* This is the version number */
-#define LIBCURL_VERSION "6.3.1"
+#define LIBCURL_VERSION "6.5pre1"
/* linked-list structure for QUOTE */
struct curl_slist {