X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2Fcomstack.c;fp=comstack%2Fcomstack.c;h=b15eb5f082a836d57e01b22a4436603af0267250;hp=6a4cc05c8660d058b0a5895a41fb7225d0ad129a;hb=4e687307f10bd595d8af05c022871d1875c8c463;hpb=1252daa48c1303465e00fccb7f7287d2d6b179ed diff --git a/comstack/comstack.c b/comstack/comstack.c index 6a4cc05..b15eb5f 100644 --- a/comstack/comstack.c +++ b/comstack/comstack.c @@ -3,7 +3,10 @@ * See the file LICENSE for details. * * $Log: comstack.c,v $ - * Revision 1.8 2001-07-19 19:49:02 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 @@ -100,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; +}