1 #ifndef _EPSON2_NET_H_
2 #define _EPSON2_NET_H_
3 
4 #include <sys/types.h>
5 #include "../include/sane/sane.h"
6 
7 extern ssize_t sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size,
8 				SANE_Status *status);
9 extern size_t sanei_epson_net_write(struct Epson_Scanner *s, unsigned int cmd, const unsigned char *buf,
10 				size_t buf_size, size_t reply_len,
11 				SANE_Status *status);
12 extern SANE_Status sanei_epson_net_lock(struct Epson_Scanner *s);
13 extern SANE_Status sanei_epson_net_unlock(struct Epson_Scanner *s);
14 
15 #endif
16