X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp.h;h=06ccf76a084253d03522c0c9b6519eb4069f58e9;hb=512a11133b1ccc4a44d6e971c8a446865136bb15;hp=f9af7b69fd6cdeeb11bc0483894155cd34e563f9;hpb=c453b003094541adc6fc155bc9a7aecf788245bc;p=pazpar2-moved-to-github.git diff --git a/src/http.h b/src/http.h index f9af7b6..06ccf76 100644 --- a/src/http.h +++ b/src/http.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 2006-2012 Index Data 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 @@ -20,6 +20,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef HTTP_H #define HTTP_H +#include + #include "eventl.h" // Generic I/O buffer struct http_buf; @@ -102,7 +104,8 @@ void http_mutex_init(struct conf_server *server); 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);