source: rtems/cpukit/itron/include/itronsys/network.h @ 6df1f64

4.104.114.84.95
Last change on this file since 6df1f64 was 6df1f64, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2005 at 11:07:14 AM

New header guards.

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