File: epsonds-net.h

package info (click to toggle)
sane-backends 1.0.27-3.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,176 kB
  • sloc: ansic: 435,221; sh: 12,794; makefile: 1,511; java: 1,412; awk: 83; sed: 16
file content (16 lines) | stat: -rw-r--r-- 606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _EPSONDS_NET_H_
#define _EPSONDS_NET_H_

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

extern int epsonds_net_read(struct epsonds_scanner *s, unsigned char *buf, ssize_t buf_size,
				SANE_Status *status);
extern int epsonds_net_write(struct epsonds_scanner *s, unsigned int cmd, const unsigned char *buf,
				size_t buf_size, size_t reply_len,
				SANE_Status *status);
extern SANE_Status epsonds_net_lock(struct epsonds_scanner *s);
extern SANE_Status epsonds_net_unlock(struct epsonds_scanner *s);
extern SANE_Status epsonds_net_request_read(epsonds_scanner *s, size_t len);

#endif