Home
last modified time | relevance | path

Searched refs:LookupParameters (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/home/
Dhomed-varlink.c11 typedef struct LookupParameters { struct
19 } LookupParameters; argument
60 static bool home_user_match_lookup_parameters(LookupParameters *p, Home *h) { in home_user_match_lookup_parameters()
76 … JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, uid), … in vl_method_get_user_record()
77 …, JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name), … in vl_method_get_user_record()
78 … JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service), … in vl_method_get_user_record()
83 LookupParameters p = { in vl_method_get_user_record()
176 static bool home_group_match_lookup_parameters(LookupParameters *p, Home *h) { in home_group_match_lookup_parameters()
192 …, JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, gid), … in vl_method_get_group_record()
193 …pName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, group_name),… in vl_method_get_group_record()
[all …]
/systemd-251/src/machine/
Dmachined-varlink.c9 typedef struct LookupParameters { struct
17 } LookupParameters; argument
37 static bool user_match_lookup_parameters(LookupParameters *p, const char *name, uid_t uid) { in user_match_lookup_parameters()
141 …", JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, uid), … in vl_method_get_user_record()
142 …rName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name), … in vl_method_get_user_record()
143 …vice", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service), … in vl_method_get_user_record()
148 LookupParameters p = { in vl_method_get_user_record()
205 static bool group_match_lookup_parameters(LookupParameters *p, const char *name, gid_t gid) { in group_match_lookup_parameters()
307 …, JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, gid), … in vl_method_get_group_record()
308 …pName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, group_name),… in vl_method_get_group_record()
[all …]
/systemd-251/src/core/
Dcore-varlink.c9 typedef struct LookupParameters { struct
17 } LookupParameters; argument
42 static bool user_match_lookup_parameters(LookupParameters *p, const char *name, uid_t uid) { in user_match_lookup_parameters()
252 …", JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, uid), … in vl_method_get_user_record()
253 …rName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name), … in vl_method_get_user_record()
254 …vice", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service), … in vl_method_get_user_record()
259 LookupParameters p = { in vl_method_get_user_record()
345 static bool group_match_lookup_parameters(LookupParameters *p, const char *name, gid_t gid) { in group_match_lookup_parameters()
360 …, JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, gid), … in vl_method_get_group_record()
361 …pName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, group_name),… in vl_method_get_group_record()
[all …]
/systemd-251/src/userdb/
Duserwork.c28 typedef struct LookupParameters { struct
36 } LookupParameters; argument
134 …", JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, uid), … in vl_method_get_user_record()
135 …rName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name), … in vl_method_get_user_record()
136 …vice", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service), … in vl_method_get_user_record()
142 LookupParameters p = { in vl_method_get_user_record()
270 …, JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(LookupParameters, gid), … in vl_method_get_group_record()
271 …pName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, group_name),… in vl_method_get_group_record()
272 …ice", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service), … in vl_method_get_group_record()
278 LookupParameters p = { in vl_method_get_group_record()
[all …]
/systemd-251/src/resolve/
Dresolved-varlink.c8 typedef struct LookupParameters { struct
15 } LookupParameters; typedef
17 static void lookup_parameters_destroy(LookupParameters *p) { in lookup_parameters_destroy()
237 static int parse_as_address(Varlink *link, LookupParameters *p) { in parse_as_address()
278 …{ "ifindex", JSON_VARIANT_UNSIGNED, json_dispatch_int, offsetof(LookupParameters, ifindex), 0 … in vl_method_resolve_hostname()
279 …{ "name", JSON_VARIANT_STRING, json_dispatch_string, offsetof(LookupParameters, name), JSO… in vl_method_resolve_hostname()
280 …{ "family", JSON_VARIANT_UNSIGNED, json_dispatch_int, offsetof(LookupParameters, family), 0 … in vl_method_resolve_hostname()
281 …{ "flags", JSON_VARIANT_UNSIGNED, json_dispatch_uint64, offsetof(LookupParameters, flags), 0 … in vl_method_resolve_hostname()
286 _cleanup_(lookup_parameters_destroy) LookupParameters p = { in vl_method_resolve_hostname()
350 LookupParameters *p = userdata; in json_dispatch_address()
[all …]