You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
597 B
23 lines
597 B
2 years ago
|
/* Copyright 2018, UCAR/Unidata and OPeNDAP, Inc.
|
||
|
See the COPYRIGHT file for more information. */
|
||
|
|
||
|
#ifndef HTTP_H
|
||
|
#define HTTP_H 1
|
||
|
|
||
|
extern int curlopen(CURL** curlp);
|
||
|
extern void curlclose(CURL*);
|
||
|
|
||
|
extern OCerror ocfetchurl(CURL*, const char*, NCbytes*, long*);
|
||
|
extern OCerror ocfetchurl_file(CURL*, const char*, FILE*, off_t*, long*);
|
||
|
|
||
|
extern long ocfetchhttpcode(CURL* curl);
|
||
|
|
||
|
extern OCerror ocfetchlastmodified(CURL* curl, char* url, long* filetime);
|
||
|
|
||
|
extern OCerror occurlopen(CURL** curlp);
|
||
|
extern void occurlclose(CURL* curlp);
|
||
|
|
||
|
extern OCerror ocping(const char* url);
|
||
|
|
||
|
#endif /*HTTP_H*/
|