aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/http.h5
-rw-r--r--include/util.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/include/http.h b/include/http.h
index 7e6d9d970..5cfd4b396 100644
--- a/include/http.h
+++ b/include/http.h
@@ -49,6 +49,10 @@ typedef enum {
HTTP_REQ_POST = 3
} HTTP_REQ_TYPE;
+enum { /* put flag values into an enum, so that gdb can display them */
+ HTTP_FLAG_TRY_PROXY = 1
+};
+
struct http_context {
int initialized;
unsigned int status_code;
@@ -61,6 +65,7 @@ struct http_context {
HTTP_REQ_TYPE req_type;
byte *buffer; /* line buffer */
unsigned buffer_size;
+ unsigned int flags;
};
typedef struct http_context *HTTP_HD;
diff --git a/include/util.h b/include/util.h
index 8eec982cc..0fade55f4 100644
--- a/include/util.h
+++ b/include/util.h
@@ -198,6 +198,12 @@ char *strlwr(char *a);
#define stricmp(a,b) strcasecmp( (a), (b) )
#endif
+/*-- w32reg.c --*/
+#ifdef __MINGW32__
+char *read_w32_registry_string( const char *root,
+ const char *dir, const char *name );
+#endif
+
/**** other missing stuff ****/
#ifndef HAVE_ATEXIT /* For SunOS */
#define atexit(a) (on_exit((a),0))