* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy-config.cpp,v 1.15 2003-12-16 14:17:01 adam Exp $
+ * $Id: yaz-proxy-config.cpp,v 1.16 2003-12-20 22:44:30 adam Exp $
*/
#include <ctype.h>
int *keepalive_limit_bw,
int *keepalive_limit_pdu,
int *pre_init,
- const char **cql2rpn)
+ const char **cql2rpn,
+ const char **zeerex)
{
*pre_init = 0;
int no_url = 0;
if (t)
*cql2rpn = t;
}
+ if (ptr->type == XML_ELEMENT_NODE
+ && !strcmp((const char *) ptr->name, "zeerex"))
+ {
+ const char *t = get_text(ptr);
+ if (t)
+ *zeerex = t;
+ }
}
}
#endif
int *keepalive_limit_bw,
int *keepalive_limit_pdu,
int *pre_init,
- const char **cql2rpn)
+ const char **cql2rpn,
+ const char **zeerex)
{
#if HAVE_XML2
xmlNodePtr ptr;
return_target_info(ptr, url, limit_bw, limit_pdu, limit_req,
target_idletime, client_idletime,
keepalive_limit_bw, keepalive_limit_pdu,
- pre_init, cql2rpn);
+ pre_init, cql2rpn, zeerex);
return 1;
}
i++;
int *keepalive_limit_bw,
int *keepalive_limit_pdu,
int *pre_init,
- const char **cql2rpn)
+ const char **cql2rpn,
+ const char **zeerex)
{
#if HAVE_XML2
xmlNodePtr ptr;
return_target_info(ptr, url, limit_bw, limit_pdu, limit_req,
target_idletime, client_idletime,
keepalive_limit_bw, keepalive_limit_pdu,
- pre_init, cql2rpn);
+ pre_init, cql2rpn, zeerex);
}
#else
*url = name;