Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
libxml/nanohttp.h@1:26f20484cbdc, 2016-08-25 (annotated)
- Committer:
- pcercuei
- Date:
- Thu Aug 25 10:07:34 2016 +0000
- Revision:
- 1:26f20484cbdc
- Parent:
- 0:03b5121a232e
Add config.h and dummy.c containing empty functions
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pcercuei | 0:03b5121a232e | 1 | /* |
| pcercuei | 0:03b5121a232e | 2 | * Summary: minimal HTTP implementation |
| pcercuei | 0:03b5121a232e | 3 | * Description: minimal HTTP implementation allowing to fetch resources |
| pcercuei | 0:03b5121a232e | 4 | * like external subset. |
| pcercuei | 0:03b5121a232e | 5 | * |
| pcercuei | 0:03b5121a232e | 6 | * Copy: See Copyright for the status of this software. |
| pcercuei | 0:03b5121a232e | 7 | * |
| pcercuei | 0:03b5121a232e | 8 | * Author: Daniel Veillard |
| pcercuei | 0:03b5121a232e | 9 | */ |
| pcercuei | 0:03b5121a232e | 10 | |
| pcercuei | 0:03b5121a232e | 11 | #ifndef __NANO_HTTP_H__ |
| pcercuei | 0:03b5121a232e | 12 | #define __NANO_HTTP_H__ |
| pcercuei | 0:03b5121a232e | 13 | |
| pcercuei | 0:03b5121a232e | 14 | #include <libxml/xmlversion.h> |
| pcercuei | 0:03b5121a232e | 15 | |
| pcercuei | 0:03b5121a232e | 16 | #ifdef LIBXML_HTTP_ENABLED |
| pcercuei | 0:03b5121a232e | 17 | |
| pcercuei | 0:03b5121a232e | 18 | #ifdef __cplusplus |
| pcercuei | 0:03b5121a232e | 19 | extern "C" { |
| pcercuei | 0:03b5121a232e | 20 | #endif |
| pcercuei | 0:03b5121a232e | 21 | XMLPUBFUN void XMLCALL |
| pcercuei | 0:03b5121a232e | 22 | xmlNanoHTTPInit (void); |
| pcercuei | 0:03b5121a232e | 23 | XMLPUBFUN void XMLCALL |
| pcercuei | 0:03b5121a232e | 24 | xmlNanoHTTPCleanup (void); |
| pcercuei | 0:03b5121a232e | 25 | XMLPUBFUN void XMLCALL |
| pcercuei | 0:03b5121a232e | 26 | xmlNanoHTTPScanProxy (const char *URL); |
| pcercuei | 0:03b5121a232e | 27 | XMLPUBFUN int XMLCALL |
| pcercuei | 0:03b5121a232e | 28 | xmlNanoHTTPFetch (const char *URL, |
| pcercuei | 0:03b5121a232e | 29 | const char *filename, |
| pcercuei | 0:03b5121a232e | 30 | char **contentType); |
| pcercuei | 0:03b5121a232e | 31 | XMLPUBFUN void * XMLCALL |
| pcercuei | 0:03b5121a232e | 32 | xmlNanoHTTPMethod (const char *URL, |
| pcercuei | 0:03b5121a232e | 33 | const char *method, |
| pcercuei | 0:03b5121a232e | 34 | const char *input, |
| pcercuei | 0:03b5121a232e | 35 | char **contentType, |
| pcercuei | 0:03b5121a232e | 36 | const char *headers, |
| pcercuei | 0:03b5121a232e | 37 | int ilen); |
| pcercuei | 0:03b5121a232e | 38 | XMLPUBFUN void * XMLCALL |
| pcercuei | 0:03b5121a232e | 39 | xmlNanoHTTPMethodRedir (const char *URL, |
| pcercuei | 0:03b5121a232e | 40 | const char *method, |
| pcercuei | 0:03b5121a232e | 41 | const char *input, |
| pcercuei | 0:03b5121a232e | 42 | char **contentType, |
| pcercuei | 0:03b5121a232e | 43 | char **redir, |
| pcercuei | 0:03b5121a232e | 44 | const char *headers, |
| pcercuei | 0:03b5121a232e | 45 | int ilen); |
| pcercuei | 0:03b5121a232e | 46 | XMLPUBFUN void * XMLCALL |
| pcercuei | 0:03b5121a232e | 47 | xmlNanoHTTPOpen (const char *URL, |
| pcercuei | 0:03b5121a232e | 48 | char **contentType); |
| pcercuei | 0:03b5121a232e | 49 | XMLPUBFUN void * XMLCALL |
| pcercuei | 0:03b5121a232e | 50 | xmlNanoHTTPOpenRedir (const char *URL, |
| pcercuei | 0:03b5121a232e | 51 | char **contentType, |
| pcercuei | 0:03b5121a232e | 52 | char **redir); |
| pcercuei | 0:03b5121a232e | 53 | XMLPUBFUN int XMLCALL |
| pcercuei | 0:03b5121a232e | 54 | xmlNanoHTTPReturnCode (void *ctx); |
| pcercuei | 0:03b5121a232e | 55 | XMLPUBFUN const char * XMLCALL |
| pcercuei | 0:03b5121a232e | 56 | xmlNanoHTTPAuthHeader (void *ctx); |
| pcercuei | 0:03b5121a232e | 57 | XMLPUBFUN const char * XMLCALL |
| pcercuei | 0:03b5121a232e | 58 | xmlNanoHTTPRedir (void *ctx); |
| pcercuei | 0:03b5121a232e | 59 | XMLPUBFUN int XMLCALL |
| pcercuei | 0:03b5121a232e | 60 | xmlNanoHTTPContentLength( void * ctx ); |
| pcercuei | 0:03b5121a232e | 61 | XMLPUBFUN const char * XMLCALL |
| pcercuei | 0:03b5121a232e | 62 | xmlNanoHTTPEncoding (void *ctx); |
| pcercuei | 0:03b5121a232e | 63 | XMLPUBFUN const char * XMLCALL |
| pcercuei | 0:03b5121a232e | 64 | xmlNanoHTTPMimeType (void *ctx); |
| pcercuei | 0:03b5121a232e | 65 | XMLPUBFUN int XMLCALL |
| pcercuei | 0:03b5121a232e | 66 | xmlNanoHTTPRead (void *ctx, |
| pcercuei | 0:03b5121a232e | 67 | void *dest, |
| pcercuei | 0:03b5121a232e | 68 | int len); |
| pcercuei | 0:03b5121a232e | 69 | #ifdef LIBXML_OUTPUT_ENABLED |
| pcercuei | 0:03b5121a232e | 70 | XMLPUBFUN int XMLCALL |
| pcercuei | 0:03b5121a232e | 71 | xmlNanoHTTPSave (void *ctxt, |
| pcercuei | 0:03b5121a232e | 72 | const char *filename); |
| pcercuei | 0:03b5121a232e | 73 | #endif /* LIBXML_OUTPUT_ENABLED */ |
| pcercuei | 0:03b5121a232e | 74 | XMLPUBFUN void XMLCALL |
| pcercuei | 0:03b5121a232e | 75 | xmlNanoHTTPClose (void *ctx); |
| pcercuei | 0:03b5121a232e | 76 | #ifdef __cplusplus |
| pcercuei | 0:03b5121a232e | 77 | } |
| pcercuei | 0:03b5121a232e | 78 | #endif |
| pcercuei | 0:03b5121a232e | 79 | |
| pcercuei | 0:03b5121a232e | 80 | #endif /* LIBXML_HTTP_ENABLED */ |
| pcercuei | 0:03b5121a232e | 81 | #endif /* __NANO_HTTP_H__ */ |
| pcercuei | 0:03b5121a232e | 82 |