2006-12-02 14:47:21 +00:00
|
|
|
#ifndef _EPSON2_NET_H_
|
|
|
|
#define _EPSON2_NET_H_
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
2009-05-08 03:06:20 +00:00
|
|
|
#include "../include/sane/sane.h"
|
2006-12-02 14:47:21 +00:00
|
|
|
|
|
|
|
extern int sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, size_t buf_size,
|
|
|
|
SANE_Status *status);
|
|
|
|
extern int 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);
|
2006-12-18 00:13:09 +00:00
|
|
|
extern int
|
|
|
|
sanei_epson_net_read_raw(Epson_Scanner *s, unsigned char *buf, size_t wanted,
|
|
|
|
SANE_Status * status);
|
2006-12-02 14:47:21 +00:00
|
|
|
extern SANE_Status sanei_epson_net_lock(struct Epson_Scanner *s);
|
|
|
|
extern SANE_Status sanei_epson_net_unlock(struct Epson_Scanner *s);
|
|
|
|
|
|
|
|
#endif
|