X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fcomstack.h;h=6993d5b9c30bb88b2560916c00ae862a1053864c;hb=4ca818ec201c9dcf5461e419002c95fd2eac620e;hp=2c87e44bad3c5a41c8411b83f40c98e995e2787b;hpb=add5a2db6b4360b1b448ad09f991a3977eb1220d;p=yaz-moved-to-github.git diff --git a/include/yaz/comstack.h b/include/yaz/comstack.h index 2c87e44..6993d5b 100644 --- a/include/yaz/comstack.h +++ b/include/yaz/comstack.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: comstack.h,v 1.7 2001-10-22 16:00:04 adam Exp $ + * $Id: comstack.h,v 1.8 2003-02-21 12:08:58 adam Exp $ */ #ifndef COMSTACK_H @@ -141,11 +141,14 @@ struct comstack #define CS_WANT_READ 1 #define CS_WANT_WRITE 2 + YAZ_EXPORT int cs_look (COMSTACK); 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); + int blocking, void **vp); +YAZ_EXPORT int cs_complete_auto(const unsigned char *buf, int len); + /* * error management. */