/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.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.h | 38 /** Interface you invoked a method on isn't known by the object. */ 115 * These are used to dynamically dispatch the method invocations. 124 /* Special interface and method for D-BUS introspection */ 128 /* Special interface and method for D-BUS properties */ 185 * The interface will be exported at @object_path. The method handlers are 286 * This structure is passed to all dbus method and property 296 const struct sbus_method_meta *method; member in struct:sbus_request 316 * Return a reply for a DBus method call request. The variable 353 * Return an error for a DBus method call request. The @error is a normal 383 * Parse a DBus method cal [all...] |
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_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/tests/cmocka/data_provider/ |
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/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_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
|
H A D | dp_request_table.c | 83 enum dp_methods method, 90 target, method, dp_flags, str); 81 dp_req_table_key(TALLOC_CTX *mem_ctx, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, const char *custom_part) argument
|
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...] |
/sssd/src/tools/sssctl/ |
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/lib/sifp/ |
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
|
H A D | sss_sifp.c | 42 const char *method) 44 return sss_sifp_create_message(object_path, DBUS_IFACE_PROP, method); 41 sss_sifp_create_prop_msg(const char *object_path, const char *method) argument
|
/sssd/src/responder/common/data_provider/ |
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/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 | sbus_codegen_tests.c | 83 const struct sbus_method_meta *method; local 86 method = sbus_meta_find_method(&com_planetexpress_Ship_meta, "MoveUniverse"); 87 ck_assert(method != NULL); 88 ck_assert_str_eq(method->name, "MoveUniverse"); 89 ck_assert(method->in_args != NULL); 90 ck_assert(method->out_args != NULL); 92 arg = find_arg(method->in_args, "smoothly"); 97 arg = find_arg(method->out_args, "where_we_crashed"); 186 * - Will fail if method order was not respected
|
/sssd/src/responder/secrets/ |
H A D | secsrv_private.h | 81 enum http_method method; member in struct:sec_req_ctx
|