/sssd/src/util/ |
H A D | refcount.h | 43 #define rc_alloc(ctx, type) \ 44 (type *)_rc_alloc(ctx, sizeof(type), offsetof(type, REFCOUNT_MEMBER_NAME), \ 45 #type) 52 #define rc_reference(ctx, type, src) \ 53 (type *)_rc_reference(ctx, offsetof(type, REFCOUNT_MEMBER_NAME), src)
|
H A D | sss_python.h | 9 #define sss_py_const_p(type, value) discard_const_p(type, (value)) 11 #define sss_py_const_p(type, value) (value) 33 #define TYPE_READY(module, type, name) do { \ 34 if (PyType_Ready(&type) < 0) { \ 37 Py_INCREF(&type); \ 40 (PyObject *) &type); \
|
H A D | util_safealign.h | 37 #define DISCARD_ALIGN(ptr, type) ((type)(void *)(ptr)) 39 #define IS_ALIGNED(ptr, type) \ 40 ((uintptr_t)(ptr) % sizeof(type) == 0) 42 #define PADDING_SIZE(base, type) \ 43 ((sizeof(type) - ((base) % sizeof(type))) % sizeof(type)) 57 #define SAFEALIGN_SETMEM_VALUE(dest, value, type, pctr) do { \ 58 type CV_MACRO_va [all...] |
H A D | dlinklist.h | 70 #define DLIST_ADD_END(list, p, type) \ 76 type tmp; \ 103 #define DLIST_DEMOTE(list, p, type) \ 106 DLIST_ADD_END(list, p, type); \ 111 #define DLIST_CONCATENATE(list1, list2, type) \ 116 type tmp; \ 129 #define DLIST_ADD_LIST_AFTER(list1, el, list2, type) \ 132 DLIST_CONCATENATE(list1, list2, type); \ 134 type tmp; \
|
H A D | authtok.c | 23 enum sss_authtok_type type; member in struct:sss_auth_token 30 return tok->type; 38 switch (tok->type) { 66 switch (tok->type) { 91 switch (tok->type) { 111 enum sss_authtok_type type, 136 tok->type = type; 148 switch (tok->type) { 161 tok->type 110 sss_authtok_set_string(struct sss_auth_token *tok, enum sss_authtok_type type, const char *context_name, const char *str, size_t len) argument 187 sss_authtok_set(struct sss_auth_token *tok, enum sss_authtok_type type, const uint8_t *data, size_t len) argument [all...] |
/sssd/src/tests/cmocka/ |
H A D | common_mock.h | 46 #define sss_mock_type(type) ((type) mock()) 47 #define sss_mock_ptr_type(type) ((type) (uintptr_t) mock())
|
H A D | test_ldap_auth.c | 36 enum pwexpire type; member in struct:check_pwexpire_policy_wrap_indata 46 ret = check_pwexpire_policy(data->type, data->time_fmt, NULL, 0); 53 enum pwexpire type = PWEXPIRE_KERBEROS; local 59 ret = check_pwexpire_policy(type, 63 ret = check_pwexpire_policy(type, (void*) tc->invalid_format, 67 ret = check_pwexpire_policy(type, (void*) tc->past_time, 71 ret = check_pwexpire_policy(type, (void*) tc->future_time, 77 data.type = type;
|
/sssd/src/sss_client/idmap/ |
H A D | sss_nss_idmap.h | 51 * @param[out] type Type of the object related to the given name 63 enum sss_id_type *type); 71 * @param[out] type Type of the object related to the given ID 76 int sss_nss_getsidbyid(uint32_t id, char **sid, enum sss_id_type *type); 84 * @param[out] type Type of the object related to the SID 90 enum sss_id_type *type); 112 * @param[out] type Type of the object related to the given name 124 enum sss_id_type *type); 133 * @param[out] type Type of the object related to the SID 139 enum sss_id_type *type); [all...] |
H A D | sss_nss_idmap.c | 40 enum sss_id_type type; member in struct:output 205 SAFEALIGN_COPY_UINT32(&out->type, repbuf + 2 * sizeof(uint32_t), NULL); 267 enum sss_id_type *type) 282 *type = out.type; 288 int sss_nss_getsidbyid(uint32_t id, char **sid, enum sss_id_type *type) argument 303 *type = out.type; 310 enum sss_id_type *type) 325 *type 266 sss_nss_getsidbyname(const char *fq_name, char **sid, enum sss_id_type *type) argument 309 sss_nss_getnamebysid(const char *sid, char **fq_name, enum sss_id_type *type) argument 352 sss_nss_getorigbyname(const char *fq_name, struct sss_nss_kv **kv_list, enum sss_id_type *type) argument 374 sss_nss_getnamebycert(const char *cert, char **fq_name, enum sss_id_type *type) argument [all...] |
/sssd/src/sss_client/libwbclient/ |
H A D | wbc_idmap_sssd.c | 35 enum sss_id_type type; local 43 ret = sss_nss_getidbysid(sid_str, &id, &type); 49 if (type != SSS_ID_TYPE_UID && type != SSS_ID_TYPE_BOTH) { 63 enum sss_id_type type; local 66 ret = sss_nss_getsidbyid(uid, &str_sid, &type); 71 if (type != SSS_ID_TYPE_UID && type != SSS_ID_TYPE_BOTH) { 99 enum sss_id_type type; local 107 ret = sss_nss_getidbysid(sid_str, &id, &type); 127 enum sss_id_type type; local 170 enum sss_id_type type; local [all...] |
/sssd/src/tests/cmocka/data_provider/ |
H A D | mock_dp.c | 43 enum dp_targets type; local 49 for (type = 0; type != DP_TARGET_SENTINEL; type++) { 50 targets[type] = talloc_zero(targets, struct dp_target); 51 assert_non_null(targets[type]); 53 targets[type]->name = dp_target_to_string(type); 54 targets[type]->module_name = "test-module"; 55 targets[type] [all...] |
/sssd/src/responder/common/cache_req/ |
H A D | cache_req_data.c | 27 enum cache_req_type type, 39 data->type = type; 41 switch (type) { 98 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid cache request type!\n"); 126 enum cache_req_type type, 133 return cache_req_data_create(mem_ctx, type, &input); 138 enum cache_req_type type, 145 return cache_req_data_create(mem_ctx, type, &input); 150 enum cache_req_type type, 26 cache_req_data_create(TALLOC_CTX *mem_ctx, enum cache_req_type type, struct cache_req_data *input) argument 125 cache_req_data_name(TALLOC_CTX *mem_ctx, enum cache_req_type type, const char *name) argument 137 cache_req_data_id(TALLOC_CTX *mem_ctx, enum cache_req_type type, uint32_t id) argument 149 cache_req_data_cert(TALLOC_CTX *mem_ctx, enum cache_req_type type, const char *cert) argument 161 cache_req_data_sid(TALLOC_CTX *mem_ctx, enum cache_req_type type, const char *sid, const char **attrs) argument [all...] |
/sssd/src/responder/ifp/ |
H A D | ifp_cache.h | 34 enum ifp_cache_type type, 42 enum ifp_cache_type type); 47 enum ifp_cache_type type);
|
H A D | ifp_cache.c | 34 enum ifp_cache_type type, 39 switch (type) { 53 enum ifp_cache_type type, 59 switch (type) { 72 ifp_cache_object_class(enum ifp_cache_type type) argument 76 switch (type) { 90 enum ifp_cache_type type, 98 const char *class = ifp_cache_object_class(type); 111 base_dn = ifp_cache_build_base_dn(tmp_ctx, type, domain); 135 paths[i] = ifp_cache_build_path(paths, type, domai 33 ifp_cache_build_base_dn(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain) argument 52 ifp_cache_build_path(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain, struct ldb_message *msg) argument 89 ifp_cache_get_cached_objects(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain, const char ***_paths, int *_num_paths) argument 152 ifp_cache_list_domains(TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, enum ifp_cache_type type, const char ***_paths, int *_num_paths) argument 211 ifp_cache_list(struct sbus_request *sbus_req, void *data, enum ifp_cache_type type) argument 241 ifp_cache_list_by_domain(struct sbus_request *sbus_req, void *data, const char *domainname, enum ifp_cache_type type) argument [all...] |
/sssd/src/providers/data_provider/ |
H A D | dp_targets.c | 43 enum dp_targets type; local 53 while ((type = va_arg(ap, enum dp_targets)) != DP_TARGET_SENTINEL) { 54 target = provider->targets[type]; 57 dp_target_to_string(type)); 124 bool dp_target_initialized(struct dp_target **targets, enum dp_targets type) argument 126 if (targets == NULL || targets[type] == NULL) { 130 return targets[type]->initialized; 199 enum dp_targets type) 201 if (targets[type] == NULL) { 205 return targets[type] 198 dp_target_module_name(struct dp_target **targets, enum dp_targets type) argument 380 dp_get_module_name(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb_ctx, const char *conf_path, struct dp_target **targets, enum dp_targets type, bool *_is_default) argument 428 enum dp_targets type; local 469 enum dp_targets type; local 505 enum dp_targets type; local [all...] |
H A D | dp_target_sudo.c | 58 dbus_message_iter_next(&iter); /* step behind the request type */ 60 /* get type of the request */ 68 dbus_message_iter_next(&iter); /* step behind the request type */ 70 /* get additional arguments according to the request type */ 130 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid request type %d\n", sudo_type); 148 static const char *dp_sudo_get_key(uint32_t type) argument 150 switch (type) { 160 static const char *dp_sudo_get_name(uint32_t type) argument 162 switch (type) { 186 &data->type, [all...] |
H A D | dp_custom_data.h | 29 uint32_t type; member in struct:dp_sudo_data
|
/sssd/contrib/gdb/ |
H A D | sssd_gdb_plugin.py | 34 ret = "{ <%s>\tlinearized:%s }" % (self.val.type, self.val['linearized']) 43 return indent_string("{ <%s>\t%s }" % (self.val.type, ret), indent) 60 return indent_string("{ <%s>\t%s }" % (self.val.type, ret), indent) 79 return indent_string("{ <%s>\n%s }" % (self.val.type, ret), indent) 97 return indent_string("{ <%s>\t%s }" % (self.val.type, ret), indent) 116 return indent_string("{ <%s>\t%s }" % (self.val.type, ret), indent) 124 if str(val.type) == 'struct ldb_dn': 131 if str(val.type) == 'struct ldb_val': 138 if str(val.type) == 'struct ldb_message_element': 145 if str(val.type) [all...] |
/sssd/src/sss_client/ |
H A D | nss_compat.h | 39 enum { triple_val, group_val } type; member in struct:__netgrent
|
/sssd/src/providers/ |
H A D | data_provider_opts.c | 44 switch (parent_opts[option].type) { 100 opts[i].type = def_opts[i].type; 103 switch (def_opts[i].type) { 205 opts[i].type = src_opts[i].type; 209 switch (src_opts[i].type) { 301 static const char *dp_opt_type_to_string(enum dp_opt_type type) argument 303 switch (type) { 320 if (opts[id].type ! [all...] |
/sssd/src/providers/ldap/ |
H A D | sdap_sudo.c | 33 uint32_t type; member in struct:sdap_sudo_handler_state 56 state->type = data->type; 58 switch (data->type) { 68 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid request type: %d\n", data->type); 74 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to send request: %d\n", data->type); 104 switch (state->type) { 117 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid request type: %d\n", state->type); [all...] |
/sssd/src/responder/sudo/ |
H A D | sudosrv_dp.c | 39 enum sss_dp_sudo_type type; member in struct:sss_dp_get_sudoers_info 53 enum sss_dp_sudo_type type, 76 info->type = type; 82 switch (info->type) { 84 key = talloc_asprintf(state, "%d:%u:%s@%s", type, 88 key = talloc_asprintf(state, "%d:%s", type, dom->name); 131 switch (info->type) { 49 sss_dp_get_sudoers_send(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx, struct sss_domain_info *dom, bool fast_reply, enum sss_dp_sudo_type type, const char *name, uint32_t num_rules, struct sysdb_attrs **rules) argument
|
H A D | sudosrv_private.h | 56 enum sss_sudo_type type; member in struct:sudo_cmd_ctx 72 enum sss_sudo_type type, 99 enum sss_dp_sudo_type type,
|
/sssd/src/tools/common/ |
H A D | sss_colondb.h | 53 enum sss_colondb_type type; member in struct:sss_colondb_write_field 58 enum sss_colondb_type type; member in struct:sss_colondb_read_field 79 * that last item has SSS_COLONDB_SENTINEL type. 90 * SSS_COLONDB_SENTINEL type.
|
/sssd/src/lib/sifp/ |
H A D | sss_sifp_private.h | 29 #define _alloc_zero(ctx, type, num) sss_sifp_alloc_zero(ctx, sizeof(type), num) 63 enum sss_sifp_attr_type type; member in struct:sss_sifp_attr
|