summaryrefslogtreecommitdiffstats
path: root/user_call/user_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'user_call/user_io.h')
-rw-r--r--user_call/user_io.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/user_call/user_io.h b/user_call/user_io.h
new file mode 100644
index 0000000..98099a5
--- /dev/null
+++ b/user_call/user_io.h
@@ -0,0 +1,12 @@
+extern void err(char *message);
+
+extern int user_write(int fd, const void *buf, size_t count);
+extern int user_read(int fd, void *buf, size_t count);
+extern int select_loop(int s);
+
+extern void init_compress(void);
+extern void end_compress(void);
+
+extern int compression;
+extern int paclen_in;
+extern int paclen_out;