From 89dded044b4fffe78f9d70778748fabb7ac533e9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 7 Jan 2012 14:59:58 +0000 Subject: [PATCH] forgot include/shmlog.h --- include/shmlog.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/shmlog.h diff --git a/include/shmlog.h b/include/shmlog.h new file mode 100644 index 00000000..c513babf --- /dev/null +++ b/include/shmlog.h @@ -0,0 +1,22 @@ +/* + * vim:ts=4:sw=4:expandtab + * + * i3 - an improved dynamic tiling window manager + * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) + * + * The format of the shmlog data structure which i3 development versions use by + * default (ringbuffer for storing the debug log). + * + */ +#ifndef _I3_SHMLOG_H +#define _I3_SHMLOG_H + +#include + +typedef struct i3_shmlog_header { + uint32_t offset_next_write; + uint32_t offset_last_wrap; + uint32_t size; +} i3_shmlog_header; + +#endif -- 2.39.5