X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=comstack%2Fcomstack.c;h=b15eb5f082a836d57e01b22a4436603af0267250;hb=48bd65a2f5bda9d3407d92137524c14d288ec074;hp=1027792d2342b4da60f5c7ff79770f77937b42c6;hpb=cfef2a68b0e7da6c2a3b47e44df9965d63156584;p=yaz-moved-to-github.git diff --git a/comstack/comstack.c b/comstack/comstack.c index 1027792..b15eb5f 100644 --- a/comstack/comstack.c +++ b/comstack/comstack.c @@ -1,10 +1,15 @@ /* - * Copyright (c) 1995-1998, Index Data + * Copyright (c) 1995-2001, Index Data * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * * $Log: comstack.c,v $ - * Revision 1.7 2001-03-21 12:43:36 adam + * Revision 1.9 2001-10-22 13:57:24 adam + * Implemented cs_rcvconnect and cs_look as described in the documentation. + * + * Revision 1.8 2001/07/19 19:49:02 adam + * Added include of string.h. + * + * Revision 1.7 2001/03/21 12:43:36 adam * Implemented cs_create_host. Better error reporting for SSL comstack. * * Revision 1.6 1999/11/30 13:47:11 adam @@ -34,6 +39,7 @@ * */ +#include #include #include @@ -97,3 +103,8 @@ COMSTACK cs_create_host(const char *type_and_host, int blocking, void **vp) } return cs; } + +int cs_look (COMSTACK cs) +{ + return cs->event; +}