/* The following definitions come from child.c */
-void child_run(struct child_struct *child, const char *loadfile);
+void child_run(struct child_struct *child0, const char *loadfile);
/* The following definitions come from dbench.c */
/* The following definitions come from fileio.c */
-void nb_target_rate(struct child_struct *child, double rate);
-void nb_time_reset(struct child_struct *child);
-void nb_time_delay(struct child_struct *child, double targett);
-void nb_setup(struct child_struct *child);
-void nb_unlink(struct child_struct *child, char *fname, int attr, const char *status);
-void nb_mkdir(struct child_struct *child, char *dname, const char *status);
-void nb_rmdir(struct child_struct *child, char *fname, const char *status);
-void nb_createx(struct child_struct *child, const char *fname,
- uint32_t create_options, uint32_t create_disposition, int fnum,
- const char *status);
-void nb_writex(struct child_struct *child, int handle, int offset,
- int size, int ret_size, const char *status);
-void nb_readx(struct child_struct *child, int handle, int offset,
- int size, int ret_size, const char *status);
-void nb_close(struct child_struct *child, int handle, const char *status);
-void nb_rename(struct child_struct *child, char *old, char *new, const char *status);
-void nb_flush(struct child_struct *child, int handle, const char *status);
-void nb_qpathinfo(struct child_struct *child, const char *fname, int level,
- const char *status);
-void nb_qfileinfo(struct child_struct *child, int handle, int level, const char *status);
-void nb_qfsinfo(struct child_struct *child, int level, const char *status);
-void nb_findfirst(struct child_struct *child, char *fname, int level, int maxcnt,
- int count, const char *status);
-void nb_cleanup(struct child_struct *child);
-void nb_deltree(struct child_struct *child, char *dname);
-void nb_sfileinfo(struct child_struct *child, int handle, int level, const char *status);
-void nb_lockx(struct child_struct *child, int handle, uint32_t offset, int size,
- const char *status);
-void nb_unlockx(struct child_struct *child,
- int handle, uint32_t offset, int size, const char *status);
-void nb_sleep(struct child_struct *child, int usec, const char *status);
/* The following definitions come from io.c */
void do_stat(char *fname, int size);
void do_create(char *fname, int size);
+/* The following definitions come from libnfs.c */
+
+const char *nfs_error(int error);
+void nfsio_disconnect(struct nfsio *nfsio);
+struct nfsio *nfsio_connect(const char *server, const char *export, const char *protocol);
+
+/* The following definitions come from mount_client.c */
+
+
+/* The following definitions come from mount_xdr.c */
+
+
+/* The following definitions come from nfs_client.c */
+
+
+/* The following definitions come from nfs_xdr.c */
+
+
+/* The following definitions come from nfsio.c */
+
+
/* The following definitions come from snprintf.c */
/* The following definitions come from sockio.c */
-void nb_setup(struct child_struct *child);
-void nb_unlink(struct child_struct *child, char *fname, int attr, const char *status);
-void nb_mkdir(struct child_struct *child, char *dname, const char *status);
-void nb_rmdir(struct child_struct *child, char *fname, const char *status);
-void nb_createx(struct child_struct *child, const char *fname,
- uint32_t create_options, uint32_t create_disposition, int fnum,
- const char *status);
-void nb_writex(struct child_struct *child, int handle, int offset,
- int size, int ret_size, const char *status);
-void nb_readx(struct child_struct *child, int handle, int offset,
- int size, int ret_size, const char *status);
-void nb_close(struct child_struct *child, int handle, const char *status);
-void nb_rename(struct child_struct *child, char *old, char *new, const char *status);
-void nb_flush(struct child_struct *child, int handle, const char *status);
-void nb_qpathinfo(struct child_struct *child, const char *fname, int level,
- const char *status);
-void nb_qfileinfo(struct child_struct *child, int handle, int level, const char *status);
-void nb_qfsinfo(struct child_struct *child, int level, const char *status);
-void nb_findfirst(struct child_struct *child, char *fname, int level, int maxcnt,
- int count, const char *status);
-void nb_cleanup(struct child_struct *child);
-void nb_deltree(struct child_struct *child, char *dname);
-void nb_sfileinfo(struct child_struct *child, int handle, int level, const char *status);
-void nb_lockx(struct child_struct *child, int handle, uint32_t offset, int size,
- const char *status);
-void nb_unlockx(struct child_struct *child,
- int handle, uint32_t offset, int size, const char *status);
-void nb_sleep(struct child_struct *child, int usec, const char *status);
/* The following definitions come from socklib.c */
int open_socket_in(int type, int port);
-int open_socket_out(char *host, int port);
+int open_socket_out(const char *host, int port);
void set_socket_options(int fd, char *options);
int read_sock(int s, char *buf, int size);
int write_sock(int s, char *buf, int size);