X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fpazpar2.h;h=efd743ff2214db64a1e2ff857c5014a30eddfb11;hb=ebf24e785974c368809d73394a24eb80506598fd;hp=6c4faaea9eceae53cdd9e70094f55b34a859920f;hpb=31f6b164fd451ef9254545a38e7b6ffc1543854f;p=pazpar2-moved-to-github.git diff --git a/src/pazpar2.h b/src/pazpar2.h index 6c4faae..efd743f 100644 --- a/src/pazpar2.h +++ b/src/pazpar2.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2009 Index Data + Copyright (C) 2006-2010 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 @@ -27,7 +27,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "termlists.h" #include "reclists.h" -#include "pazpar2_config.h" #include "http.h" struct record; @@ -48,6 +47,7 @@ enum pazpar2_error_code { PAZPAR2_CONFIG_TARGET, PAZPAR2_RECORD_FAIL, PAZPAR2_NOT_IMPLEMENTED, + PAZPAR2_NO_SERVICE, PAZPAR2_LAST_ERROR }; @@ -161,10 +161,7 @@ int session_active_clients(struct session *s); void session_apply_setting(struct session *se, char *dbname, char *setting, char *value); const char *session_setting_oneval(struct session_database *db, int offset); -void pazpar2_add_channel(IOCHAN c); -void pazpar2_event_loop(void); - -int host_getaddrinfo(struct host *host); +int host_getaddrinfo(struct host *host, iochan_man_t iochan_man); struct record *ingest_record(struct client *cl, const char *rec, int record_no);