Searched refs:mem_ctx (Results 1 - 25 of 412) sorted by relevance

1234567891011>>

/sssd/src/tests/cmocka/
H A Dcommon_mock_be.h28 struct be_ctx *mock_be_ctx(TALLOC_CTX *mem_ctx, struct sss_test_ctx *tctx);
H A Dcommon_mock_sysdb_objects.h30 _mock_sysdb_object(TALLOC_CTX *mem_ctx,
35 #define mock_sysdb_object(mem_ctx, base_dn, name, ...) \
36 _mock_sysdb_object(mem_ctx, base_dn, name, ##__VA_ARGS__, NULL)
39 mock_sysdb_group_rfc2307bis(TALLOC_CTX *mem_ctx,
46 mock_sysdb_user(TALLOC_CTX *mem_ctx,
H A Dcommon_mock_sdap.h29 struct sdap_options *mock_sdap_options_ldap(TALLOC_CTX *mem_ctx,
34 struct sdap_id_ctx *mock_sdap_id_ctx(TALLOC_CTX *mem_ctx,
38 struct sdap_handle *mock_sdap_handle(TALLOC_CTX *mem_ctx);
H A Dtest_sss_ssh.c40 TALLOC_CTX *mem_ctx; local
74 mem_ctx = talloc_new(NULL);
75 assert_non_null(mem_ctx);
76 check_leaks_push(mem_ctx);
78 ret = sss_ssh_format_pubkey(mem_ctx, &pkey, &res);
82 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_LF, &res);
86 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_LFLF, &res);
89 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_null_terminated, &res);
92 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_CRLF, &res);
95 ret = sss_ssh_format_pubkey(mem_ctx,
[all...]
H A Dcommon_mock_sdap.c28 struct sdap_id_ctx *mock_sdap_id_ctx(TALLOC_CTX *mem_ctx, argument
34 sdap_id_ctx = talloc_zero(mem_ctx, struct sdap_id_ctx);
43 struct sdap_options *mock_sdap_options_ldap(TALLOC_CTX *mem_ctx, argument
51 ret = ldap_get_options(mem_ctx, domain, confdb_ctx, conf_path, &opts);
59 struct sdap_handle *mock_sdap_handle(TALLOC_CTX *mem_ctx) argument
61 struct sdap_handle *handle = talloc_zero(mem_ctx, struct sdap_handle);
84 struct tevent_req *sdap_get_generic_send(TALLOC_CTX *mem_ctx, argument
97 return test_req_succeed_send(mem_ctx, ev);
101 TALLOC_CTX *mem_ctx,
113 struct tevent_req * sdap_deref_search_send(TALLOC_CTX *mem_ctx, argument
100 sdap_get_generic_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *reply_count, struct sysdb_attrs ***reply) argument
127 sdap_deref_search_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *reply_count, struct sdap_deref_attrs ***reply) argument
[all...]
H A Dcommon_mock_resp.h32 mock_rctx(TALLOC_CTX *mem_ctx,
39 mock_cctx(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx);
42 mock_prctx(TALLOC_CTX *mem_ctx);
/sssd/src/responder/common/cache_req/
H A Dcache_req.h52 cache_req_data_name(TALLOC_CTX *mem_ctx,
57 cache_req_data_id(TALLOC_CTX *mem_ctx,
62 cache_req_data_cert(TALLOC_CTX *mem_ctx,
67 cache_req_data_sid(TALLOC_CTX *mem_ctx,
74 struct tevent_req *cache_req_send(TALLOC_CTX *mem_ctx,
82 errno_t cache_req_recv(TALLOC_CTX *mem_ctx,
91 cache_req_user_by_name_send(TALLOC_CTX *mem_ctx,
99 #define cache_req_user_by_name_recv(mem_ctx, req, _result, _domain, _name) \
100 cache_req_recv(mem_ctx, req, _result, _domain, _name)
103 cache_req_user_by_id_send(TALLOC_CTX *mem_ctx,
[all...]
/sssd/src/providers/ipa/
H A Dipa_auth.h32 ipa_pam_auth_handler_send(TALLOC_CTX *mem_ctx,
38 ipa_pam_auth_handler_recv(TALLOC_CTX *mem_ctx,
H A Dipa_selinux.h33 #define selogin_path(mem_ctx, username) \
34 talloc_asprintf(mem_ctx, "%s/logins/%s", selinux_policy_root(), username)
47 ipa_selinux_handler_send(TALLOC_CTX *mem_ctx,
53 ipa_selinux_handler_recv(TALLOC_CTX *mem_ctx,
H A Dipa_srv.h27 ipa_srv_plugin_ctx_init(TALLOC_CTX *mem_ctx,
32 struct tevent_req *ipa_srv_plugin_send(TALLOC_CTX *mem_ctx,
39 errno_t ipa_srv_plugin_recv(TALLOC_CTX *mem_ctx,
H A Dipa_hostid.h32 ipa_hostid_handler_send(TALLOC_CTX *mem_ctx,
38 ipa_hostid_handler_recv(TALLOC_CTX *mem_ctx,
/sssd/src/providers/data_provider/
H A Ddp_builtin.h29 dp_access_permit_handler_send(TALLOC_CTX *mem_ctx,
35 dp_access_permit_handler_recv(TALLOC_CTX *mem_ctx,
40 dp_access_deny_handler_send(TALLOC_CTX *mem_ctx,
46 dp_access_deny_handler_recv(TALLOC_CTX *mem_ctx,
H A Ddp_request.h33 struct tevent_req *dp_req_send(TALLOC_CTX *mem_ctx,
44 errno_t _dp_req_recv(TALLOC_CTX *mem_ctx,
54 * ret = dp_req_recv(mem_ctx, req, struct dp_reply_std, &reply);
56 #define dp_req_recv(mem_ctx, req, data_type, _data) \
60 __ret = _dp_req_recv(mem_ctx, req, #data_type, (void**)&__value); \
72 * ret = dp_req_recv_ptr(mem_ctx, req, struct dp_reply_std, &reply);
74 #define dp_req_recv_ptr(mem_ctx, req, data_type, _data) \
75 _dp_req_recv(mem_ctx, req, #data_type, (void**)_data)
H A Ddp_sbus.c30 int dp_get_sbus_address(TALLOC_CTX *mem_ctx, argument
36 default_address = talloc_asprintf(mem_ctx, "unix:path=%s/%s_%s",
/sssd/src/resolv/
H A Dasync_resolv.h54 int resolv_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx,
62 resolv_copy_hostent(TALLOC_CTX *mem_ctx, struct hostent *src);
65 resolv_copy_hostent_ares(TALLOC_CTX *mem_ctx, struct hostent *src,
104 struct tevent_req *resolv_gethostbyname_send(TALLOC_CTX *mem_ctx,
111 int resolv_gethostbyname_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
116 resolv_get_string_address_index(TALLOC_CTX *mem_ctx,
121 resolv_get_string_ptr_address(TALLOC_CTX *mem_ctx,
124 #define resolv_get_string_address(mem_ctx, hostent) \
125 resolv_get_string_address_index(mem_ctx, hostent, 0)
128 resolv_get_sockaddr_address_index(TALLOC_CTX *mem_ctx,
[all...]
/sssd/src/util/
H A Dcert.h28 errno_t sss_cert_der_to_pem(TALLOC_CTX *mem_ctx, const uint8_t *der_blob,
31 errno_t sss_cert_pem_to_der(TALLOC_CTX *mem_ctx, const char *pem,
34 errno_t sss_cert_derb64_to_pem(TALLOC_CTX *mem_ctx, const char *derb64,
37 errno_t sss_cert_pem_to_derb64(TALLOC_CTX *mem_ctx, const char *pem,
40 errno_t sss_cert_derb64_to_ldap_filter(TALLOC_CTX *mem_ctx, const char *derb64,
44 errno_t bin_to_ldap_filter_value(TALLOC_CTX *mem_ctx,
48 errno_t cert_to_ssh_key(TALLOC_CTX *mem_ctx, const char *ca_db,
H A Duser_info_msg.h28 errno_t pack_user_info_chpass_error(TALLOC_CTX *mem_ctx,
H A Dsss_tc_utf8.c26 sss_tc_utf8_str_tolower(TALLOC_CTX *mem_ctx, const char *s) argument
31 ret = sss_tc_utf8_tolower(mem_ctx, (const uint8_t *) s, strlen(s), &nlen);
34 ret = talloc_realloc(mem_ctx, ret, uint8_t, nlen+1);
42 sss_tc_utf8_tolower(TALLOC_CTX *mem_ctx, const uint8_t *s, size_t len, size_t *_nlen) argument
51 ret = talloc_memdup(mem_ctx, lower, nlen);
59 errno_t sss_filter_sanitize_for_dom(TALLOC_CTX *mem_ctx, argument
67 ret = sss_filter_sanitize(mem_ctx, input, sanitized);
74 *lc_sanitized = talloc_strdup(mem_ctx, *sanitized);
76 *lc_sanitized = sss_tc_utf8_str_tolower(mem_ctx, *sanitized);
/sssd/src/providers/ad/
H A Dad_id.h27 ad_account_info_handler_send(TALLOC_CTX *mem_ctx,
32 errno_t ad_account_info_handler_recv(TALLOC_CTX *mem_ctx,
37 ad_handle_acct_info_send(TALLOC_CTX *mem_ctx,
48 ad_enumeration_send(TALLOC_CTX *mem_ctx,
H A Dad_subdomains.h31 errno_t ad_subdomains_init(TALLOC_CTX *mem_ctx,
/sssd/src/providers/ldap/
H A Dsdap_range.h28 errno_t sdap_parse_range(TALLOC_CTX *mem_ctx,
H A Dsdap_ops.h28 struct tevent_req *sdap_search_bases_send(TALLOC_CTX *mem_ctx,
40 TALLOC_CTX *mem_ctx,
45 sdap_search_bases_return_first_send(TALLOC_CTX *mem_ctx,
57 TALLOC_CTX *mem_ctx,
62 sdap_deref_bases_send(TALLOC_CTX *mem_ctx,
75 TALLOC_CTX *mem_ctx,
80 sdap_deref_bases_return_first_send(TALLOC_CTX *mem_ctx,
93 TALLOC_CTX *mem_ctx,
H A Dsdap_sudo.h43 errno_t sdap_sudo_init(TALLOC_CTX *mem_ctx,
49 struct tevent_req *sdap_sudo_refresh_send(TALLOC_CTX *mem_ctx,
54 int sdap_sudo_refresh_recv(TALLOC_CTX *mem_ctx,
59 struct tevent_req *sdap_sudo_full_refresh_send(TALLOC_CTX *mem_ctx,
65 struct tevent_req *sdap_sudo_smart_refresh_send(TALLOC_CTX *mem_ctx,
71 struct tevent_req *sdap_sudo_rules_refresh_send(TALLOC_CTX *mem_ctx,
83 struct tevent_req * sdap_sudo_get_hostinfo_send(TALLOC_CTX *mem_ctx,
87 int sdap_sudo_get_hostinfo_recv(TALLOC_CTX *mem_ctx,
/sssd/src/sbus/
H A Dsbus_client.h28 int sbus_client_init(TALLOC_CTX *mem_ctx,
/sssd/src/tools/
H A Dsss_sync_ops.h65 int useradd_defaults(TALLOC_CTX *mem_ctx,
75 int userdel_defaults(TALLOC_CTX *mem_ctx,
81 int useradd(TALLOC_CTX *mem_ctx,
83 int userdel(TALLOC_CTX *mem_ctx,
86 int usermod(TALLOC_CTX *mem_ctx,
90 int groupdel(TALLOC_CTX *mem_ctx,
93 int groupmod(TALLOC_CTX *mem_ctx,
96 int sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx,
100 int sysdb_getgrnam_sync(TALLOC_CTX *mem_ctx,

Completed in 277 milliseconds

1234567891011>>