]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/statd/sim_sm_inter.x
Use 65534 for anon uid/gid rather than -2
[nfs-utils.git] / utils / statd / sim_sm_inter.x
1 /*
2  * Copyright (C) 1995, 1997-1999 Jeffrey A. Uphoff
3  * Modified by Olaf Kirch, 1996.
4  * Modified by H.J. Lu, 1998.
5  *
6  * NSM for Linux.
7  */
8
9 #ifdef RPC_CLNT
10 %#include <string.h>
11 #endif
12
13 program SIM_SM_PROG { 
14         version SIM_SM_VERS  {
15                 void                     SIM_SM_MON(struct status) = 1;
16         } = 1;
17 } = 200048;
18
19 const   SM_MAXSTRLEN = 1024;
20 const   SM_PRIV_SIZE = 16;
21
22 /* 
23  * structure of the status message sent back by the status monitor
24  * when monitor site status changes
25  */
26 %#ifndef SM_INTER_X
27 struct status {
28         string mon_name<SM_MAXSTRLEN>;
29         int state;
30         opaque priv[SM_PRIV_SIZE]; /* stored private information */
31 };
32 %#endif /* SM_INTER_X */