00001 #ifndef _ETH_LIB_H_
00002 #define _ETH_LIB_H_
00003
00004
00005 #define ETH_MAX_MSG_SIZE 512
00006 #define ETH_HEARTBEAT_SECONDS 10
00007
00008 #ifndef UNIX // vxWorks
00009 #include <vxWorks.h>
00010 #include <msgQLib.h>
00011
00012 extern int ethInit(MSG_Q_ID *arrayQue, MSG_Q_ID defaultQue, UINT16 node) ;
00013 extern MSG_Q_ID ethOpen(char *server, int port) ;
00014 extern int ethClose(MSG_Q_ID q) ;
00015 extern int ethSysresetOnReboot ;
00016
00017 #else // UNIX
00018
00019
00020
00021
00022
00023
00024
00025 #endif // UNIX
00026
00027
00028 #endif // _ETH_LIB_H_