Searched defs:cb (Results 1 - 12 of 12) sorted by relevance

/sssd-io/src/providers/
H A Ddata_provider_callbacks.c34 be_callback_t cb; member in struct:be_cb
48 struct be_cb *cb = talloc_get_type(ptr, struct be_cb); local
49 DLIST_REMOVE(*(cb->list), cb);
54 be_callback_t cb, void *pvt, struct be_cb **cb_list,
59 if (!ctx || !cb) {
68 new_cb->cb = cb;
96 cb_ctx->callback->cb(cb_ctx->callback->pvt);
156 int be_add_reconnect_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, argument
53 be_add_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **cb_list, struct be_cb **return_cb) argument
195 be_add_online_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **online_cb) argument
238 be_add_unconditional_online_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **unconditional_online_cb) argument
265 be_add_offline_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **offline_cb) argument
[all...]
H A Dbe_refresh.c181 struct be_refresh_cb *cb; member in struct:be_refresh_state
251 state->cb = &state->ctx->callbacks[state->index];
252 while (state->index != BE_REFRESH_TYPE_SENTINEL && !state->cb->enabled) {
254 state->cb = &state->ctx->callbacks[state->index];
263 if (state->cb->send_fn == NULL || state->cb->recv_fn == NULL) {
278 state->cb->name, state->domain->name);
280 subreq = state->cb->send_fn(state, state->ev, state->be_ctx,
281 state->domain, values, state->cb->pvt);
316 ret = state->cb
[all...]
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_resp_dp.c51 acct_cb_t cb; local
57 cb = sss_mock_ptr_type(acct_cb_t);
58 if (cb) {
59 (cb)(sss_mock_ptr_type(void *));
84 acct_cb_t cb; local
90 cb = sss_mock_ptr_type(acct_cb_t);
91 if (cb) {
92 (cb)(sss_mock_ptr_type(void *));
105 acct_cb_t cb; local
111 cb
[all...]
H A Dtest_be_ptask.c90 be_callback_t cb,
104 be_callback_t cb,
88 be_add_online_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **online_cb) argument
102 be_add_offline_cb(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, be_callback_t cb, void *pvt, struct be_cb **offline_cb) argument
/sssd-io/src/util/
H A Dinotify.c77 struct snotify_cb_ctx cb; member in struct:snotify_ctx
160 snctx->cb.fn(snctx->filename,
162 snctx->cb.pvt);
213 if ((snctx->cb.mask & ev_flags) == 0) {
500 snctx->wctx = snotify_watch(snctx, snctx->cb.mask);
534 snctx->cb.fn = fn;
535 snctx->cb.fn_name = fn_name;
536 snctx->cb.mask = mask;
537 snctx->cb.pvt = pvt;
H A Dchild_common.c45 sss_child_fn_t cb; member in struct:sss_child_ctx
117 sss_child_fn_t cb,
132 child->cb = cb;
181 if (child_ctx->cb) {
182 child_ctx->cb(child_ctx->pid, cb_pvt->wait_status, child_ctx->pvt);
269 sss_child_callback_t cb; member in struct:sss_child_ctx_old
278 sss_child_callback_t cb, void *pvt,
300 child_ctx->cb = cb;
114 sss_child_register(TALLOC_CTX *mem_ctx, struct sss_sigchild_ctx *sigchld_ctx, pid_t pid, sss_child_fn_t cb, void *pvt, struct sss_child_ctx **child_ctx) argument
277 child_handler_setup(struct tevent_context *ev, int pid, sss_child_callback_t cb, void *pvt, struct sss_child_ctx_old **_child_ctx) argument
[all...]
H A Dsss_krb5.c510 krb5_expire_callback_func cb,
514 return krb5_get_init_creds_opt_set_expire_callback(context, opt, cb, data);
507 sss_krb5_get_init_creds_opt_set_expire_callback( krb5_context context, krb5_get_init_creds_opt *opt, krb5_expire_callback_func cb, void *data) argument
/sssd-io/src/responder/common/
H A Dresponder_dp.c58 struct sss_dp_callback *cb = local
61 DLIST_REMOVE(cb->sdp_req->cb_list, cb);
68 struct sss_dp_callback *cb; local
90 while ((cb = sdp_req->cb_list) != NULL) {
91 state = tevent_req_data(cb->req, struct sss_dp_req_state);
95 /* tevent_req_done/error will free cb */
96 tevent_req_error(cb->req, EIO);
98 /* Freeing the cb removes it from the cb_list.
101 * callback handler didn't free cb an
289 struct sss_dp_callback *cb; local
861 struct sss_dp_callback *cb; local
[all...]
/sssd-io/src/tests/
H A Dsss_idmap-tests.c117 enum idmap_error_code cb(const char *dom_name, function
137 &range, NULL, 0, false, cb, NULL);
/sssd-io/src/monitor/
H A Dmonitor_netlink.c550 struct nl_cb *cb = nl_handle_get_cb(nlp); local
551 ret = nl_cb_set(cb, NL_CB_MSG_IN, NL_CB_CUSTOM, event_msg_recv, data);
562 ret = nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, event_msg_ready, data);
H A Dmonitor.c1761 struct config_file_callback *cb; local
1765 for (cb = file_ctx->poll_check.callbacks; cb; cb = cb->next) {
1766 ret = stat(cb->filename, &file_stat);
1771 cb->filename, err, strerror(err));
1775 if (file_stat.st_mtime != cb->modified) {
1781 cb->modified = file_stat.st_mtime;
1784 cb
1883 struct config_file_callback *cb = NULL; local
[all...]
/sssd-io/src/lib/idmap/
H A Dsss_idmap.c59 idmap_store_cb cb; member in struct:idmap_domain_info
815 idmap_store_cb cb,
862 ctx->idmap_domain_info->cb = cb;
1011 it->cb = parent->cb;
1025 if (it->cb != NULL) {
1026 err = it->cb(it->name,
808 sss_idmap_add_auto_domain_ex(struct sss_idmap_ctx *ctx, const char *domain_name, const char *domain_sid, struct sss_idmap_range *range, const char *range_id, uint32_t rid, bool external_mapping, idmap_store_cb cb, void *pvt) argument

Completed in 34 milliseconds