diff -r 000000000000 -r 2e3d3ce01487 openenvutils/commandshell/shell/inc/tcp.epro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openenvutils/commandshell/shell/inc/tcp.epro Tue Feb 02 10:12:00 2010 +0200 @@ -0,0 +1,37 @@ +/* Generated automatically */ +#ifndef have_Src_Modules_tcp_globals +#define have_Src_Modules_tcp_globals + +#ifndef HAVE_INET_NTOP +extern mod_import_function char const*zsh_inet_ntop _((int af,void const*cp,char*buf,size_t len)); +#else /* !HAVE_INET_NTOP */ +# define zsh_inet_ntop inet_ntop +#endif /* !HAVE_INET_NTOP */ +#ifndef HAVE_INET_ATON +extern mod_import_function int zsh_inet_aton _((char const*src,struct in_addr*dst)); +#else /* !HAVE_INET_ATON */ +# define zsh_inet_aton inet_aton +#endif /* !HAVE_INET_ATON */ +#ifndef HAVE_INET_PTON +extern mod_import_function int zsh_inet_pton _((int af,char const*src,void*dst)); +#endif /* !HAVE_INET_PTON */ +#ifndef HAVE_GETIPNODEBYNAME +# ifndef HAVE_GETHOSTBYNAME2 +extern mod_import_function struct hostent*zsh_gethostbyname2 _((char const*name,int af)); +#else /* !HAVE_GETHOSTBYNAME2 */ +# define zsh_gethostbyname2 gethostbyname2 +# endif /* !HAVE_GETHOSTBYNAME2 */ +extern mod_import_function struct hostent*zsh_getipnodebyname _((char const*name,int af,UNUSED(int flags),int*errorp)); +extern mod_import_function void freehostent _((UNUSED(struct hostent*ptr))); +#else /* !HAVE_GETIPNODEBYNAME */ +# define zsh_getipnodebyname getipnodebyname +#endif /* !HAVE_GETIPNODEBYNAME */ +extern mod_import_function Tcp_session tcp_socket _((int domain,int type,int protocol,int ztflags)); +extern mod_import_function int tcp_close _((Tcp_session sess)); +extern mod_import_function int tcp_connect _((Tcp_session sess,char*addrp,struct hostent*zhost,int d_port)); +extern int setup_ _((UNUSED(Module m))); +extern int boot_ _((Module m)); +extern int cleanup_ _((Module m)); +extern int finish_ _((UNUSED(Module m))); + +#endif /* !have_Src_Modules_tcp_globals */