/systemd/src/nspawn/ |
H A D | nspawn-setuid.h | 22 int change_uid_gid(const char *user, char **ret);
|
/systemd/src/basic/ |
H A D | sigbus.h | 25 int sigbus_pop(void **ret);
|
H A D | conf-files.h | 23 int conf_files_list(char ***ret, const char *suffix, const char *root, const char *dir, ...); 24 int conf_files_list_strv(char ***ret, const char *suffix, const char *root, const char* const* dirs); 25 int conf_files_list_nulstr(char ***ret, const char *suffix, const char *root, const char *dirs);
|
H A D | chattr-util.h | 25 int read_attr_fd(int fd, unsigned *ret); 26 int read_attr_path(const char *p, unsigned *ret);
|
H A D | rlimit-util.h | 31 int rlimit_parse_one(int resource, const char *val, rlim_t *ret); 32 int rlimit_parse(int resource, const char *val, struct rlimit *ret); 34 int rlimit_format(const struct rlimit *rl, char **ret);
|
H A D | proc-cmdline.h | 22 int proc_cmdline(char **ret);
|
H A D | extract-word.h | 33 int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags); 34 int extract_first_word_and_warn(const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue);
|
/systemd/src/coredump/ |
H A D | stacktrace.h | 22 int coredump_make_stack_trace(int fd, const char *executable, char **ret);
|
/systemd/src/core/ |
H A D | unit-printf.h | 24 int unit_name_printf(Unit *u, const char* text, char **ret); 25 int unit_full_printf(Unit *u, const char *text, char **ret); 26 int unit_full_printf_strv(Unit *u, char **l, char ***ret);
|
H A D | unit-printf.c | 32 static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) { argument 37 return unit_name_to_prefix_and_instance(u->id, ret); 40 static int specifier_prefix(char specifier, void *data, void *userdata, char **ret) { argument 45 return unit_name_to_prefix(u->id, ret); 48 static int specifier_prefix_unescaped(char specifier, void *data, void *userdata, char **ret) { argument 59 return unit_name_unescape(p, ret); 62 static int specifier_instance_unescaped(char specifier, void *data, void *userdata, char **ret) { argument 67 return unit_name_unescape(strempty(u->instance), ret); 70 static int specifier_filename(char specifier, void *data, void *userdata, char **ret) { argument 76 return unit_name_path_unescape(u->instance, ret); 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 199 unit_name_printf(Unit *u, const char* format, char **ret) argument 226 unit_full_printf(Unit *u, const char *format, char **ret) argument 279 unit_full_printf_strv(Unit *u, char **l, char ***ret) argument [all...] |
/systemd/src/test/ |
H A D | test-ask-password-api.c | 26 _cleanup_free_ char *ret; local 28 r = ask_password_tty("hello?", "da key", 0, 0, NULL, &ret); 31 log_info("Got %s", ret);
|
/systemd/src/shared/ |
H A D | install-printf.h | 24 int install_full_printf(UnitFileInstallInfo *i, const char *format, char **ret);
|
H A D | specifier.h | 22 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 D | install-printf.c | 33 static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) { argument 38 return unit_name_to_prefix_and_instance(i->name, ret); 41 static int specifier_prefix(char specifier, void *data, void *userdata, char **ret) { argument 46 return unit_name_to_prefix(i->name, ret); 49 static int specifier_instance(char specifier, void *data, void *userdata, char **ret) { argument 66 *ret = instance; 70 static int specifier_user_name(char specifier, void *data, void *userdata, char **ret) { argument 82 *ret = t; 86 static int specifier_user_id(char specifier, void *data, void *userdata, char **ret) { argument 88 if (asprintf(ret, UID_FM 94 install_full_printf(UnitFileInstallInfo *i, const char *format, char **ret) argument [all...] |
H A D | import-util.h | 34 int import_url_last_component(const char *url, char **ret); 35 int import_url_change_last_component(const char *url, const char *suffix, char **ret); 40 int tar_strip_suffixes(const char *name, char **ret); 41 int raw_strip_suffixes(const char *name, char **ret);
|
H A D | specifier.c | 42 char *ret, *t; local 52 ret = new(char, l+1); 53 if (!ret) 56 t = ret; 77 free(ret); 81 j = t - ret; 86 free(ret); 90 memcpy(n, ret, j); 93 free(ret); 95 ret 117 specifier_string(char specifier, void *data, void *userdata, char **ret) argument 128 specifier_machine_id(char specifier, void *data, void *userdata, char **ret) argument 145 specifier_boot_id(char specifier, void *data, void *userdata, char **ret) argument 162 specifier_host_name(char specifier, void *data, void *userdata, char **ret) argument 173 specifier_kernel_release(char specifier, void *data, void *userdata, char **ret) argument [all...] |
H A D | seccomp-util.c | 44 int seccomp_arch_from_string(const char *n, uint32_t *ret) { argument 48 assert(ret); 51 *ret = SCMP_ARCH_NATIVE; 53 *ret = SCMP_ARCH_X86; 55 *ret = SCMP_ARCH_X86_64; 57 *ret = SCMP_ARCH_X32; 59 *ret = SCMP_ARCH_ARM;
|
H A D | ask-password-api.h | 35 int ask_password_tty(const char *message, const char *keyname, usec_t until, AskPasswordFlags flags, const char *flag_file, char **ret); 36 int ask_password_agent(const char *message, const char *icon, const char *id, const char *keyname, usec_t until, AskPasswordFlags flag, char ***ret); 37 int ask_password_keyring(const char *keyname, AskPasswordFlags flags, char ***ret); 38 int ask_password_auto(const char *message, const char *icon, const char *id, const char *keyname, usec_t until, AskPasswordFlags flag, char ***ret);
|
H A D | dns-domain.h | 49 int dns_label_escape_new(const char *p, size_t l, char **ret); 58 int dns_name_concat(const char *a, const char *b, char **ret); 60 static inline int dns_name_normalize(const char *s, char **ret) { argument 62 return dns_name_concat(s, NULL, ret); 86 int dns_name_change_suffix(const char *name, const char *old_suffix, const char *new_suffix, char **ret); 88 int dns_name_reverse(int family, const union in_addr_union *a, char **ret); 99 int dns_service_join(const char *name, const char *type, const char *domain, char **ret); 102 int dns_name_suffix(const char *name, unsigned n_labels, const char **ret); 105 int dns_name_skip(const char *a, unsigned n_labels, const char **ret); 108 int dns_name_common_suffix(const char *a, const char *b, const char **ret); [all...] |
H A D | seccomp-util.h | 26 int seccomp_arch_from_string(const char *n, uint32_t *ret);
|
/systemd/src/import/ |
H A D | import-common.h | 25 int import_fork_tar_c(const char *path, pid_t *ret); 26 int import_fork_tar_x(const char *path, pid_t *ret);
|
/systemd/src/libsystemd/sd-path/ |
H A D | sd-path.c | 33 static int from_environment(const char *envname, const char *fallback, const char **ret) { argument 34 assert(ret); 41 *ret = e; 47 *ret = fallback; 54 static int from_home_dir(const char *envname, const char *suffix, char **buffer, const char **ret) { argument 61 assert(ret); 68 *ret = e; 85 *ret = cc; 89 static int from_user_dir(const char *field, char **buffer, const char **ret) { argument 99 assert(ret); 208 get_path(uint64_t type, char **buffer, const char **ret) argument 337 const char *ret; local [all...] |
/systemd/src/systemd/ |
H A D | sd-device.h | 39 int sd_device_new_from_syspath(sd_device **ret, const char *syspath); 40 int sd_device_new_from_devnum(sd_device **ret, char type, dev_t devnum); 41 int sd_device_new_from_subsystem_sysname(sd_device **ret, const char *subsystem, const char *sysname); 42 int sd_device_new_from_device_id(sd_device **ret, const char *id); 44 int sd_device_get_parent(sd_device *child, sd_device **ret); 45 int sd_device_get_parent_with_subsystem_devtype(sd_device *child, const char *subsystem, const char *devtype, sd_device **ret); 47 int sd_device_get_syspath(sd_device *device, const char **ret); 48 int sd_device_get_subsystem(sd_device *device, const char **ret); 49 int sd_device_get_devtype(sd_device *device, const char **ret); 52 int sd_device_get_driver(sd_device *device, const char **ret); [all...] |
/systemd/src/libsystemd/sd-network/ |
H A D | sd-network.c | 58 static int network_get_strv(const char *key, char ***ret) { argument 63 assert_return(ret, -EINVAL); 71 *ret = NULL; 82 *ret = a; 88 _public_ int sd_network_get_dns(char ***ret) { argument 89 return network_get_strv("DNS", ret); 92 _public_ int sd_network_get_ntp(char ***ret) { argument 93 return network_get_strv("NTP", ret); 96 _public_ int sd_network_get_search_domains(char ***ret) { argument 97 return network_get_strv("DOMAINS", ret); 100 sd_network_get_route_domains(char ***ret) argument 104 network_link_get_string(int ifindex, const char *field, char **ret) argument 128 network_link_get_strv(int ifindex, const char *key, char ***ret) argument 215 sd_network_link_get_timezone(int ifindex, char **ret) argument 219 sd_network_link_get_dns(int ifindex, char ***ret) argument 223 sd_network_link_get_ntp(int ifindex, char ***ret) argument 227 sd_network_link_get_search_domains(int ifindex, char ***ret) argument 231 sd_network_link_get_route_domains(int ifindex, char ***ret) argument 235 sd_network_link_get_carrier_bound_to(int ifindex, char ***ret) argument 239 sd_network_link_get_carrier_bound_by(int ifindex, char ***ret) argument [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | local-addresses.h | 34 int local_addresses(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret); 36 int local_gateways(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret);
|