NSM: Move NSM-related XDR data structures to lockd's xdr.h
[safe/jmp/linux-2.6] / include / linux / lockd / sm_inter.h
index 1080bb6..dd9d8a5 100644 (file)
 #define SM_NOTIFY      6
 
 #define SM_MAXSTRLEN   1024
+#define SM_PRIV_SIZE   16
 
-/*
- * Arguments for all calls to statd
- */
-struct nsm_args {
-       u32             addr;           /* remote address */
-       u32             prog;           /* RPC callback info */
-       u32             vers;
-       u32             proc;
-       u32             proto;          /* protocol (udp/tcp) plus server/client flag */
-};
-
-/*
- * Result returned by statd
- */
-struct nsm_res {
-       u32             status;
-       u32             state;
-};
-
-int            nsm_monitor(struct nlm_host *);
-int            nsm_unmonitor(struct nlm_host *);
-extern u32     nsm_local_state;
+extern int     nsm_local_state;
 
 #endif /* LINUX_LOCKD_SM_INTER_H */