source: XIOS/trunk/extern/src_netcdf4/ochttp.h @ 409

Last change on this file since 409 was 409, checked in by ymipsl, 11 years ago

Add improved nectdf internal library src

YM

  • Property svn:eol-style set to native
File size: 585 bytes
Line 
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
7extern int curlopen(CURL** curlp);
8extern void curlclose(CURL*);
9
10extern int ocfetchurl(CURL*, const char*, OCbytes*, long*);
11extern int ocfetchurl_file(CURL*, const char*, FILE*, unsigned long*, long*);
12
13extern long ocfetchhttpcode(CURL* curl);
14
15extern int ocfetchlastmodified(CURL* curl, char* url, long* filetime);
16
17extern int occurlopen(CURL** curlp);
18extern void occurlclose(CURL* curlp);
19
20extern int ocping(const char* url);
21
22#endif /*HTTP_H*/
Note: See TracBrowser for help on using the repository browser.