patch-2.1.33 linux/include/linux/sunrpc/stats.h
Next file: linux/include/linux/swapctl.h
Previous file: linux/include/linux/scc.h
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Wed Apr 9 23:34:09 1997
- Orig file:
v2.1.32/linux/include/linux/sunrpc/stats.h
- Orig date:
Mon Apr 7 11:35:32 1997
diff -u --recursive --new-file v2.1.32/linux/include/linux/sunrpc/stats.h linux/include/linux/sunrpc/stats.h
@@ -12,8 +12,6 @@
#include <linux/proc_fs.h>
struct rpc_stat {
- struct rpc_stat * next;
- struct proc_dir_entry * entry;
struct rpc_program * program;
unsigned int netcnt,
@@ -28,8 +26,6 @@
};
struct svc_stat {
- struct svc_stat * next;
- struct proc_dir_entry * entry;
struct svc_program * program;
unsigned int netcnt,
@@ -42,18 +38,18 @@
rpcbadclnt;
};
-void rpcstat_init(void);
-void rpcstat_exit(void);
+void rpc_proc_init(void);
+void rpc_proc_exit(void);
-void rpcstat_register(struct rpc_stat *);
-void rpcstat_unregister(struct rpc_stat *);
-int rpcstat_get_info(struct rpc_stat *, char *, char **,
- off_t, int);
-void rpcstat_zero_info(struct rpc_program *);
-void svcstat_register(struct svc_stat *);
-void svcstat_unregister(struct svc_stat *);
-int svcstat_get_info(struct svc_stat *, char *, char **,
- off_t, int);
-void svcstat_zero_info(struct svc_program *);
+struct proc_dir_entry * rpc_proc_register(struct rpc_stat *);
+void rpc_proc_unregister(const char *);
+int rpc_proc_read(char *, char **, off_t, int,
+ int *, void *);
+void rpc_proc_zero(struct rpc_program *);
+struct proc_dir_entry * svc_proc_register(struct svc_stat *);
+void svc_proc_unregister(const char *);
+int svc_proc_read(char *, char **, off_t, int,
+ int *, void *);
+void svc_proc_zero(struct svc_program *);
#endif /* _LINUX_SUNRPC_STATS_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov