]> arthur.barton.de Git - netatalk.git/blobdiff - bin/megatron/macbin.h
logger: remove flood protection and allocate messages
[netatalk.git] / bin / megatron / macbin.h
index 35031c4b0c03689aafd8ce4cdfe3bc9321e1b01e..a1c5a3a1e83aac017b1e0cb904adb457293aba02 100644 (file)
@@ -1,11 +1,18 @@
+/*
+ */
+
+#ifndef _MACBIN_H
+#define _MACBIN_H 1
+
 /* Forward Declarations */
 struct FHeader;
 
 int bin_open(char *binfile, int flags, struct FHeader *fh, int options);
 int bin_close(int keepflag);
-int bin_read(int fork, char *buffer, int length);
-int bin_write(int fork, char *buffer, int length);
+ssize_t bin_read(int fork, char *buffer, size_t length);
+ssize_t bin_write(int fork, char *buffer, size_t length);
 int bin_header_read(struct FHeader *fh, int revision);
 int bin_header_write(struct FHeader *fh);
 int test_header(void);
-u_short updcrc();
+
+#endif /* _MACBIN_H */