StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RTS
include
ethLib.h
1
#ifndef _ETH_LIB_H_
2
#define _ETH_LIB_H_
3
4
5
#define ETH_MAX_MSG_SIZE 512
6
#define ETH_HEARTBEAT_SECONDS 10
7
8
#ifndef UNIX // vxWorks
9
#include <vxWorks.h>
10
#include <msgQLib.h>
11
12
extern
int
ethInit(MSG_Q_ID *arrayQue, MSG_Q_ID defaultQue, UINT16 node) ;
13
extern
MSG_Q_ID ethOpen(
char
*server,
int
port) ;
14
extern
int
ethClose(MSG_Q_ID q) ;
15
extern
int
ethSysresetOnReboot ;
16
17
#else // UNIX
18
19
20
21
22
23
24
25
#endif // UNIX
26
27
28
#endif // _ETH_LIB_H_
Generated by
1.8.5