mention we support iscsi on the features list
[tridge/dbench.git] / proto.h
1 #ifndef _PROTO_H_
2 #define _PROTO_H_
3
4 /* This file is automatically generated with "make proto". DO NOT EDIT */
5
6
7 /* The following definitions come from child.c  */
8
9 void child_run(struct child_struct *child0, const char *loadfile);
10
11 /* The following definitions come from dbench.c  */
12
13
14 /* The following definitions come from fileio.c  */
15
16
17 /* The following definitions come from io.c  */
18
19 void do_unlink(char *fname);
20 void expand_file(int fd, int size);
21 void do_open(char *fname, int handle, int size);
22 void do_write(int handle, int size, int offset);
23 void do_read(int handle, int size, int offset);
24 void do_close(int handle);
25 void do_mkdir(char *fname);
26 void do_rmdir(char *fname);
27 void do_rename(char *old, char *new);
28 void do_stat(char *fname, int size);
29 void do_create(char *fname, int size);
30
31 /* The following definitions come from libnfs.c  */
32
33 const char *nfs_error(int error);
34 void nfsio_disconnect(struct nfsio *nfsio);
35 struct nfsio *nfsio_connect(const char *server, const char *export, const char *protocol);
36
37 /* The following definitions come from mount_client.c  */
38
39
40 /* The following definitions come from mount_xdr.c  */
41
42
43 /* The following definitions come from nfs_client.c  */
44
45
46 /* The following definitions come from nfs_xdr.c  */
47
48
49 /* The following definitions come from nfsio.c  */
50
51
52 /* The following definitions come from snprintf.c  */
53
54
55 /* The following definitions come from sockio.c  */
56
57
58 /* The following definitions come from socklib.c  */
59
60 int open_socket_in(int type, int port);
61 int open_socket_out(const char *host, int port);
62 void set_socket_options(int fd, char *options);
63 int read_sock(int s, char *buf, int size);
64 int write_sock(int s, char *buf, int size);
65
66 /* The following definitions come from system.c  */
67
68 ssize_t sys_getxattr (const char *path, const char *name, void *value, size_t size);
69 ssize_t sys_fgetxattr (int filedes, const char *name, void *value, size_t size);
70 int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags);
71
72 /* The following definitions come from tbench_srv.c  */
73
74
75 /* The following definitions come from util.c  */
76
77 void *shm_setup(int size);
78 void all_string_sub(char *s,const char *pattern,const char *insert);
79 BOOL next_token(char **ptr,char *buff,char *sep);
80 struct timeval timeval_current(void);
81 double timeval_elapsed(struct timeval *tv);
82 double timeval_elapsed2(struct timeval *tv1, struct timeval *tv2);
83 void msleep(unsigned int t);
84
85 #endif /*  _PROTO_H_  */