From d5e9c59b9fbb482ade1ca4b22616288dc396619e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Jan 2000 23:53:10 +0000 Subject: [PATCH] fixes --- include/curl/curl.beos-patch | 46 ------------------------------------ include/curl/curl.h | 9 ++++--- 2 files changed, 6 insertions(+), 49 deletions(-) delete mode 100644 include/curl/curl.beos-patch diff --git a/include/curl/curl.beos-patch b/include/curl/curl.beos-patch deleted file mode 100644 index 67bab368e..000000000 --- a/include/curl/curl.beos-patch +++ /dev/null @@ -1,46 +0,0 @@ -Index: include/curl/curl.h -=================================================================== -RCS file: /cvs/curl/curl/include/curl/curl.h,v -retrieving revision 1.5 -diff -u -r1.5 curl.h ---- curl.h 1999/11/23 08:22:42 1.5 -+++ curl.h 1999/11/24 16:19:11 -@@ -365,9 +365,13 @@ - TIMECOND_LAST - } TimeCond; - -+#ifdef __BEOS__ -+#include -+#else - #ifndef __cplusplus /* (rabe) */ - typedef char bool; - #endif /* (rabe) */ -+#endif - - /********************************************************************** - * -Index: include/curl/setup.h -=================================================================== -RCS file: /cvs/curl/curl/include/curl/setup.h,v -retrieving revision 1.2 -diff -u -r1.2 setup.h ---- setup.h 1999/10/17 11:18:34 1.2 -+++ setup.h 1999/11/24 16:19:11 -@@ -139,10 +139,17 @@ - #define DOT_CHAR "_" - - #else -+#ifdef __BEOS__ -+#define sclose(x) closesocket(x) -+#define sread(x,y,z) recv(x,y,z,0) -+#define swrite(x,y,z) send(x,y,z,0) -+#define myalarm(x) alarm(x) -+#else - #define sclose(x) close(x) - #define sread(x,y,z) read(x,y,z) - #define swrite(x,y,z) write(x,y,z) - #define myalarm(x) alarm(x) -+#endif - - #define PATH_CHAR ":" - #define DIR_CHAR "/" diff --git a/include/curl/curl.h b/include/curl/curl.h index a74625dbd..dbb39304f 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -357,14 +357,17 @@ typedef enum { HTTP: DELETE, TRACE and others FTP: to use a different list command */ - T(CUSTOMREQUEST, OBJECTPOINT, 35), + T(CUSTOMREQUEST, OBJECTPOINT, 36), /* HTTP request, for odd commands like DELETE, TRACE and others */ - T(STDERR, OBJECTPOINT, 36), + T(STDERR, OBJECTPOINT, 37), /* Progress mode sets alternative progress mode displays, the only one defined today is 1 which makes the #-style progress bar. */ - T(PROGRESSMODE, LONG, 37), + T(PROGRESSMODE, LONG, 38), + + /* send linked-list of post-transfer QUOTE commands */ + T(POSTQUOTE, OBJECTPOINT, 39), URGTAG_LASTENTRY /* the last unusued */ } UrgTag;