1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifdef RPC_HDR %#ifdef _AIX %#include <rpc/rpc.h> %#endif /* _AIX */ #endif /* RPC_HDR */ const SM_MAXSTRLEN = 1024; struct status { string mon_name<SM_MAXSTRLEN>; int state; }; program SMNOTIFY { version SMVERSION { void SM_NOTIFY(struct status) = 6; } = 1; } = 100024;