summaryrefslogtreecommitdiff
path: root/backend/epson2_net.h
blob: 7db671bf19181bcf68852452e9b40d730555009a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _EPSON2_NET_H_
#define _EPSON2_NET_H_

#include <sys/types.h>
#include "../include/sane/sane.h"

extern ssize_t sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size,
				SANE_Status *status);
extern size_t sanei_epson_net_write(struct Epson_Scanner *s, unsigned int cmd, const unsigned char *buf,
				size_t buf_size, size_t reply_len,
				SANE_Status *status);
extern SANE_Status sanei_epson_net_lock(struct Epson_Scanner *s);
extern SANE_Status sanei_epson_net_unlock(struct Epson_Scanner *s);

#endif