X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Fproxyp.h;h=f36d1827f71a3d7c85b7f46441abfa515d7421a3;hp=7455bbd8606520180d3e81953dc0a9ba5295f68f;hb=2faeba3f61ac423a9c71222e9a15377724d8f0fa;hpb=532d54cdcd3e2c2df9fc2a3b0457c9cb7f1c9955 diff --git a/src/proxyp.h b/src/proxyp.h index 7455bbd..f36d182 100644 --- a/src/proxyp.h +++ b/src/proxyp.h @@ -1,4 +1,4 @@ -/* $Id: proxyp.h,v 1.4 2005-05-04 08:31:44 adam Exp $ +/* $Id: proxyp.h,v 1.5 2005-05-18 20:15:22 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -58,7 +58,11 @@ public: ~Yaz_CharsetConverter(); void set_target_query_charset(const char *s); void set_client_query_charset(const char *org); + const char *get_client_query_charset(void); + const char *get_target_query_charset(void); void convert_type_1(Z_RPNQuery *q, ODR o); + void set_client_charset_selected(int sel); + int get_client_charset_selected(); private: void convert_type_1(char *buf_in, int len_in, char **buf_out, int *len_out, @@ -68,6 +72,7 @@ private: void convert_type_1(Z_Operand *q, ODR o); char *m_target_query_charset; char *m_client_query_charset; + int m_client_charset_selected; yaz_iconv_t m_ct; WRBUF m_wrbuf; };