From: Daniel Stenberg Date: Thu, 2 Mar 2000 23:07:25 +0000 (+0000) Subject: Added the WRITEINFO tag X-Git-Tag: upstream/7.37.1~17917 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce9c2e6d2f9d5eff7d3c97fb5c485089d39eaba6;p=platform%2Fupstream%2Fcurl.git Added the WRITEINFO tag --- diff --git a/include/curl/curl.h b/include/curl/curl.h index dbb3930..192c51f 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 {