X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=door_daemon%2Fdatatypes.h;h=4075e7379692677b7cb9e77bbcd263a273696ceb;hb=ff3d6b186df71348652f0c7dfbbef049e4cf4531;hp=3cb39672896bf0a6a64d8f42167f7bd76b856bc8;hpb=c0f02109c659f75d7fd326983fa7eaa03b74de5c;p=svn42.git diff --git a/door_daemon/datatypes.h b/door_daemon/datatypes.h index 3cb3967..4075e73 100644 --- a/door_daemon/datatypes.h +++ b/door_daemon/datatypes.h @@ -39,6 +39,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