diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-25 17:46:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-25 18:04:04 +0100 |
commit | 693eb9a2d42d71445dad273a76e2470199d1dc5a (patch) | |
tree | 9d43271a1cc9c91ff8660eda7720ab755a427a84 /src/libsystemd-bus/bus-internal.h | |
parent | 80a33f113bbdadf4fc7ffec7fed026fde59d232b (diff) |
bus: rename message "serial" to "cookie"
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose
the word "cookie" for this instead, as this is what kdbus uses and since
it doesn't imply monotonicity the same way "serial" does.
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd-bus/bus-internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index e4ef6e64ec..c73ceb4a06 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -42,7 +42,7 @@ struct reply_callback { sd_bus_message_handler_t callback; void *userdata; usec_t timeout; - uint64_t serial; + uint64_t cookie; unsigned prioq_idx; }; @@ -178,7 +178,7 @@ struct sd_bus { size_t windex; size_t wqueue_allocated; - uint64_t serial; + uint64_t cookie; char *unique_name; uint64_t unique_id; @@ -228,7 +228,7 @@ struct sd_bus { char *exec_path; char **exec_argv; - uint64_t hello_serial; + uint64_t hello_cookie; unsigned iteration_counter; void *kdbus_buffer; |