/usr/include/rxp/http.h is in librxp-dev 1.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #ifndef HTTP_H
#define HTTP_H
#include "charset.h"
#include "stdio16.h"
#include "rxputil.h"
struct http_header {
char8 *name;
char8 *value;
};
struct http_headers {
Vector(struct http_header *, header);
};
int init_http(void);
void deinit_http(void);
FILE16 *http_open(const char *url,
const char *host, int port, const char *path,
const char *type, char **redirected_url);
void http_set_user_agent(const char *agent);
#endif /* HTTP_H */
|