X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fshmlog.h;h=231681cab591d012bef2ca9075eb206c7bb6f923;hb=d12482e5fd08403ce0954318e2993b2fb7214c8e;hp=fd3f53ebfac73a0ef60ea9f688c9126498626140;hpb=dcf95fd312c5cf9af2309163dc04740e64baad0d;p=i3%2Fi3 diff --git a/include/shmlog.h b/include/shmlog.h index fd3f53eb..231681ca 100644 --- a/include/shmlog.h +++ b/include/shmlog.h @@ -2,18 +2,20 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 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_I3_SHMLOG_H -#define I3_I3_SHMLOG_H +#pragma once #include #include +/* Default shmlog size if not set by user. */ +extern const int default_shmlog_size; + /* * Header of the shmlog file. Used by i3/src/log.c and i3/i3-dump-log/main.c. * @@ -40,5 +42,3 @@ typedef struct i3_shmlog_header { * tail -f) in an efficient way. */ pthread_cond_t condvar; } i3_shmlog_header; - -#endif