Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
struct http_request *request;
struct http_response *response;
struct http_channel *next; // for freelist
struct http_request *request;
struct http_response *response;
struct http_channel *next; // for freelist
http_channel_observer_t observers;
struct conf_server *server;
http_server_t http_server;
http_channel_observer_t observers;
struct conf_server *server;
http_server_t http_server;
void http_server_destroy(http_server_t hs);
void http_set_proxyaddr(const char *url, struct conf_server *ser);
void http_server_destroy(http_server_t hs);
void http_set_proxyaddr(const char *url, struct conf_server *ser);
-int http_init(const char *addr, struct conf_server *ser,
- const char *record_fname);
+int http_init(struct conf_server *ser, const char *record_fname);
void http_close_server(struct conf_server *ser);
void http_addheader(struct http_response *r,
const char *name, const char *value);
void http_close_server(struct conf_server *ser);
void http_addheader(struct http_response *r,
const char *name, const char *value);