-/* $Id: pazpar2.h,v 1.34 2007-04-23 21:05:23 adam Exp $
+/* $Id: pazpar2.h,v 1.36 2007-05-10 11:46:09 adam Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
struct record;
struct client;
-struct connection;
-
// Represents a (virtual) database on a host
struct database {
struct host *host;
// for that session
struct session_database
{
+ pp2_charset_t pct;
struct database *database;
struct setting **settings;
yaz_marc_t yaz_marc;
int host_getaddrinfo(struct host *host);
xmlDoc *normalize_record(struct session_database *sdb, Z_External *rec);
-void connection_destroy(struct connection *co);
struct record *ingest_record(struct client *cl, Z_External *rec,
int record_no);
void session_alert_watch(struct session *s, int what);
-void connection_release(struct connection *co);
void pull_terms(NMEM nmem, struct ccl_rpn_node *n, char **termlist, int *num);
#endif