X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=include%2Fyazproxy%2Fproxy.h;h=9c87ab8797256ff196e79b7d0e7171eabbe6068e;hp=2936c1a3cd99af9924436b6f842087a5b3f099f6;hb=a2d288bc0361884aa6e2fa953ef2766e3e1a90e7;hpb=057fb5b5dc6bc2f57cb064117e5a1add3c3da3b3 diff --git a/include/yazproxy/proxy.h b/include/yazproxy/proxy.h index 2936c1a..9c87ab8 100644 --- a/include/yazproxy/proxy.h +++ b/include/yazproxy/proxy.h @@ -1,4 +1,4 @@ -/* $Id: proxy.h,v 1.4 2004-04-22 07:46:21 adam Exp $ +/* $Id: proxy.h,v 1.5 2004-08-10 09:02:16 adam Exp $ Copyright (c) 1998-2004, Index Data. This file is part of the yaz-proxy. @@ -71,7 +71,8 @@ public: int check_query(ODR odr, const char *name, Z_Query *query, char **addinfo); int check_syntax(ODR odr, const char *name, Odr_oid *syntax, Z_RecordComposition *comp, - char **addinfo, char **stylesheet, char **schema); + char **addinfo, char **stylesheet, char **schema, + char **backend_type); char *get_explain(ODR odr, const char *name, const char *db, int *len); private: @@ -208,6 +209,9 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc { Z_APDU *m_stylesheet_apdu; Z_NamePlusRecordList *m_stylesheet_nprl; char *m_schema; + char *m_backend_type; + int m_frontend_type; + void convert_to_frontend_type(Z_NamePlusRecordList *p); void convert_to_marcxml(Z_NamePlusRecordList *p); int convert_xsl(Z_NamePlusRecordList *p, Z_APDU *apdu); void convert_xsl_delay();