Searched refs:userdata (Results 1 - 25 of 245) sorted by relevance

12345678910

/systemd/src/basic/
H A Dreplace-var.h22 char *replace_var(const char *text, char *(*lookup)(const char *variable, void*userdata), void *userdata);
H A Dverbs.h30 int (* const dispatch)(int argc, char *argv[], void *userdata);
33 int dispatch_verb(int argc, char *argv[], const Verb verbs[], void *userdata);
/systemd/src/shared/
H A Dspecifier.h22 typedef int (*SpecifierCallback)(char specifier, void *data, void *userdata, char **ret);
30 int specifier_printf(const char *text, const Specifier table[], void *userdata, char **ret);
32 int specifier_string(char specifier, void *data, void *userdata, char **ret);
34 int specifier_machine_id(char specifier, void *data, void *userdata, char **ret);
35 int specifier_boot_id(char specifier, void *data, void *userdata, char **ret);
36 int specifier_host_name(char specifier, void *data, void *userdata, char **ret);
37 int specifier_kernel_release(char specifier, void *data, void *userdata, char **ret);
H A Dinstall-printf.c33 static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) { argument
34 UnitFileInstallInfo *i = userdata;
41 static int specifier_prefix(char specifier, void *data, void *userdata, char **ret) { argument
42 UnitFileInstallInfo *i = userdata;
49 static int specifier_instance(char specifier, void *data, void *userdata, char **ret) { argument
50 UnitFileInstallInfo *i = userdata;
70 static int specifier_user_name(char specifier, void *data, void *userdata, char **ret) { argument
86 static int specifier_user_id(char specifier, void *data, void *userdata, char **ret) { argument
H A Dconf-parser.h45 void *userdata);
63 size_t offset; /* Offset where to store data, from the beginning of userdata */
77 void *userdata);
81 int config_item_table_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata);
85 int config_item_perf_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata);
96 void *userdata);
104 void *userdata);
107 int config_parse_int(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
108 int config_parse_unsigned(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
109 int config_parse_long(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
[all...]
H A Dutmp-wtmp.h42 bool (*match_tty)(const char *tty, void *userdata),
43 void *userdata);
69 bool (*match_tty)(const char *tty, void *userdata),
70 void *userdata) {
65 utmp_wall( const char *message, const char *username, const char *origin_tty, bool (*match_tty)(const char *tty, void *userdata), void *userdata) argument
/systemd/src/machine/
H A Dimage-dbus.h28 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
29 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
31 int bus_image_method_remove(sd_bus_message *message, void *userdata, sd_bus_error *error);
32 int bus_image_method_rename(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_image_method_clone(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_image_method_mark_read_only(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_image_method_set_limit(sd_bus_message *message, void *userdata, sd_bus_error *error);
H A Dmachine-dbus.h29 int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
30 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
32 int bus_machine_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_machine_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_machine_method_get_addresses(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_machine_method_get_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error);
36 int bus_machine_method_open_pty(sd_bus_message *message, void *userdata, sd_bus_error *error);
37 int bus_machine_method_open_login(sd_bus_message *message, void *userdata, sd_bus_error *error);
38 int bus_machine_method_open_shell(sd_bus_message *message, void *userdata, sd_bus_error *error);
39 int bus_machine_method_bind_mount(sd_bus_message *message, void *userdata, sd_bus_erro
[all...]
H A Dimage-dbus.c33 void *userdata,
36 Image *image = userdata;
37 Manager *m = image->userdata;
66 void *userdata,
69 Image *image = userdata;
70 Manager *m = image->userdata;
107 void *userdata,
110 Image *image = userdata;
111 Manager *m = image->userdata;
148 void *userdata,
31 bus_image_method_remove( sd_bus_message *message, void *userdata, sd_bus_error *error) argument
64 bus_image_method_rename( sd_bus_message *message, void *userdata, sd_bus_error *error) argument
105 bus_image_method_clone( sd_bus_message *message, void *userdata, sd_bus_error *error) argument
146 bus_image_method_mark_read_only( sd_bus_message *message, void *userdata, sd_bus_error *error) argument
182 bus_image_method_set_limit( sd_bus_message *message, void *userdata, sd_bus_error *error) argument
241 image_flush_cache(sd_event_source *s, void *userdata) argument
254 image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) argument
326 image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) argument
[all...]
/systemd/src/resolve/
H A Dresolved-link-bus.h28 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
30 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
32 int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_link_method_set_search_domains(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_link_method_set_llmnr(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_link_method_set_mdns(sd_bus_message *message, void *userdata, sd_bus_error *error);
36 int bus_link_method_set_dnssec(sd_bus_message *message, void *userdata, sd_bus_error *error);
37 int bus_link_method_set_dnssec_negative_trust_anchors(sd_bus_message *message, void *userdata, sd_bus_error *error);
38 int bus_link_method_revert(sd_bus_message *message, void *userdata, sd_bus_error *error);
H A Dresolved-conf.h34 int config_parse_dns_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
35 int config_parse_search_domains(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
36 int config_parse_dnssec(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
/systemd/src/libsystemd/sd-bus/
H A Dbusctl-introspect.h25 int (*on_path)(const char *path, void *userdata);
26 int (*on_interface)(const char *name, uint64_t flags, void *userdata);
27 int (*on_method)(const char *interface, const char *name, const char *signature, const char *result, uint64_t flags, void *userdata);
28 int (*on_signal)(const char *interface, const char *name, const char *signature, uint64_t flags, void *userdata);
29 int (*on_property)(const char *interface, const char *name, const char *signature, bool writable, uint64_t flags, void *userdata);
32 int parse_xml_introspect(const char *prefix, const char *xml, const XMLIntrospectOps *ops, void *userdata);
H A Dbus-slot.h26 sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata);
/systemd/src/core/
H A Dload-fragment.h30 int config_parse_warn_compat(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
31 int config_parse_unit_deps(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
32 int config_parse_obsolete_unit_deps(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
33 int config_parse_unit_string_printf(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
34 int config_parse_unit_strv_printf(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
35 int config_parse_unit_path_printf(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
36 int config_parse_unit_path_strv_printf(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
37 int config_parse_documentation(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
38 int config_parse_socket_listen(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
39 int config_parse_socket_protocol(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
[all...]
H A Dunit-printf.c32 static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) { argument
33 Unit *u = userdata;
40 static int specifier_prefix(char specifier, void *data, void *userdata, char **ret) { argument
41 Unit *u = userdata;
48 static int specifier_prefix_unescaped(char specifier, void *data, void *userdata, char **ret) { argument
50 Unit *u = userdata;
62 static int specifier_instance_unescaped(char specifier, void *data, void *userdata, char **ret) { argument
63 Unit *u = userdata;
70 static int specifier_filename(char specifier, void *data, void *userdata, char **ret) { argument
71 Unit *u = userdata;
81 specifier_cgroup(char specifier, void *data, void *userdata, char **ret) argument
98 specifier_cgroup_root(char specifier, void *data, void *userdata, char **ret) argument
112 specifier_cgroup_slice(char specifier, void *data, void *userdata, char **ret) argument
136 specifier_runtime(char specifier, void *data, void *userdata, char **ret) argument
159 specifier_user_name(char specifier, void *data, void *userdata, char **ret) argument
175 specifier_user_id(char specifier, void *data, void *userdata, char **ret) argument
183 specifier_user_home(char specifier, void *data, void *userdata, char **ret) argument
191 specifier_user_shell(char specifier, void *data, void *userdata, char **ret) argument
[all...]
/systemd/src/import/
H A Dexport-raw.h29 typedef void (*RawExportFinished)(RawExport *export, int error, void *userdata);
31 int raw_export_new(RawExport **export, sd_event *event, RawExportFinished on_finished, void *userdata);
H A Dexport-tar.h29 typedef void (*TarExportFinished)(TarExport *export, int error, void *userdata);
31 int tar_export_new(TarExport **export, sd_event *event, TarExportFinished on_finished, void *userdata);
H A Dimport-raw.h29 typedef void (*RawImportFinished)(RawImport *import, int error, void *userdata);
31 int raw_import_new(RawImport **import, sd_event *event, const char *image_root, RawImportFinished on_finished, void *userdata);
H A Dimport-tar.h29 typedef void (*TarImportFinished)(TarImport *import, int error, void *userdata);
31 int tar_import_new(TarImport **import, sd_event *event, const char *image_root, TarImportFinished on_finished, void *userdata);
H A Dpull-raw.h29 typedef void (*RawPullFinished)(RawPull *pull, int error, void *userdata);
31 int raw_pull_new(RawPull **pull, sd_event *event, const char *image_root, RawPullFinished on_finished, void *userdata);
H A Dpull-tar.h29 typedef void (*TarPullFinished)(TarPull *pull, int error, void *userdata);
31 int tar_pull_new(TarPull **pull, sd_event *event, const char *image_root, TarPullFinished on_finished, void *userdata);
/systemd/src/network/
H A Dnetworkd-util.h34 int config_parse_address_family_boolean(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
35 int config_parse_address_family_boolean_with_kernel(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
/systemd/src/systemd/
H A Dsd-event.h68 typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata);
69 typedef int (*sd_event_io_handler_t)(sd_event_source *s, int fd, uint32_t revents, void *userdata);
70 typedef int (*sd_event_time_handler_t)(sd_event_source *s, uint64_t usec, void *userdata);
71 typedef int (*sd_event_signal_handler_t)(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata);
72 typedef int (*sd_event_child_handler_t)(sd_event_source *s, const siginfo_t *si, void *userdata);
80 int sd_event_add_io(sd_event *e, sd_event_source **s, int fd, uint32_t events, sd_event_io_handler_t callback, void *userdata);
81 int sd_event_add_time(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata);
82 int sd_event_add_signal(sd_event *e, sd_event_source **s, int sig, sd_event_signal_handler_t callback, void *userdata);
83 int sd_event_add_child(sd_event *e, sd_event_source **s, pid_t pid, int options, sd_event_child_handler_t callback, void *userdata);
84 int sd_event_add_defer(sd_event *e, sd_event_source **s, sd_event_handler_t callback, void *userdata);
[all...]
/systemd/src/nspawn/
H A Dnspawn-settings.h93 int config_parse_capability(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
94 int config_parse_id128(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
95 int config_parse_expose_port(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
96 int config_parse_volatile_mode(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
97 int config_parse_bind(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
98 int config_parse_tmpfs(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
99 int config_parse_veth_extra(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
100 int config_parse_boot(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
101 int config_parse_pid2(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
/systemd/src/libudev/
H A Dlibudev.c53 void *userdata; member in struct:udev
63 * Returns: stored userdata
68 return udev->userdata;
74 * @userdata: data pointer
76 * Store custom @userdata in the library context.
78 _public_ void udev_set_userdata(struct udev *udev, void *userdata) { argument
81 udev->userdata = userdata;

Completed in 276 milliseconds

12345678910