]> de.git.xonotic.org Git - xonotic/d0_blind_id.git/blobdiff - d0_iobuf.h
allow reading/writing the camouflage
[xonotic/d0_blind_id.git] / d0_iobuf.h
index 396215d163baef1ebda4fbdcb238c5fa37c79df9..6b86c9604e497cfac56ea29ecc0f3c6f166312ca 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __D0_IOBUF_H__
+#define __D0_IOBUF_H__
+
 #include "d0.h"
 
 typedef struct d0_iobuf_s d0_iobuf_t;
@@ -11,3 +14,5 @@ WARN_UNUSED_RESULT size_t d0_iobuf_write_raw(d0_iobuf_t *buf, const void *s, siz
 WARN_UNUSED_RESULT size_t d0_iobuf_read_raw(d0_iobuf_t *buf, void *s, size_t n);
 WARN_UNUSED_RESULT BOOL d0_iobuf_write_packet(d0_iobuf_t *buf, const void *s, size_t n);
 WARN_UNUSED_RESULT BOOL d0_iobuf_read_packet(d0_iobuf_t *buf, void *s, size_t *n);
+
+#endif