The R Project SVN R

Rev

Rev 39861 | Rev 41811 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39861 Rev 41784
Line 5... Line 5...
5
#include <Rinternals.h>
5
#include <Rinternals.h>
6
 
6
 
7
 
7
 
8
typedef SEXP (*R_DownloadRoutine)(SEXP call, SEXP op, SEXP args, SEXP env);
8
typedef SEXP (*R_DownloadRoutine)(SEXP call, SEXP op, SEXP args, SEXP env);
9
typedef Rconnection (*R_NewUrlRoutine)(char *description, const char * const mode);
9
typedef Rconnection (*R_NewUrlRoutine)(char *description, const char * const mode);
10
typedef Rconnection (*R_NewSockRoutine)(char *host, int port, int server, char *mode); 
10
typedef Rconnection (*R_NewSockRoutine)(const char *host, int port, int server, const char *const mode); 
11
 
11
 
12
typedef void * (*R_HTTPOpenRoutine)(const char *url, const char *headers, const int cacheOK);
12
typedef void * (*R_HTTPOpenRoutine)(const char *url, const char *headers, const int cacheOK);
13
typedef int    (*R_HTTPReadRoutine)(void *ctx, char *dest, int len);
13
typedef int    (*R_HTTPReadRoutine)(void *ctx, char *dest, int len);
14
typedef void   (*R_HTTPCloseRoutine)(void *ctx);
14
typedef void   (*R_HTTPCloseRoutine)(void *ctx);
15
	      
15