blob: 434619927a11b5d70db9bfbdb7036982d97a3eb1 (
plain)
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
|
/*
* Copyright (C) 1995, 1997-1999 Jeffrey A. Uphoff
* Modified by Olaf Kirch, 1996.
* Modified by H.J. Lu, 1998.
*
* NSM for Linux.
*/
#ifdef RPC_CLNT
%#include <string.h>
#endif
program SIM_SM_PROG {
version SIM_SM_VERS {
void SIM_SM_MON(struct status) = 1;
} = 1;
} = 200048;
const SM_MAXSTRLEN = 1024;
const SM_PRIV_SIZE = 16;
/*
* structure of the status message sent back by the status monitor
* when monitor site status changes
*/
%#ifndef SM_INTER_X
struct status {
string mon_name<SM_MAXSTRLEN>;
int state;
opaque priv[SM_PRIV_SIZE]; /* stored private information */
};
%#endif /* SM_INTER_X */
|