Lines Matching refs:sd_bus_message

40 typedef struct sd_bus_message sd_bus_message;  typedef
110 typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error);
111 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *…
112 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *…
200 int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie);
201 int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie);
202 int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_mess…
203 int sd_bus_call_async(sd_bus *bus, sd_bus_slot **slot, sd_bus_message *m, sd_bus_message_handler_t …
208 int sd_bus_process(sd_bus *bus, sd_bus_message **r);
209 int sd_bus_process_priority(sd_bus *bus, int64_t max_priority, sd_bus_message **r) _sd_deprecated_;
212 int sd_bus_enqueue_for_read(sd_bus *bus, sd_bus_message *m);
215 sd_bus_message* sd_bus_get_current_message(sd_bus *bus);
254 sd_bus_message* sd_bus_slot_get_current_message(sd_bus_slot *slot);
260 int sd_bus_message_new(sd_bus *bus, sd_bus_message **m, uint8_t type);
261 int sd_bus_message_new_signal(sd_bus *bus, sd_bus_message **m, const char *path, const char *interf…
262 int sd_bus_message_new_method_call(sd_bus *bus, sd_bus_message **m, const char *destination, const …
263 int sd_bus_message_new_method_return(sd_bus_message *call, sd_bus_message **m);
264 int sd_bus_message_new_method_error(sd_bus_message *call, sd_bus_message **m, const sd_bus_error *e…
265 int sd_bus_message_new_method_errorf(sd_bus_message *call, sd_bus_message **m, const char *name, co…
266 int sd_bus_message_new_method_errno(sd_bus_message *call, sd_bus_message **m, int error, const sd_b…
267 int sd_bus_message_new_method_errnof(sd_bus_message *call, sd_bus_message **m, int error, const cha…
269 sd_bus_message* sd_bus_message_ref(sd_bus_message *m);
270 sd_bus_message* sd_bus_message_unref(sd_bus_message *m);
272 int sd_bus_message_seal(sd_bus_message *m, uint64_t cookie, uint64_t timeout_usec);
274 int sd_bus_message_get_type(sd_bus_message *m, uint8_t *type);
275 int sd_bus_message_get_cookie(sd_bus_message *m, uint64_t *cookie);
276 int sd_bus_message_get_reply_cookie(sd_bus_message *m, uint64_t *cookie);
277 int sd_bus_message_get_priority(sd_bus_message *m, int64_t *priority) _sd_deprecated_;
279 int sd_bus_message_get_expect_reply(sd_bus_message *m);
280 int sd_bus_message_get_auto_start(sd_bus_message *m);
281 int sd_bus_message_get_allow_interactive_authorization(sd_bus_message *m);
283 const char* sd_bus_message_get_signature(sd_bus_message *m, int complete);
284 const char* sd_bus_message_get_path(sd_bus_message *m);
285 const char* sd_bus_message_get_interface(sd_bus_message *m);
286 const char* sd_bus_message_get_member(sd_bus_message *m);
287 const char* sd_bus_message_get_destination(sd_bus_message *m);
288 const char* sd_bus_message_get_sender(sd_bus_message *m);
289 const sd_bus_error* sd_bus_message_get_error(sd_bus_message *m);
290 int sd_bus_message_get_errno(sd_bus_message *m);
292 int sd_bus_message_get_monotonic_usec(sd_bus_message *m, uint64_t *usec);
293 int sd_bus_message_get_realtime_usec(sd_bus_message *m, uint64_t *usec);
294 int sd_bus_message_get_seqnum(sd_bus_message *m, uint64_t *seqnum);
296 sd_bus* sd_bus_message_get_bus(sd_bus_message *m);
297 sd_bus_creds* sd_bus_message_get_creds(sd_bus_message *m); /* do not unref the result */
299 int sd_bus_message_is_signal(sd_bus_message *m, const char *interface, const char *member);
300 int sd_bus_message_is_method_call(sd_bus_message *m, const char *interface, const char *member);
301 int sd_bus_message_is_method_error(sd_bus_message *m, const char *name);
302 int sd_bus_message_is_empty(sd_bus_message *m);
303 int sd_bus_message_has_signature(sd_bus_message *m, const char *signature);
305 int sd_bus_message_set_expect_reply(sd_bus_message *m, int b);
306 int sd_bus_message_set_auto_start(sd_bus_message *m, int b);
307 int sd_bus_message_set_allow_interactive_authorization(sd_bus_message *m, int b);
309 int sd_bus_message_set_destination(sd_bus_message *m, const char *destination);
310 int sd_bus_message_set_sender(sd_bus_message *m, const char *sender);
311 int sd_bus_message_set_priority(sd_bus_message *m, int64_t priority) _sd_deprecated_;
313 int sd_bus_message_append(sd_bus_message *m, const char *types, ...);
314 int sd_bus_message_appendv(sd_bus_message *m, const char *types, va_list ap);
315 int sd_bus_message_append_basic(sd_bus_message *m, char type, const void *p);
316 int sd_bus_message_append_array(sd_bus_message *m, char type, const void *ptr, size_t size);
317 int sd_bus_message_append_array_space(sd_bus_message *m, char type, size_t size, void **ptr);
318 int sd_bus_message_append_array_iovec(sd_bus_message *m, char type, const struct iovec *iov, unsign…
319 int sd_bus_message_append_array_memfd(sd_bus_message *m, char type, int memfd, uint64_t offset, uin…
320 int sd_bus_message_append_string_space(sd_bus_message *m, size_t size, char **s);
321 int sd_bus_message_append_string_iovec(sd_bus_message *m, const struct iovec *iov, unsigned n);
322 int sd_bus_message_append_string_memfd(sd_bus_message *m, int memfd, uint64_t offset, uint64_t size…
323 int sd_bus_message_append_strv(sd_bus_message *m, char **l);
324 int sd_bus_message_open_container(sd_bus_message *m, char type, const char *contents);
325 int sd_bus_message_close_container(sd_bus_message *m);
326 int sd_bus_message_copy(sd_bus_message *m, sd_bus_message *source, int all);
328 int sd_bus_message_read(sd_bus_message *m, const char *types, ...);
329 int sd_bus_message_readv(sd_bus_message *m, const char *types, va_list ap);
330 int sd_bus_message_read_basic(sd_bus_message *m, char type, void *p);
331 int sd_bus_message_read_array(sd_bus_message *m, char type, const void **ptr, size_t *size);
332 int sd_bus_message_read_strv(sd_bus_message *m, char ***l); /* free the result! */
333 int sd_bus_message_skip(sd_bus_message *m, const char *types);
334 int sd_bus_message_enter_container(sd_bus_message *m, char type, const char *contents);
335 int sd_bus_message_exit_container(sd_bus_message *m);
336 int sd_bus_message_peek_type(sd_bus_message *m, char *type, const char **contents);
337 int sd_bus_message_verify_type(sd_bus_message *m, char type, const char *contents);
338 int sd_bus_message_at_end(sd_bus_message *m, int complete);
339 int sd_bus_message_rewind(sd_bus_message *m, int complete);
340 int sd_bus_message_sensitive(sd_bus_message *m);
342 int sd_bus_message_dump(sd_bus_message *m, FILE *f, uint64_t flags);
357 int sd_bus_message_send(sd_bus_message *m);
358 … const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const…
359 … const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const…
362 … const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const…
369 int sd_bus_reply_method_returnv(sd_bus_message *call, const char *types, va_list ap);
370 int sd_bus_reply_method_return(sd_bus_message *call, const char *types, ...);
371 int sd_bus_reply_method_error(sd_bus_message *call, const sd_bus_error *e);
372 int sd_bus_reply_method_errorfv(sd_bus_message *call, const char *name, const char *format, va_list…
373 int sd_bus_reply_method_errorf(sd_bus_message *call, const char *name, const char *format, ...) _sd…
374 int sd_bus_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *e);
375 int sd_bus_reply_method_errnofv(sd_bus_message *call, int error, const char *format, va_list ap) _s…
376 int sd_bus_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) _sd_printf…
391 int sd_bus_query_sender_creds(sd_bus_message *m, uint64_t mask, sd_bus_creds **creds);
392 int sd_bus_query_sender_privilege(sd_bus_message *m, int capability);
504 int sd_bus_track_add_sender(sd_bus_track *track, sd_bus_message *m);
505 int sd_bus_track_remove_sender(sd_bus_track *track, sd_bus_message *m);
513 int sd_bus_track_count_sender(sd_bus_track *track, sd_bus_message *m);
528 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_bus_message, sd_bus_message_unref);