1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/utils/smnotify/smnotify.x
Ronnie Sahlberg 6d5af34024 from Chris Cowan
patches to smnotify to make it compile under AIX.

On AIX, we need to specify $(POPT_OBJ) explicitely

On AIX we can not use the -C flag to rpcgen since it is not implemented

On AIX we must explicitely force an #include of rpc/rpc.h in the idl 
file since rpcgen does not automatically add it to the generated files

(This used to be ctdb commit 8c3e7ce645ec829bc465302831cc6b23452525d6)
2007-08-15 07:59:01 +10:00

22 lines
284 B
Plaintext

#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;