/sssd/src/providers/data_provider/ |
H A D | dp_methods.c | 30 enum dp_methods method, 39 if (method >= DP_METHOD_SENTINEL) { 40 DEBUG(SSSDBG_CRIT_FAILURE, "Bug: invalid method %d\n", method); 44 /* Each method can be set only once, if we attempt to set it twice it 46 if (methods[method].send_fn != NULL) { 47 DEBUG(SSSDBG_CRIT_FAILURE, "Bug: method %d is already set!\n", method); 54 "not provided for method %d\n", method); 29 _dp_set_method(struct dp_method *methods, enum dp_methods method, dp_req_send_fn send_fn, dp_req_recv_fn recv_fn, void *method_data, const char *method_dtype, const char *request_dtype, const char *output_dtype, uint32_t output_size) argument 68 dp_method_enabled(struct data_provider *provider, enum dp_targets target, enum dp_methods method) argument 99 dp_find_method(struct data_provider *provider, enum dp_targets target, enum dp_methods method, struct dp_method **_execute) argument [all...] |
H A D | dp.h | 94 enum dp_methods method; member in struct:dp_req_params 124 enum dp_methods method, 134 * check requires that both method and request private data are talloc-created 141 #define dp_set_method(methods, method, send_fn, recv_fn, method_data, \ 151 _dp_set_method(methods, method, (dp_req_send_fn)__send_fn, \ 159 enum dp_methods method);
|
H A D | dp_target_auth.c | 99 enum dp_methods method; local 105 method = DPM_AUTH_HANDLER; 110 method = DPM_AUTH_HANDLER; 115 method = DPM_ACCESS_HANDLER; 120 method = DPM_AUTH_HANDLER; 125 method = DPM_AUTH_HANDLER; 130 method = DP_METHOD_SENTINEL; 136 method = DP_METHOD_SENTINEL; 142 method = DP_METHOD_SENTINEL; 150 method 186 enum dp_methods method; local [all...] |
H A D | dp_request.c | 39 enum dp_methods method; member in struct:dp_req 71 static bool check_method_data(struct dp_method *method, argument 74 if (!check_data_type(method->method_dtype, "method", method->method_data)) { 78 if (!check_data_type(method->request_dtype, "request", request_data)) { 138 enum dp_methods method, 160 dp_req->method = method; 188 ret = dp_find_method(provider, target, method, 132 dp_req_new(TALLOC_CTX *mem_ctx, struct data_provider *provider, struct dp_client *dp_cli, const char *domainname, const char *name, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, struct tevent_req *req, struct dp_req **_dp_req) argument 194 file_dp_request(TALLOC_CTX *mem_ctx, struct data_provider *provider, struct dp_client *dp_cli, const char *domainname, const char *name, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, struct tevent_req *req, struct dp_req **_dp_req) argument 277 dp_req_send(TALLOC_CTX *mem_ctx, struct data_provider *provider, struct dp_client *dp_cli, const char *domain, const char *name, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, const char **_request_name) argument [all...] |
H A D | dp_private.h | 106 enum dp_methods method, 163 enum dp_methods method, 200 enum dp_methods method, 216 target, method, dp_flags, req_data, pp_fn, \ 229 target, method, dp_flags, req_data, \ 235 method, dp_flags, req_data, reply_fn, \ 238 method, dp_flags, req_data, NULL, NULL, void, \
|
H A D | dp_request.h | 39 enum dp_methods method,
|
H A D | dp_request_reply.c | 163 enum dp_methods method, 179 enum dp_methods method, 213 key = dp_req_table_key(tmp_ctx, target, method, dp_flags, custom_key); 237 sbus_req, target, method, dp_flags, 263 enum dp_methods method, 307 method, dp_flags, request_data, &state->name); 173 _dp_req_with_reply(struct dp_client *dp_cli, const char *domain, const char *request_name, const char *custom_key, struct sbus_request *sbus_req, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, dp_req_post_fn postprocess_fn, void *postprocess_data, dp_req_reply_fn reply_fn, const char *output_dtype) argument 256 dp_req_with_reply_step(struct data_provider *provider, struct dp_client *dp_cli, const char *domain, const char *request_name, const char *custom_key, struct sbus_request *sbus_req, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, dp_req_post_fn postprocess_fn, void *postprocess_data, dp_req_reply_fn reply_fn, const char *output_dtype) argument
|
/sssd/src/sbus/ |
H A D | sssd_dbus_meta.c | 28 const struct sbus_method_meta *method; local 30 for (method = interface->methods; method && method->name; method++) { 31 if (strcmp(method_name, method->name) == 0) { 32 return method;
|
H A D | sssd_dbus_utils.h | 32 const char *method, 40 const char *method, 44 #define sbus_create_message(mem_ctx, bus, path, iface, method, ...) \ 45 _sbus_create_message(mem_ctx, bus, path, iface, method, \
|
H A D | sssd_dbus_introspect.c | 39 #define FMT_METHOD " <method name=\"%s\">\n" 40 #define FMT_METHOD_NOARG " <method name=\"%s\" />\n" 42 #define FMT_METHOD_CLOSE " </method>\n" 165 const struct sbus_method_meta *method; local 174 method = &methods[i]; 176 if (!METHOD_HAS_ARGS(method)) { 177 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_NOARG, method->name); 181 WRITE_OR_FAIL(file, ret, done, FMT_METHOD, method->name); 183 ret = sbus_introspect_generate_in_args(file, method->in_args); 188 ret = sbus_introspect_generate_out_args(file, method [all...] |
H A D | sssd_dbus_utils.c | 177 const char *method, 185 msg = dbus_message_new_method_call(bus, path, iface, method); 212 const char *method, 220 msg = sbus_create_message_valist(mem_ctx, bus, path, iface, method, 173 sbus_create_message_valist(TALLOC_CTX *mem_ctx, const char *bus, const char *path, const char *iface, const char *method, int first_arg_type, va_list va) argument 208 _sbus_create_message(TALLOC_CTX *mem_ctx, const char *bus, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
|
H A D | sssd_dbus_interface.c | 1047 const struct sbus_method_meta *method; local 1061 DEBUG(SSSDBG_TRACE_INTERNAL, "Received SBUS method %s.%s on path %s\n", 1071 method = sbus_meta_find_method(iface->vtable->meta, method_name); 1072 if (method == NULL || method->vtable_offset == 0) { 1082 sbus_req->method = method; 1097 DEBUG(SSSDBG_CRIT_FAILURE, "No matching handler found for method %s.%s " 1110 const struct sbus_method_meta *method; local 1118 method [all...] |
/sssd/src/responder/common/data_provider/ |
H A D | rdp.h | 38 const char *method, 43 method, ...) \ 44 _rdp_message_send(mem_ctx, rctx, domain, path, iface, method, \ 68 const char *method, 73 method, ...) \ 74 _rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, method, \
|
H A D | rdp_message.c | 36 const char *method, 52 msg = dbus_message_new_method_call(NULL, path, iface, method); 66 DEBUG(SSSDBG_TRACE_FUNC, "DP Request: %s %s.%s\n", path, iface, method); 156 const char *method, 173 path, iface, method, first_arg_type, va); 239 const char *method, 249 path, iface, method, first_arg_type, va); 30 rdp_message_send_internal(struct resp_ctx *rctx, struct sss_domain_info *domain, DBusPendingCallNotifyFunction notify_fn, void *notify_fn_data, const char *path, const char *iface, const char *method, int first_arg_type, va_list va) argument 151 _rdp_message_send(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx, struct sss_domain_info *domain, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument 234 _rdp_message_send_and_reply(struct sbus_request *sbus_req, struct resp_ctx *rctx, struct sss_domain_info *domain, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
|
/sssd/src/lib/sifp/ |
H A D | sss_sifp_dbus.h | 28 * @defgroup sss_sifp_dbus Advanced InfoPipe method calls. 44 * @brief Create a new method call message for SSSD InfoPipe bus. 48 * @param[in] method D-Bus method 55 const char *method); 89 * invoke List<method> D-Bus method on given interface and object path. If 91 * org.freedesktop.sssd.infopipe is used. Arguments to this method are given 97 * @param[in] method D-Bus method t [all...] |
H A D | sss_sifp_dbus.c | 32 const char *method, 41 if (object_path == NULL || interface == NULL || method == NULL) { 45 msg = sss_sifp_create_message(object_path, interface, method); 72 const char *method) 75 interface, method); 127 const char *method, 136 if (ctx == NULL || method == NULL || _object_paths == NULL) { 140 dbus_method = sss_sifp_strcat(ctx, "List", method); 168 const char *method, 177 ret = sss_sifp_invoke_list_va(ctx, object_path, interface, method, 29 sss_sifp_ifp_call(sss_sifp_ctx *ctx, const char *object_path, const char *interface, const char *method, int first_arg_type, va_list ap, DBusMessage **_reply) argument 70 sss_sifp_create_message(const char *object_path, const char *interface, const char *method) argument 124 sss_sifp_invoke_list_va(sss_sifp_ctx *ctx, const char *object_path, const char *interface, const char *method, char ***_object_paths, int first_arg_type, va_list ap) argument 165 sss_sifp_invoke_list_ex(sss_sifp_ctx *ctx, const char *object_path, const char *interface, const char *method, char ***_object_paths, int first_arg_type, ...) argument 184 sss_sifp_invoke_list(sss_sifp_ctx *ctx, const char *method, char ***_object_paths, int first_arg_type, ...) argument 201 sss_sifp_invoke_find_va(sss_sifp_ctx *ctx, const char *object_path, const char *interface, const char *method, char **_object_path, int first_arg_type, va_list ap) argument 242 sss_sifp_invoke_find_ex(sss_sifp_ctx *ctx, const char *object_path, const char *interface, const char *method, char **_object_path, int first_arg_type, ...) argument 261 sss_sifp_invoke_find(sss_sifp_ctx *ctx, const char *method, char **_object_path, int first_arg_type, ...) argument [all...] |
H A D | sss_sifp_common.c | 35 const char *method, 44 if (method == NULL || attr == NULL || attr_type == DBUS_TYPE_INVALID) { 48 ret = sss_sifp_invoke_find_ex(ctx, path, iface_find, method, &object_path, 74 const char *method, 79 method, DBUS_TYPE_STRING, &name, 31 sss_sifp_fetch_object_by_attr(sss_sifp_ctx *ctx, const char *path, const char *iface_find, const char *iface_object, const char *method, int attr_type, const void *attr, sss_sifp_object **_object) argument 70 sss_sifp_fetch_object_by_name(sss_sifp_ctx *ctx, const char *path, const char *iface_find, const char *iface_object, const char *method, const char *name, sss_sifp_object **_object) argument
|
/sssd/src/tests/cmocka/data_provider/ |
H A D | mock_dp.h | 40 enum dp_methods method);
|
H A D | mock_dp.c | 105 enum dp_methods method) 118 params->method = method; 100 mock_dp_req_params(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct sss_domain_info *domain, enum dp_targets target, enum dp_methods method) argument
|
/sssd/src/tools/sssctl/ |
H A D | sssctl.h | 65 const char *method, 69 #define sssctl_sifp_send(mem_ctx, sifp, reply, path, iface, method, ...) \ 70 _sssctl_sifp_send(mem_ctx, sifp, reply, path, iface, method, \
|
H A D | sssctl_systemd.c | 55 static errno_t sssctl_systemd_call(const char *method) argument 75 SSS_SYSTEMD_IFACE, method,
|
H A D | sssctl_sifp.c | 127 const char *method, 137 msg = sss_sifp_create_message(path, iface, method); 122 _sssctl_sifp_send(TALLOC_CTX *mem_ctx, sss_sifp_ctx *sifp, DBusMessage **_reply, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
|
/sssd/src/tests/ |
H A D | common_dbus.c | 180 const char *interface, const char *method, 187 message = dbus_message_new_method_call(NULL, object_path, interface, method); 179 test_dbus_call_sync(DBusConnection *conn, const char *object_path, const char *interface, const char *method, DBusError *error, int first_arg_type, ...) argument
|
H A D | common.h | 139 const char *method,
|
/sssd/src/responder/secrets/ |
H A D | secsrv_private.h | 81 enum http_method method; member in struct:sec_req_ctx
|