X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fcomstack.xml;h=65e3d1d5f1465075660ad566bc870c052257e062;hp=8538a145bdf4b4c6567231f734a31cbaf904b957;hb=32e80f00a5c06ad5d5de0d4205897197a770fd31;hpb=4e50eccc10dbfb82098c72089c3b840813b71505 diff --git a/doc/comstack.xml b/doc/comstack.xml index 8538a14..65e3d1d 100644 --- a/doc/comstack.xml +++ b/doc/comstack.xml @@ -148,7 +148,7 @@ - int cs_close(COMSTACK handle); + void cs_close(COMSTACK handle); @@ -404,7 +404,7 @@ - char *cs_addrstr(COMSTACK); + const char *cs_addrstr(COMSTACK); @@ -460,7 +460,7 @@ - char *cs_addrstr(COMSTACK h); + const char *cs_addrstr(COMSTACK h); @@ -581,19 +581,18 @@ Summary and Synopsis - - #include <yaz/comstack.h> + - #include <yaz/tcpip.h> /* this is for TCP/IP and SSL support */ - #include <yaz/unix.h> /* this is for UNIX sockeL support */ + #include /* this is for TCP/IP and SSL support */ + #include /* this is for UNIX socket support */ - COMSTACK cs_create(CS_TYPE type, int blocking, int protocol); COMSTACK cs_createbysocket(int s, CS_TYPE type, int blocking, int protocol); - COMSTACK cs_create_host (const char *str, int blocking, - void **vp); + COMSTACK cs_create_host(const char *str, int blocking, + void **vp); int cs_bind(COMSTACK handle, int mode); @@ -611,21 +610,14 @@ int cs_more(COMSTACK handle); - int cs_close(COMSTACK handle); + void cs_close(COMSTACK handle); int cs_look(COMSTACK handle); void *cs_straddr(COMSTACK handle, const char *str); - char *cs_addrstr(COMSTACK h); - - extern int cs_errno; - - void cs_perror(COMSTACK handle char *message); - - const char *cs_stackerr(COMSTACK handle); - - extern const char *cs_errlist[]; + const char *cs_addrstr(COMSTACK h); +]]>