Rev 22776 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
/* advertized entry points, for libxml */void *R_HTTPOpen(const char *url);int R_HTTPRead(void *ctx, char *dest, int len);void R_HTTPClose(void *ctx);void *R_FTPOpen(const char *url);int R_FTPRead(void *ctx, char *dest, int len);void R_FTPClose(void *ctx);void * RxmlNanoHTTPOpen(const char *URL, char **contentType, int cacheOK);int RxmlNanoHTTPRead(void *ctx, void *dest, int len);void RxmlNanoHTTPClose(void *ctx);int RxmlNanoHTTPReturnCode(void *ctx);char * RxmlNanoHTTPStatusMsg(void *ctx);int RxmlNanoHTTPContentLength(void *ctx);char * RxmlNanoHTTPContentType(void *ctx);void RxmlNanoHTTPTimeout(int delay);void * RxmlNanoFTPOpen(const char *URL);int RxmlNanoFTPRead(void *ctx, void *dest, int len);int RxmlNanoFTPClose(void *ctx);void RxmlNanoFTPTimeout(int delay);int RxmlNanoFTPContentLength(void *ctx);void RxmlMessage(int level, const char *format, ...);/* not currently used */void RxmlNanoFTPCleanup(void);void RxmlNanoHTTPCleanup(void);/* sockets */void R_SockTimeout(int delay);int R_SockOpen(int port);int R_SockListen(int sockp, char *buf, int len);int R_SockConnect(int port, char *host);int R_SockClose(int sockp);int R_SockRead(int sockp, void *buf, int maxlen, int blocking);int R_SockWrite(int sockp, const void *buf, int len);