X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fproxy.h;h=33e4603ebd0f4020c05381bd0203c725f92102c0;hb=1cf760aa1600199b8a9acb4ccaded655f6903d62;hp=be82f311b7b58144d3805f4b1d93faa0b275ab40;hpb=50fbcf20ab48480e819ec5aef312a72c684bf213;p=yazpp-moved-to-github.git diff --git a/include/yaz++/proxy.h b/include/yaz++/proxy.h index be82f31..33e4603 100644 --- a/include/yaz++/proxy.h +++ b/include/yaz++/proxy.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: proxy.h,v 1.19 2003-10-16 16:10:43 adam Exp $ + * $Id: proxy.h,v 1.21 2003-10-23 11:45:08 adam Exp $ */ #include @@ -59,7 +59,7 @@ public: private: void operator=(const Yaz_ProxyConfig &conf); #if HAVE_XML2 - int mycmp(const char *hay, const char *item, int len); + int mycmp(const char *hay, const char *item, size_t len); xmlDocPtr m_docPtr; xmlNodePtr m_proxyPtr; void return_target_info(xmlNodePtr ptr, const char **url, @@ -236,7 +236,7 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc { int set_config(const char *name); void reconfig() { m_reconfig_flag = 1; } int send_to_client(Z_APDU *apdu); - void server(const char *addr); + int server(const char *addr); void pre_init(); int get_log_mask() { return m_log_mask; }; };