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
#include "eventl.h"
// Generic I/O buffer
struct http_buf;
typedef struct http_channel_observer_s *http_channel_observer_t;
typedef struct http_server *http_server_t;
#include "eventl.h"
// Generic I/O buffer
struct http_buf;
typedef struct http_channel_observer_s *http_channel_observer_t;
typedef struct http_server *http_server_t;
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);
+int http_init(const char *addr, 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);