Searched defs:dbus_req (Results 1 - 20 of 20) sorted by relevance

/sssd/src/providers/proxy/
H A Dproxy_iface_generated.c10 static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
67 static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr) argument
72 if (!sbus_request_parse_or_finish(dbus_req,
78 return (handler)(dbus_req, dbus_req->intf->handler_data,
H A Dproxy_child.c301 static int pc_pam_handler(struct sbus_request *dbus_req, void *user_data) argument
315 reply = dbus_message_new_method_return(dbus_req->message);
325 ret = dp_unpack_pam_request(dbus_req->message, pc_ctx, &pd, &dbus_error);
360 ret = sbus_request_finish(dbus_req, reply);
/sssd/src/responder/nss/
H A Dnss_iface_generated.c10 static int invoke_ssau_method(struct sbus_request *dbus_req, void *function_ptr);
48 static int invoke_ssau_method(struct sbus_request *dbus_req, void *function_ptr) argument
56 if (!sbus_request_parse_or_finish(dbus_req,
64 return (handler)(dbus_req, dbus_req->intf->handler_data,
H A Dnsssrv.c59 static int nss_clear_memcache(struct sbus_request *dbus_req, void *data);
60 static int nss_clear_netgroup_hash_table(struct sbus_request *dbus_req, void *data);
73 static int nss_clear_memcache(struct sbus_request *dbus_req, void *data) argument
136 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
139 static int nss_clear_netgroup_hash_table(struct sbus_request *dbus_req, void *data) argument
152 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
/sssd/src/responder/ifp/
H A Difp_private.h53 int ifp_ping(struct sbus_request *dbus_req, void *data);
55 int ifp_user_get_attr(struct sbus_request *dbus_req, void *data);
62 struct sbus_request *dbus_req; member in struct:ifp_req
66 errno_t ifp_req_create(struct sbus_request *dbus_req,
71 int ifp_req_create_handle_failure(struct sbus_request *dbus_req, errno_t err);
H A Difpsrv.c48 static int ifp_sysbus_reconnect(struct sbus_request *dbus_req, void *data);
172 static int ifp_sysbus_reconnect(struct sbus_request *dbus_req, void *data) argument
202 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
H A Difp_components.c302 int ifp_list_components(struct sbus_request *dbus_req, void *data) argument
322 ret = list_responders(dbus_req, &responders, &num_responders);
327 ret = list_backends(dbus_req, ctx->rctx->cdb, &backends, &num_backends);
333 result = talloc_array(dbus_req, const char*, num);
353 error = sbus_error_new(dbus_req, DBUS_ERROR_FAILED,
355 return sbus_request_fail_and_finish(dbus_req, error);
358 return iface_ifp_ListComponents_finish(dbus_req, result, num);
361 int ifp_list_responders(struct sbus_request *dbus_req, void *data) argument
368 ret = list_responders(dbus_req, &result, &num);
370 error = sbus_error_new(dbus_req, DBUS_ERROR_FAILE
378 ifp_list_backends(struct sbus_request *dbus_req, void *data) argument
405 ifp_find_monitor(struct sbus_request *dbus_req, void *data) argument
410 ifp_find_responder_by_name(struct sbus_request *dbus_req, void *data, const char *arg_name) argument
431 ifp_find_backend_by_name(struct sbus_request *dbus_req, void *data, const char *arg_name) argument
461 ifp_component_change_debug_level_tmp(struct sbus_request *dbus_req, void *data, uint32_t arg_new_level) argument
506 ifp_component_get_name(struct sbus_request *dbus_req, void *data, const char **_out) argument
533 ifp_component_get_debug_level(struct sbus_request *dbus_req, void *data, uint32_t *_out) argument
588 ifp_component_get_enabled(struct sbus_request *dbus_req, void *data, bool *_out) argument
644 ifp_component_get_type(struct sbus_request *dbus_req, void *data, const char **_out) argument
681 ifp_backend_get_providers(struct sbus_request *dbus_req, void *data, const char ***_out, int *_out_len) argument
[all...]
H A Difp_domains.c35 #define RETURN_DOM_PROP_AS_STRING(dbus_req, pvt_data, out, property) do { \
40 __dom = get_domain_info_from_req((dbus_req), (pvt_data)); \
50 int ifp_list_domains(struct sbus_request *dbus_req, argument
62 error = sbus_error_new(dbus_req, DBUS_ERROR_FAILED,
64 return sbus_request_fail_and_finish(dbus_req, error);
67 ret = ifp_req_create(dbus_req, ifp_ctx, &ireq);
69 error = sbus_error_new(dbus_req, DBUS_ERROR_FAILED,
71 return sbus_request_fail_and_finish(dbus_req, error);
76 return sbus_request_finish(ireq->dbus_req, NULL);
100 error = sbus_error_new(ireq->dbus_req, DBUS_ERROR_FAILE
154 ifp_find_domain_by_name(struct sbus_request *dbus_req, void *data, const char *arg_name) argument
255 get_domain_info_from_req(struct sbus_request *dbus_req, void *data) argument
288 get_server_list(struct sbus_request *dbus_req, void *data, const char ***_out, int *_out_len, bool backup) argument
381 ifp_dom_get_name(struct sbus_request *dbus_req, void *data, const char **_out) argument
388 ifp_dom_get_provider(struct sbus_request *dbus_req, void *data, const char **_out) argument
395 ifp_dom_get_primary_servers(struct sbus_request *dbus_req, void *data, const char ***_out, int *_out_len) argument
403 ifp_dom_get_backup_servers(struct sbus_request *dbus_req, void *data, const char ***_out, int *_out_len) argument
411 ifp_dom_get_min_id(struct sbus_request *dbus_req, void *data, uint32_t *_out) argument
427 ifp_dom_get_max_id(struct sbus_request *dbus_req, void *data, uint32_t *_out) argument
443 ifp_dom_get_realm(struct sbus_request *dbus_req, void *data, const char **_out) argument
450 ifp_dom_get_forest(struct sbus_request *dbus_req, void *data, const char **_out) argument
457 ifp_dom_get_login_format(struct sbus_request *dbus_req, void *data, const char **_out) argument
464 ifp_dom_get_fqdn_format(struct sbus_request *dbus_req, void *data, const char **_out) argument
471 ifp_dom_get_enumerable(struct sbus_request *dbus_req, void *data, bool *_out) argument
487 ifp_dom_get_use_fqdn(struct sbus_request *dbus_req, void *data, bool *_out) argument
503 ifp_dom_get_subdomain(struct sbus_request *dbus_req, void *data, bool *_out) argument
519 ifp_dom_get_parent_domain(struct sbus_request *dbus_req, void *data, const char **_out) argument
[all...]
H A Difpsrv_cmd.c56 int ifp_user_get_attr(struct sbus_request *dbus_req, void *data) argument
70 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
73 ret = ifp_req_create(dbus_req, ifp_ctx, &ireq);
75 return ifp_req_create_handle_failure(dbus_req, ret);
80 return sbus_request_finish(dbus_req, NULL);
91 attr_req->name, ireq->dbus_req->client);
97 return sbus_request_finish(dbus_req, NULL);
112 parsed = sbus_request_parse_or_finish(attr_req->ireq->dbus_req,
159 sbus_request_fail_and_finish(attr_req->ireq->dbus_req,
160 sbus_error_new(attr_req->ireq->dbus_req,
281 ifp_user_get_groups(struct sbus_request *dbus_req, void *data, const char *arg_user) argument
624 ifp_ping(struct sbus_request *dbus_req, void *data) argument
[all...]
H A Difpsrv_util.c35 errno_t ifp_req_create(struct sbus_request *dbus_req, argument
47 ireq = talloc_zero(dbus_req, struct ifp_req);
53 ireq->dbus_req = dbus_req;
55 if (dbus_req->client == -1) {
64 ret = check_allowed_uids(dbus_req->client,
69 "User %"PRIi64" not in ACL\n", dbus_req->client);
74 dbus_req->client);
87 int ifp_req_create_handle_failure(struct sbus_request *dbus_req, errno_t err) argument
90 return sbus_request_fail_and_finish(dbus_req,
[all...]
H A Difp_iface_generated.c10 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
13 static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
16 static int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr);
19 static int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr);
1171 static int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr) argument
1178 if (!sbus_request_parse_or_finish(dbus_req,
1186 return (handler)(dbus_req, dbus_req->intf->handler_data,
1193 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr) argument
1198 if (!sbus_request_parse_or_finish(dbus_req,
1209 invoke_u_method(struct sbus_request *dbus_req, void *function_ptr) argument
1225 invoke_su_method(struct sbus_request *dbus_req, void *function_ptr) argument
[all...]
/sssd/src/monitor/
H A Dmonitor_sbus.c147 int monitor_common_res_init(struct sbus_request *dbus_req, void *data) argument
157 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
H A Dmonitor.c209 static int get_monitor_version(struct sbus_request *dbus_req, void *data) argument
213 return sbus_request_return_and_finish(dbus_req,
228 static int client_registration(struct sbus_request *dbus_req, void *data) argument
250 dbret = dbus_message_get_args(dbus_req->message, &dbus_error,
258 sbus_disconnect(dbus_req->conn);
259 sbus_request_finish(dbus_req, NULL);
280 sbus_disconnect(dbus_req->conn);
281 sbus_request_finish(dbus_req, NULL);
296 sbus_request_return_and_finish(dbus_req,
/sssd/src/responder/autofs/
H A Dautofssrv.c32 static int autofs_clean_hash_table(struct sbus_request *dbus_req, void *data);
82 static int autofs_clean_hash_table(struct sbus_request *dbus_req, void *data) argument
95 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
/sssd/src/providers/data_provider/
H A Ddp_iface_generated.c10 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
13 static int invoke_us_method(struct sbus_request *dbus_req, void *function_ptr);
16 static int invoke_uss_method(struct sbus_request *dbus_req, void *function_ptr);
19 static int invoke_uuusss_method(struct sbus_request *dbus_req, void *function_ptr);
344 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr) argument
349 if (!sbus_request_parse_or_finish(dbus_req,
355 return (handler)(dbus_req, dbus_req->intf->handler_data,
360 static int invoke_uss_method(struct sbus_request *dbus_req, void *function_ptr) argument
367 if (!sbus_request_parse_or_finish(dbus_req,
382 invoke_uuusss_method(struct sbus_request *dbus_req, void *function_ptr) argument
413 invoke_us_method(struct sbus_request *dbus_req, void *function_ptr) argument
[all...]
/sssd/src/providers/
H A Ddata_provider_be.c52 static int data_provider_res_init(struct sbus_request *dbus_req, void *data);
53 static int data_provider_go_offline(struct sbus_request *dbus_req, void *data);
54 static int data_provider_reset_offline(struct sbus_request *dbus_req, void *data);
55 static int data_provider_logrotate(struct sbus_request *dbus_req, void *data);
591 static int data_provider_res_init(struct sbus_request *dbus_req, void *data) argument
599 return monitor_common_res_init(dbus_req, data);
602 static int data_provider_go_offline(struct sbus_request *dbus_req, void *data) argument
607 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
610 static int data_provider_reset_offline(struct sbus_request *dbus_req, void *data) argument
615 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALI
618 data_provider_logrotate(struct sbus_request *dbus_req, void *data) argument
[all...]
/sssd/src/sbus/
H A Dsssd_dbus_request.c31 static int sbus_request_destructor(struct sbus_request *dbus_req) argument
33 dbus_message_unref(dbus_req->message);
42 struct sbus_request *dbus_req; local
44 dbus_req = talloc_zero(conn, struct sbus_request);
45 if (!dbus_req) {
50 dbus_req->intf = intf;
51 dbus_req->conn = conn;
52 dbus_req->message = dbus_message_ref(message);
53 dbus_req->path = dbus_message_get_path(message);
54 talloc_set_destructor(dbus_req, sbus_request_destructo
60 sbus_request_invoke_or_finish(struct sbus_request *dbus_req, sbus_msg_handler_fn handler_fn, void *handler_data, sbus_method_invoker_fn invoker_fn) argument
94 sbus_request_finish(struct sbus_request *dbus_req, DBusMessage *reply) argument
137 sbus_request_return_and_finish(struct sbus_request *dbus_req, int first_arg_type, ...) argument
179 sbus_request_fail_and_finish(struct sbus_request *dbus_req, const DBusError *error) argument
[all...]
/sssd/src/responder/common/
H A Dresponder_common.c1191 int responder_logrotate(struct sbus_request *dbus_req, void *data) argument
1199 return sbus_request_return_and_finish(dbus_req, DBUS_TYPE_INVALID);
/sssd/src/tests/
H A Dsbus_codegen_tests_generated.c10 static int invoke_bu_method(struct sbus_request *dbus_req, void *function_ptr);
13 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
16 static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
19 static int invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr);
490 static int invoke_bu_method(struct sbus_request *dbus_req, void *function_ptr) argument
496 if (!sbus_request_parse_or_finish(dbus_req,
503 return (handler)(dbus_req, dbus_req->intf->handler_data,
509 static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr) argument
514 if (!sbus_request_parse_or_finish(dbus_req,
525 invoke_u_method(struct sbus_request *dbus_req, void *function_ptr) argument
541 invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr) argument
[all...]
H A Dsbus_codegen_tests.c134 mock_move_universe(struct sbus_request *dbus_req, void *data, argument
144 return com_planetexpress_Ship_MoveUniverse_finish(dbus_req, "here");
148 mock_crash_now(struct sbus_request *dbus_req, void *data, argument
158 return com_planetexpress_Ship_crash_now_finish(dbus_req);
335 ck_assert(dbus_req != NULL); \
341 void pilot_get_boolean_handler(struct sbus_request *dbus_req, argument
349 void pilot_get_full_name_handler(struct sbus_request *dbus_req, argument
357 void pilot_get_byte_handler(struct sbus_request *dbus_req, argument
365 void pilot_get_int16_handler(struct sbus_request *dbus_req, argument
373 void pilot_get_uint16_handler(struct sbus_request *dbus_req, argument
381 pilot_get_int32_handler(struct sbus_request *dbus_req, void *instance_data, int32_t *int32) argument
389 pilot_get_uint32_handler(struct sbus_request *dbus_req, void *instance_data, uint32_t *uint32) argument
397 pilot_get_int64_handler(struct sbus_request *dbus_req, void *instance_data, int64_t *int64) argument
405 pilot_get_uint64_handler(struct sbus_request *dbus_req, void *instance_data, uint64_t *uint64) argument
413 pilot_get_double_handler(struct sbus_request *dbus_req, void *instance_data, double *double_val) argument
421 pilot_get_string_handler(struct sbus_request *dbus_req, void *instance_data, const char **string_val) argument
429 pilot_get_objpath_handler(struct sbus_request *dbus_req, void *instance_data, const char **path_val) argument
436 pilot_get_null_string_handler(struct sbus_request *dbus_req, void *instance_data, const char **string_val) argument
443 pilot_get_null_path_handler(struct sbus_request *dbus_req, void *instance_data, const char **path_val) argument
459 pilot_get_byte_array_handler(struct sbus_request *dbus_req, void *instance_data, uint8_t **arr_out, int *arr_len) argument
467 pilot_get_int16_array_handler(struct sbus_request *dbus_req, void *instance_data, int16_t **arr_out, int *arr_len) argument
475 pilot_get_uint16_array_handler(struct sbus_request *dbus_req, void *instance_data, uint16_t **arr_out, int *arr_len) argument
483 pilot_get_int32_array_handler(struct sbus_request *dbus_req, void *instance_data, int32_t **arr_out, int *arr_len) argument
491 pilot_get_uint32_array_handler(struct sbus_request *dbus_req, void *instance_data, uint32_t **arr_out, int *arr_len) argument
499 pilot_get_int64_array_handler(struct sbus_request *dbus_req, void *instance_data, int64_t **arr_out, int *arr_len) argument
507 pilot_get_uint64_array_handler(struct sbus_request *dbus_req, void *instance_data, uint64_t **arr_out, int *arr_len) argument
515 pilot_get_double_array_handler(struct sbus_request *dbus_req, void *instance_data, double **arr_out, int *arr_len) argument
523 pilot_get_string_array_handler(struct sbus_request *dbus_req, void *data, const char ***arr_out, int *arr_len) argument
532 pilot_get_path_array_handler(struct sbus_request *dbus_req, void *data, const char ***arr_out, int *arr_len) argument
[all...]

Completed in 2085 milliseconds