X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=door_daemon%2Fdatatypes.h;h=cfac0c40368f9281e5983c96d1a2c19871e77458;hb=c62c39411cd07099da6ca5998e98b3123d15095c;hp=3cb39672896bf0a6a64d8f42167f7bd76b856bc8;hpb=c0f02109c659f75d7fd326983fa7eaa03b74de5c;p=svn42.git
diff --git a/door_daemon/datatypes.h b/door_daemon/datatypes.h
index 3cb3967..cfac0c4 100644
--- a/door_daemon/datatypes.h
+++ b/door_daemon/datatypes.h
@@ -6,8 +6,9 @@
* This file is part of door_daemon.
*
* door_daemon is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
*
* door_daemon is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -18,8 +19,8 @@
* along with door_daemon. If not, see .
*/
-#ifndef _DATATYPES_H_
-#define _DATATYPES_H_
+#ifndef DOOR_DAEMON_datatypes_h_INCLUDED
+#define DOOR_DAEMON_datatypes_h_INCLUDED
#include
#include
@@ -39,6 +40,10 @@ struct buffer_struct {
};
typedef struct buffer_struct buffer_t;
-typedef char read_buffer_t[100];
+struct read_buffer_struct {
+ u_int32_t offset;
+ u_int8_t buf[100];
+};
+typedef struct read_buffer_struct read_buffer_t;
#endif