Lines Matching refs:sd_bus_message

24 static int message_append_basic(sd_bus_message *m, char type, const void *p, const void **stored);
43 static void message_free_part(sd_bus_message *m, struct bus_body_part *part) { in message_free_part()
70 static void message_reset_parts(sd_bus_message *m) { in message_reset_parts()
89 static struct bus_container *message_get_last_container(sd_bus_message *m) { in message_get_last_container()
99 static void message_free_last_container(sd_bus_message *m) { in message_free_last_container()
113 static void message_reset_containers(sd_bus_message *m) { in message_reset_containers()
123 static sd_bus_message* message_free(sd_bus_message *m) { in message_free()
150 static void *message_extend_fields(sd_bus_message *m, size_t align, size_t sz, bool add_offset) { in message_extend_fields()
218 sd_bus_message *m, in message_append_field_string()
279 sd_bus_message *m, in message_append_field_signature()
324 static int message_append_field_uint32(sd_bus_message *m, uint64_t h, uint32_t x) { in message_append_field_uint32()
361 static int message_append_field_uint64(sd_bus_message *m, uint64_t h, uint64_t x) { in message_append_field_uint64()
402 static int message_append_reply_cookie(sd_bus_message *m, uint64_t cookie) { in message_append_reply_cookie()
427 sd_bus_message **ret) { in bus_message_from_header()
429 _cleanup_free_ sd_bus_message *m = NULL; in bus_message_from_header()
459 a = ALIGN(sizeof(sd_bus_message)) + ALIGN(extra); in bus_message_from_header()
517 m->creds.label = (char*) m + ALIGN(sizeof(sd_bus_message)) + ALIGN(extra); in bus_message_from_header()
538 sd_bus_message **ret) { in bus_message_from_malloc()
540 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL; in bus_message_from_malloc()
582 sd_bus_message **m, in sd_bus_message_new()
592 sd_bus_message *t = malloc0(ALIGN(sizeof(sd_bus_message)) + sizeof(struct bus_header)); in sd_bus_message_new()
598 t->header = (struct bus_header*) ((uint8_t*) t + ALIGN(sizeof(struct sd_bus_message))); in sd_bus_message_new()
614 sd_bus_message **m, in sd_bus_message_new_signal()
619 _cleanup_(sd_bus_message_unrefp) sd_bus_message *t = NULL; in sd_bus_message_new_signal()
654 sd_bus_message **m, in sd_bus_message_new_method_call()
660 _cleanup_(sd_bus_message_unrefp) sd_bus_message *t = NULL; in sd_bus_message_new_method_call()
702 sd_bus_message *call, in message_new_reply()
704 sd_bus_message **m) { in message_new_reply()
706 _cleanup_(sd_bus_message_unrefp) sd_bus_message *t = NULL; in message_new_reply()
752 sd_bus_message *call, in sd_bus_message_new_method_return()
753 sd_bus_message **m) { in sd_bus_message_new_method_return()
759 sd_bus_message *call, in sd_bus_message_new_method_error()
760 sd_bus_message **m, in sd_bus_message_new_method_error()
763 _cleanup_(sd_bus_message_unrefp) sd_bus_message *t = NULL; in sd_bus_message_new_method_error()
790 sd_bus_message *call, in sd_bus_message_new_method_errorf()
791 sd_bus_message **m, in sd_bus_message_new_method_errorf()
810 sd_bus_message *call, in sd_bus_message_new_method_errno()
811 sd_bus_message **m, in sd_bus_message_new_method_errno()
826 sd_bus_message *call, in sd_bus_message_new_method_errnof()
827 sd_bus_message **m, in sd_bus_message_new_method_errnof()
842 void bus_message_set_sender_local(sd_bus *bus, sd_bus_message *m) { in bus_message_set_sender_local()
851 void bus_message_set_sender_driver(sd_bus *bus, sd_bus_message *m) { in bus_message_set_sender_driver()
864 sd_bus_message **m) { in bus_message_new_synthetic_error()
866 _cleanup_(sd_bus_message_unrefp) sd_bus_message *t = NULL; in bus_message_new_synthetic_error()
910 _public_ sd_bus_message* sd_bus_message_ref(sd_bus_message *m) { in sd_bus_message_ref()
925 _public_ sd_bus_message* sd_bus_message_unref(sd_bus_message *m) { in sd_bus_message_unref()
949 sd_bus_message* bus_message_ref_queued(sd_bus_message *m, sd_bus *bus) { in bus_message_ref_queued()
966 sd_bus_message* bus_message_unref_queued(sd_bus_message *m, sd_bus *bus) { in bus_message_unref_queued()
984 _public_ int sd_bus_message_get_type(sd_bus_message *m, uint8_t *type) { in sd_bus_message_get_type()
992 _public_ int sd_bus_message_get_cookie(sd_bus_message *m, uint64_t *cookie) { in sd_bus_message_get_cookie()
1006 _public_ int sd_bus_message_get_reply_cookie(sd_bus_message *m, uint64_t *cookie) { in sd_bus_message_get_reply_cookie()
1017 _public_ int sd_bus_message_get_expect_reply(sd_bus_message *m) { in sd_bus_message_get_expect_reply()
1024 _public_ int sd_bus_message_get_auto_start(sd_bus_message *m) { in sd_bus_message_get_auto_start()
1030 _public_ int sd_bus_message_get_allow_interactive_authorization(sd_bus_message *m) { in sd_bus_message_get_allow_interactive_authorization()
1037 _public_ const char *sd_bus_message_get_path(sd_bus_message *m) { in sd_bus_message_get_path()
1043 _public_ const char *sd_bus_message_get_interface(sd_bus_message *m) { in sd_bus_message_get_interface()
1049 _public_ const char *sd_bus_message_get_member(sd_bus_message *m) { in sd_bus_message_get_member()
1055 _public_ const char *sd_bus_message_get_destination(sd_bus_message *m) { in sd_bus_message_get_destination()
1061 _public_ const char *sd_bus_message_get_sender(sd_bus_message *m) { in sd_bus_message_get_sender()
1067 _public_ const sd_bus_error *sd_bus_message_get_error(sd_bus_message *m) { in sd_bus_message_get_error()
1076 _public_ int sd_bus_message_get_monotonic_usec(sd_bus_message *m, uint64_t *usec) { in sd_bus_message_get_monotonic_usec()
1087 _public_ int sd_bus_message_get_realtime_usec(sd_bus_message *m, uint64_t *usec) { in sd_bus_message_get_realtime_usec()
1098 _public_ int sd_bus_message_get_seqnum(sd_bus_message *m, uint64_t *seqnum) { in sd_bus_message_get_seqnum()
1109 _public_ sd_bus_creds *sd_bus_message_get_creds(sd_bus_message *m) { in sd_bus_message_get_creds()
1119 sd_bus_message *m, in sd_bus_message_is_signal()
1138 sd_bus_message *m, in sd_bus_message_is_method_call()
1156 _public_ int sd_bus_message_is_method_error(sd_bus_message *m, const char *name) { in sd_bus_message_is_method_error()
1168 _public_ int sd_bus_message_set_expect_reply(sd_bus_message *m, int b) { in sd_bus_message_set_expect_reply()
1178 _public_ int sd_bus_message_set_auto_start(sd_bus_message *m, int b) { in sd_bus_message_set_auto_start()
1187 _public_ int sd_bus_message_set_allow_interactive_authorization(sd_bus_message *m, int b) { in sd_bus_message_set_allow_interactive_authorization()
1196 struct bus_body_part *message_append_part(sd_bus_message *m) { in message_append_part()
1241 struct sd_bus_message *m, in part_make_space()
1277 static int message_add_offset(sd_bus_message *m, size_t offset) { in message_add_offset()
1298 static void message_extend_containers(sd_bus_message *m, size_t expand) { in message_extend_containers()
1314 sd_bus_message *m, in message_extend_body()
1416 static int message_push_fd(sd_bus_message *m, int fd) { in message_push_fd()
1445 int message_append_basic(sd_bus_message *m, char type, const void *p, const void **stored) { in message_append_basic()
1632 _public_ int sd_bus_message_append_basic(sd_bus_message *m, char type, const void *p) { in sd_bus_message_append_basic()
1637 sd_bus_message *m, in sd_bus_message_append_string_space()
1694 sd_bus_message *m, in sd_bus_message_append_string_iovec()
1728 sd_bus_message *m, in bus_message_open_array()
1827 sd_bus_message *m, in bus_message_open_variant()
1885 sd_bus_message *m, in bus_message_open_struct()
1958 sd_bus_message *m, in bus_message_open_dict_entry()
2016 sd_bus_message *m, in sd_bus_message_open_container()
2077 static int bus_message_close_array(sd_bus_message *m, struct bus_container *c) { in bus_message_close_array()
2113 static int bus_message_close_variant(sd_bus_message *m, struct bus_container *c) { in bus_message_close_variant()
2136 static int bus_message_close_struct(sd_bus_message *m, struct bus_container *c, bool add_offset) { in bus_message_close_struct()
2254 _public_ int sd_bus_message_close_container(sd_bus_message *m) { in sd_bus_message_close_container()
2326 sd_bus_message *m, in sd_bus_message_appendv()
2529 _public_ int sd_bus_message_append(sd_bus_message *m, const char *types, ...) { in sd_bus_message_append()
2541 sd_bus_message *m, in sd_bus_message_append_array_space()
2584 sd_bus_message *m, in sd_bus_message_append_array()
2607 sd_bus_message *m, in sd_bus_message_append_array_iovec()
2643 sd_bus_message *m, in sd_bus_message_append_array_memfd()
2720 sd_bus_message *m, in sd_bus_message_append_string_memfd()
2817 _public_ int sd_bus_message_append_strv(sd_bus_message *m, char **l) { in sd_bus_message_append_strv()
2837 static int bus_message_close_header(sd_bus_message *m) { in bus_message_close_header()
2897 _public_ int sd_bus_message_seal(sd_bus_message *m, uint64_t cookie, uint64_t timeout_usec) { in sd_bus_message_seal()
3089 static bool message_end_of_signature(sd_bus_message *m) { in message_end_of_signature()
3098 static bool message_end_of_array(sd_bus_message *m, size_t index) { in message_end_of_array()
3115 _public_ int sd_bus_message_at_end(sd_bus_message *m, int complete) { in sd_bus_message_at_end()
3131 static struct bus_body_part* find_part(sd_bus_message *m, size_t index, size_t sz, void **p) { in find_part()
3173 static int container_next_item(sd_bus_message *m, struct bus_container *c, size_t *rindex) { in container_next_item()
3261 sd_bus_message *m, in message_peek_body()
3353 _public_ int sd_bus_message_read_basic(sd_bus_message *m, char type, void *p) { in sd_bus_message_read_basic()
3591 sd_bus_message *m, in bus_message_enter_array()
3720 sd_bus_message *m, in bus_message_enter_variant()
3799 sd_bus_message *m, in build_struct_offsets()
3947 sd_bus_message *m, in enter_struct_or_dict_entry()
3978 sd_bus_message *m, in bus_message_enter_struct()
4019 sd_bus_message *m, in bus_message_enter_dict_entry()
4059 _public_ int sd_bus_message_enter_container(sd_bus_message *m, in sd_bus_message_enter_container()
4168 _public_ int sd_bus_message_exit_container(sd_bus_message *m) { in sd_bus_message_exit_container()
4209 static void message_quit_container(sd_bus_message *m) { in message_quit_container()
4229 _public_ int sd_bus_message_peek_type(sd_bus_message *m, char *type, const char **contents) { in sd_bus_message_peek_type()
4380 _public_ int sd_bus_message_rewind(sd_bus_message *m, int complete) { in sd_bus_message_rewind()
4405 sd_bus_message *m, in sd_bus_message_readv()
4604 _public_ int sd_bus_message_read(sd_bus_message *m, const char *types, ...) { in sd_bus_message_read()
4615 _public_ int sd_bus_message_skip(sd_bus_message *m, const char *types) { in sd_bus_message_skip()
4776 sd_bus_message *m, in sd_bus_message_read_array()
4844 sd_bus_message *m, in message_peek_fields()
4858 sd_bus_message *m, in message_peek_field_uint32()
4885 sd_bus_message *m, in message_peek_field_uint64()
4912 sd_bus_message *m, in message_peek_field_string()
4967 sd_bus_message *m, in message_peek_field_signature()
5014 sd_bus_message *m, in message_skip_fields()
5150 int bus_message_parse_fields(sd_bus_message *m) { in bus_message_parse_fields()
5537 _public_ int sd_bus_message_set_destination(sd_bus_message *m, const char *destination) { in sd_bus_message_set_destination()
5547 _public_ int sd_bus_message_set_sender(sd_bus_message *m, const char *sender) { in sd_bus_message_set_sender()
5557 int bus_message_get_blob(sd_bus_message *m, void **buffer, size_t *sz) { in bus_message_get_blob()
5585 int bus_message_read_strv_extend(sd_bus_message *m, char ***l) { in bus_message_read_strv_extend()
5620 _public_ int sd_bus_message_read_strv(sd_bus_message *m, char ***l) { in sd_bus_message_read_strv()
5637 sd_bus_message *m, in bus_message_get_arg_skip()
5679 int bus_message_get_arg(sd_bus_message *m, unsigned i, const char **str) { in bus_message_get_arg()
5696 int bus_message_get_arg_strv(sd_bus_message *m, unsigned i, char ***strv) { in bus_message_get_arg_strv()
5716 _public_ int sd_bus_message_get_errno(sd_bus_message *m) { in sd_bus_message_get_errno()
5725 _public_ const char* sd_bus_message_get_signature(sd_bus_message *m, int complete) { in sd_bus_message_get_signature()
5734 _public_ int sd_bus_message_is_empty(sd_bus_message *m) { in sd_bus_message_is_empty()
5740 _public_ int sd_bus_message_has_signature(sd_bus_message *m, const char *signature) { in sd_bus_message_has_signature()
5746 _public_ int sd_bus_message_copy(sd_bus_message *m, sd_bus_message *source, int all) { in sd_bus_message_copy()
5823 _public_ int sd_bus_message_verify_type(sd_bus_message *m, char type, const char *contents) { in sd_bus_message_verify_type()
5848 _public_ sd_bus *sd_bus_message_get_bus(sd_bus_message *m) { in sd_bus_message_get_bus()
5854 int bus_message_remarshal(sd_bus *bus, sd_bus_message **m) { in bus_message_remarshal()
5855 _cleanup_(sd_bus_message_unrefp) sd_bus_message *n = NULL; in bus_message_remarshal()
5943 _public_ int sd_bus_message_get_priority(sd_bus_message *m, int64_t *priority) { in sd_bus_message_get_priority()
5958 _public_ int sd_bus_message_set_priority(sd_bus_message *m, int64_t priority) { in sd_bus_message_set_priority()
5972 _public_ int sd_bus_message_sensitive(sd_bus_message *m) { in sd_bus_message_sensitive()