Last change
on this file since 2307 was
409,
checked in by ymipsl, 12 years ago
|
Add improved nectdf internal library src
YM
|
-
Property svn:eol-style set to
native
|
File size:
585 bytes
|
Rev | Line | |
---|
[409] | 1 | /* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc. |
---|
| 2 | See the COPYRIGHT file for more information. */ |
---|
| 3 | |
---|
| 4 | #ifndef HTTP_H |
---|
| 5 | #define HTTP_H 1 |
---|
| 6 | |
---|
| 7 | extern int curlopen(CURL** curlp); |
---|
| 8 | extern void curlclose(CURL*); |
---|
| 9 | |
---|
| 10 | extern int ocfetchurl(CURL*, const char*, OCbytes*, long*); |
---|
| 11 | extern int ocfetchurl_file(CURL*, const char*, FILE*, unsigned long*, long*); |
---|
| 12 | |
---|
| 13 | extern long ocfetchhttpcode(CURL* curl); |
---|
| 14 | |
---|
| 15 | extern int ocfetchlastmodified(CURL* curl, char* url, long* filetime); |
---|
| 16 | |
---|
| 17 | extern int occurlopen(CURL** curlp); |
---|
| 18 | extern void occurlclose(CURL* curlp); |
---|
| 19 | |
---|
| 20 | extern int ocping(const char* url); |
---|
| 21 | |
---|
| 22 | #endif /*HTTP_H*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.