| Line 1... |
Line 1... |
| 1 |
/*
|
1 |
/*
|
| 2 |
* R : A Computer Language for Statistical Data Analysis
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 3 |
* Copyright (C) 2000-2017 The R Core Team.
|
3 |
* Copyright (C) 2000-2018 The R Core Team.
|
| 4 |
*
|
4 |
*
|
| 5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
| 6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
| 7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
| 8 |
* (at your option) any later version.
|
8 |
* (at your option) any later version.
|
| Line 34... |
Line 34... |
| 34 |
|
34 |
|
| 35 |
/* used in internet module */
|
35 |
/* used in internet module */
|
| 36 |
typedef struct urlconn {
|
36 |
typedef struct urlconn {
|
| 37 |
void *ctxt;
|
37 |
void *ctxt;
|
| 38 |
UrlScheme type;
|
38 |
UrlScheme type;
|
| - |
|
39 |
char *headers;
|
| 39 |
} *Rurlconn;
|
40 |
} *Rurlconn;
|
| 40 |
|
41 |
|
| 41 |
/* used in internet module */
|
42 |
/* used in internet module */
|
| 42 |
typedef struct sockconn {
|
43 |
typedef struct sockconn {
|
| 43 |
int port;
|
44 |
int port;
|
| Line 65... |
Line 66... |
| 65 |
Rconnection getConnection(int n);
|
66 |
Rconnection getConnection(int n);
|
| 66 |
Rconnection getConnection_no_err(int n);
|
67 |
Rconnection getConnection_no_err(int n);
|
| 67 |
Rboolean switch_stdout(int icon, int closeOnExit);
|
68 |
Rboolean switch_stdout(int icon, int closeOnExit);
|
| 68 |
void init_con(Rconnection new, const char *description, int enc,
|
69 |
void init_con(Rconnection new, const char *description, int enc,
|
| 69 |
const char * const mode);
|
70 |
const char * const mode);
|
| 70 |
Rconnection R_newurl(const char *description, const char * const mode, int type);
|
71 |
Rconnection R_newurl(const char *description, const char * const mode,
|
| - |
|
72 |
SEXP headers, int type);
|
| 71 |
Rconnection R_newsock(const char *host, int port, int server, const char * const mode, int timeout);
|
73 |
Rconnection R_newsock(const char *host, int port, int server, const char * const mode, int timeout);
|
| 72 |
Rconnection in_R_newsock(const char *host, int port, int server, const char *const mode, int timeout);
|
74 |
Rconnection in_R_newsock(const char *host, int port, int server, const char *const mode, int timeout);
|
| 73 |
Rconnection R_newunz(const char *description, const char * const mode);
|
75 |
Rconnection R_newunz(const char *description, const char * const mode);
|
| 74 |
int dummy_fgetc(Rconnection con);
|
76 |
int dummy_fgetc(Rconnection con);
|
| 75 |
int dummy_vfprintf(Rconnection con, const char *format, va_list ap);
|
77 |
int dummy_vfprintf(Rconnection con, const char *format, va_list ap);
|