Changeset 917 for trunk/zoo-project/zoo-kernel/ulinet.h
- Timestamp:
- May 7, 2019, 2:17:08 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
False
/branches/prototype-v0 merged eligible
-
Property
svn:mergeinfo
set to
False
-
trunk/zoo-project/zoo-kernel/ulinet.h
r889 r917 2 2 * Author : Gérald FENOY 3 3 * 4 * Copyright 2008-20 09 GeoLabs SARL. All rights reserved.4 * Copyright 2008-2019 GeoLabs SARL. All rights reserved. 5 5 * 6 6 * Permission is hereby granted, free of charge, to any person obtaining a copy … … 26 26 #define _ULINET_H 27 27 28 #include "fcgi_stdio.h"29 28 #include <stdlib.h> 30 29 #include <fcntl.h> 31 30 #include <curl/curl.h> 31 #include <curl/curlver.h> 32 32 #include "service.h" 33 33 #ifndef WIN32 … … 44 44 #include "jsapi.h" 45 45 #endif 46 /* knut: see new definition of bool in service.h 47 #ifndef bool 48 #define bool int 46 #ifndef __cplusplus 47 // knut: see new def of bool in service.h 48 //#ifndef bool 49 //#define bool int 50 //#endif 51 //#ifndef true 52 //#define true 1 53 //#define false 0 54 //#endif 49 55 #endif 50 #ifndef true51 #define true 152 #define false 053 #endif54 */55 56 56 57 #define MAX_REQ 50 … … 102 103 size_t write_data_into(void*,size_t,size_t,void*); 103 104 105 size_t write_data_into_file(void*,size_t,size_t,void*); 106 104 107 size_t header_write_data(void*,size_t,size_t,void*); 105 108 … … 130 133 HINTERNET InternetOpen(char*,int,char*,char*,int); 131 134 135 char* getProvenance(maps*,const char*); 132 136 int isProtectedHost(const char*,const char*); 133 137 int AddMissingHeaderEntry(_HINTERNET*,const char*,const char*); … … 153 157 typedef size_t* LPDWORD; 154 158 #endif 155 /* knut: see new definition of bool in service.h 156 #ifndef bool 157 #define bool int 158 #endif 159 */ 159 // knut: see new definition of bool in service.h 160 //#ifndef bool 161 //#define bool int 162 //#endif 160 163 161 164 # define CHECK_INET_HANDLE(h) (h.handle != 0) 162 165 163 HINTERNET InternetOpenUrl(HINTERNET*,LPCTSTR,LPCTSTR,size_t,size_t,size_t );166 HINTERNET InternetOpenUrl(HINTERNET*,LPCTSTR,LPCTSTR,size_t,size_t,size_t,const maps*); 164 167 165 168 int processDownloads(HINTERNET*);
Note: See TracChangeset
for help on using the changeset viewer.