X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fcomstack.h;h=6aef53ea8182fde560fdafa8acac59a43d45e856;hp=44ac32f77fdc20c1b59fde4ff1029b3a4080e999;hb=ff4dc282083d2c1920329cd6e7406a10669494dd;hpb=4a9cbf62bc7a294f1782386997e09d2dd4ba9671 diff --git a/include/yaz/comstack.h b/include/yaz/comstack.h index 44ac32f..6aef53e 100644 --- a/include/yaz/comstack.h +++ b/include/yaz/comstack.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data. + * Copyright (C) 1995-2011 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -122,6 +122,10 @@ YAZ_EXPORT const char *cs_strerror(COMSTACK h); YAZ_EXPORT const char *cs_errmsg(int n); YAZ_EXPORT COMSTACK cs_create_host(const char *type_and_host, int blocking, void **vp); + +YAZ_EXPORT COMSTACK cs_create_host_proxy(const char *vhost, + int blocking, void **vp, + const char *proxy_host); YAZ_EXPORT void cs_get_host_args(const char *type_and_host, const char **args); YAZ_EXPORT int cs_complete_auto_head(const char *buf, int len); YAZ_EXPORT int cs_complete_auto(const char *buf, int len);