Lines Matching defs:method
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);
58 methods[method].send_fn = send_fn;
59 methods[method].recv_fn = recv_fn;
60 methods[method].method_data = method_data;
62 methods[method].method_dtype = method_dtype;
63 methods[method].request_dtype = request_dtype;
64 methods[method].output_dtype = output_dtype;
65 methods[method].output_size = output_size;
70 enum dp_methods method)
74 if (target >= DP_TARGET_SENTINEL || method >= DP_METHOD_SENTINEL) {
75 DEBUG(SSSDBG_CRIT_FAILURE, "Bug: Invalid target or method ID\n");
92 if (dp_target->methods[method].send_fn == NULL) {
101 enum dp_methods method,
106 if (target >= DP_TARGET_SENTINEL || method >= DP_METHOD_SENTINEL) {
107 DEBUG(SSSDBG_CRIT_FAILURE, "Bug: Invalid target or method ID\n");
117 execute = &provider->targets[target]->methods[method];
120 "Bug: Invalid combination of target [%s] and method [%d]\n",
121 dp_target_to_string(target), method);