X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ftcpip.h;h=d744009c13e37de1f6a7302f5a4efcd2d0a2a08f;hp=1c7f6fb3d5d61bb5198bcf88f5bf5e5249a2abbb;hb=refs%2Fheads%2Fyaz-795-2;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/include/yaz/tcpip.h b/include/yaz/tcpip.h index 1c7f6fb..d744009 100644 --- a/include/yaz/tcpip.h +++ b/include/yaz/tcpip.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 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: @@ -41,6 +41,9 @@ YAZ_EXPORT COMSTACK tcpip_type(int s, int flags, int protocol, void *vp); YAZ_EXPORT COMSTACK ssl_type(int s, int flags, int protocol, void *vp); YAZ_EXPORT COMSTACK yaz_tcpip_create(int s, int flags, int protocol, const char *connect_host); +YAZ_EXPORT COMSTACK yaz_tcpip_create2(int s, int flags, int protocol, + const char *connect_host, + const char *bind_host); YAZ_END_CDECL