/* * :ts=8 * * 'Roadshow' -- Amiga TCP/IP stack * Copyright © 2001-2016 by Olaf Barthel. * All Rights Reserved. * * Generic prototype and direct ROM interface definitions * Freely Distributable */ #ifndef PROTO_BSDSOCKET_H #define PROTO_BSDSOCKET_H #ifndef EXEC_LISTS_H #include #endif #ifndef DEVICES_TIMER_H #include #endif #ifndef UTILITY_TAGITEM_H #include #endif #ifndef UTILITY_HOOKS_H #include #endif #ifndef NETINET_IN_H #include #endif #ifndef SYS_SOCKET_H #include #endif #ifndef SYS_MBUF_H #include #endif #ifndef NET_ROUTE_H #include #endif #ifndef NETDB_H #include #endif #ifndef LIBRARIES_BSDSOCKET_H #include #endif #ifndef DOS_DOSEXTENS_H #include #endif /****************************************************************************/ #ifndef __NOLIBBASE__ extern struct Library * SocketBase; #endif /* __NOLIBBASE__ */ /****************************************************************************/ #ifdef __amigaos4__ #include #ifdef __USE_INLINE__ #include #endif /* __USE_INLINE__ */ #ifndef CLIB_BSDSOCKET_PROTOS_H #define CLIB_BSDSOCKET_PROTOS_H 1 #endif /* CLIB_BSDSOCKET_PROTOS_H */ #ifndef __NOGLOBALIFACE__ extern struct SocketIFace *ISocket; #endif /* __NOGLOBALIFACE__ */ #else /* __amigaos4__ */ #ifndef CLIB_BSDSOCKET_PROTOS_H #include #endif /* CLIB_BSDSOCKET_PROTOS_H */ #if defined(__GNUC__) #ifndef __PPC__ #include #else #include #endif /* __PPC__ */ #elif defined(__VBCC__) #ifndef __PPC__ #include #endif /* __PPC__ */ #else #include #endif /* __GNUC__ */ #endif /* __amigaos4__ */ /****************************************************************************/ #endif /* PROTO_BSDSOCKET_H */