chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: add macro for iterating through body parts of a message
[elogind.git]
/
src
/
libsystemd-bus
/
bus-internal.h
diff --git
a/src/libsystemd-bus/bus-internal.h
b/src/libsystemd-bus/bus-internal.h
index 05184fd560703da074e8facd42ae6e8dd57a1b48..504dac7f09a6453e783997f2e1229d0a2d0ed84d 100644
(file)
--- a/
src/libsystemd-bus/bus-internal.h
+++ b/
src/libsystemd-bus/bus-internal.h
@@
-33,6
+33,7
@@
#include "sd-bus.h"
#include "bus-error.h"
#include "bus-match.h"
#include "sd-bus.h"
#include "bus-error.h"
#include "bus-match.h"
+#include "bus-kernel.h"
struct reply_callback {
sd_bus_message_handler_t callback;
struct reply_callback {
sd_bus_message_handler_t callback;
@@
-152,6
+153,9
@@
struct sd_bus {
unsigned iteration_counter;
void *kdbus_buffer;
unsigned iteration_counter;
void *kdbus_buffer;
+
+ struct memfd_cache memfd_cache[MEMFD_CACHE_MAX];
+ unsigned n_memfd_cache;
};
static inline void bus_unrefp(sd_bus **b) {
};
static inline void bus_unrefp(sd_bus **b) {