]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journald-context.h
Merge pull request #17549 from yuwata/tiny-fixes
[thirdparty/systemd.git] / src / journal / journald-context.h
index 5ce8b759ea4fb4492f45c0992839c75535474821..9bf74b23471b9d83fa21da7d761659105d8e8afd 100644 (file)
@@ -1,17 +1,14 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2017 Lennart Poettering
-***/
-
 #include <inttypes.h>
+#include <sys/socket.h>
 #include <sys/types.h>
 
 #include "sd-id128.h"
 
+#include "time-util.h"
+
 typedef struct ClientContext ClientContext;
 
 #include "journald-server.h"
@@ -55,6 +52,9 @@ struct ClientContext {
         size_t extra_fields_n_iovec;
         void *extra_fields_data;
         nsec_t extra_fields_mtime;
+
+        usec_t log_ratelimit_interval;
+        unsigned log_ratelimit_burst;
 };
 
 int client_context_get(