summaryrefslogtreecommitdiff
path: root/backend/epson2_net.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-23 09:52:20 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-23 09:52:20 +0200
commitb3ca7a7c8bae4740ab95d043325972bdaf3c45ef (patch)
tree74966ddb0a35b15b78f792c34ca0b6fd56e12c6a /backend/epson2_net.h
parent1ae6cba5016d9ea065d064915da55afe69c7c762 (diff)
parent9c23ed018d72eed2554f4f9cff1ae6e6bb0cd479 (diff)
Update upstream source from tag 'upstream/1.0.30'
Update to upstream version '1.0.30' with Debian dir d1980efdd93517d429af686634543ede4211442d
Diffstat (limited to 'backend/epson2_net.h')
-rw-r--r--backend/epson2_net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/epson2_net.h b/backend/epson2_net.h
index 6aef2b7..7db671b 100644
--- a/backend/epson2_net.h
+++ b/backend/epson2_net.h
@@ -4,9 +4,9 @@
#include <sys/types.h>
#include "../include/sane/sane.h"
-extern int sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size,
+extern ssize_t sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size,
SANE_Status *status);
-extern int sanei_epson_net_write(struct Epson_Scanner *s, unsigned int cmd, const unsigned char *buf,
+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);