File: epson2_net.h

package info (click to toggle)
sane-backends 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,552 kB
  • sloc: ansic: 418,643; cpp: 33,564; makefile: 2,502; java: 1,412; sh: 663; python: 330; awk: 83; perl: 27
file content (15 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (4)
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