blob: 3c9149e225f235a33e02d5f33595d82cb9a5b90f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifndef __ITRON_NETWORK_h_
#define __ITRON_NETWORK_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* NODE srcnode, dstnode, nod:
*/
#define TND_SELF 0 /* specifies the local node */
#define TND_OTHR (-1) /* specifies default remote node */
/*
* Network Functions
*/
/*
* nrea_dat - Read Data from another Node
*/
ER nrea_dat(
INT *p_reasz,
VP dstadr,
NODE srcnode,
VP srcadr,
INT datsz
);
/*
* nwri_dat - Write Data to another Node
*/
ER nwri_dat(
INT *p_wrisz,
NODE dstnode,
VP dstadr,
VP srcadr,
INT datsz
);
/*
* nget_nod - Get Local Node Number
*/
ER nget_nod(
NODE *p_node
);
/*
* nget_ver - Get Version Information of another Node
*/
ER nget_ver(
T_VER *pk_ver,
NODE node
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */
|