LCOV - code coverage report
Current view: top level - responder/ifp - ifp_iface_generated.c (source / functions) Hit Total Coverage
Test: .coverage.total Lines: 0 78 0.0 %
Date: 2015-10-19 Functions: 0 32 0.0 %

          Line data    Source code
       1             : /* The following definitions are auto-generated from ifp_iface.xml */
       2             : 
       3             : #include "util/util.h"
       4             : #include "sbus/sssd_dbus.h"
       5             : #include "sbus/sssd_dbus_meta.h"
       6             : #include "sbus/sssd_dbus_invokers.h"
       7             : #include "ifp_iface_generated.h"
       8             : 
       9             : /* invokes a handler with a 's' DBus signature */
      10             : static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
      11             : 
      12             : /* invokes a handler with a 'u' DBus signature */
      13             : static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
      14             : 
      15             : /* invokes a handler with a 'su' DBus signature */
      16             : static int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr);
      17             : 
      18             : /* invokes a handler with a 'ssu' DBus signature */
      19             : static int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr);
      20             : 
      21             : /* arguments for org.freedesktop.sssd.infopipe.ListComponents */
      22             : const struct sbus_arg_meta iface_ifp_ListComponents__out[] = {
      23             :     { "components", "ao" },
      24             :     { NULL, }
      25             : };
      26             : 
      27           0 : int iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components)
      28             : {
      29           0 :    return sbus_request_return_and_finish(req,
      30             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_components, len_components,
      31             :                                          DBUS_TYPE_INVALID);
      32             : }
      33             : 
      34             : /* arguments for org.freedesktop.sssd.infopipe.ListResponders */
      35             : const struct sbus_arg_meta iface_ifp_ListResponders__out[] = {
      36             :     { "responders", "ao" },
      37             :     { NULL, }
      38             : };
      39             : 
      40           0 : int iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders)
      41             : {
      42           0 :    return sbus_request_return_and_finish(req,
      43             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_responders, len_responders,
      44             :                                          DBUS_TYPE_INVALID);
      45             : }
      46             : 
      47             : /* arguments for org.freedesktop.sssd.infopipe.ListBackends */
      48             : const struct sbus_arg_meta iface_ifp_ListBackends__out[] = {
      49             :     { "backends", "ao" },
      50             :     { NULL, }
      51             : };
      52             : 
      53           0 : int iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends)
      54             : {
      55           0 :    return sbus_request_return_and_finish(req,
      56             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_backends, len_backends,
      57             :                                          DBUS_TYPE_INVALID);
      58             : }
      59             : 
      60             : /* arguments for org.freedesktop.sssd.infopipe.FindMonitor */
      61             : const struct sbus_arg_meta iface_ifp_FindMonitor__out[] = {
      62             :     { "monitor", "o" },
      63             :     { NULL, }
      64             : };
      65             : 
      66           0 : int iface_ifp_FindMonitor_finish(struct sbus_request *req, const char *arg_monitor)
      67             : {
      68           0 :    return sbus_request_return_and_finish(req,
      69             :                                          DBUS_TYPE_OBJECT_PATH, &arg_monitor,
      70             :                                          DBUS_TYPE_INVALID);
      71             : }
      72             : 
      73             : /* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
      74             : const struct sbus_arg_meta iface_ifp_FindResponderByName__in[] = {
      75             :     { "name", "s" },
      76             :     { NULL, }
      77             : };
      78             : 
      79             : /* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
      80             : const struct sbus_arg_meta iface_ifp_FindResponderByName__out[] = {
      81             :     { "responder", "o" },
      82             :     { NULL, }
      83             : };
      84             : 
      85           0 : int iface_ifp_FindResponderByName_finish(struct sbus_request *req, const char *arg_responder)
      86             : {
      87           0 :    return sbus_request_return_and_finish(req,
      88             :                                          DBUS_TYPE_OBJECT_PATH, &arg_responder,
      89             :                                          DBUS_TYPE_INVALID);
      90             : }
      91             : 
      92             : /* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
      93             : const struct sbus_arg_meta iface_ifp_FindBackendByName__in[] = {
      94             :     { "name", "s" },
      95             :     { NULL, }
      96             : };
      97             : 
      98             : /* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
      99             : const struct sbus_arg_meta iface_ifp_FindBackendByName__out[] = {
     100             :     { "backend", "o" },
     101             :     { NULL, }
     102             : };
     103             : 
     104           0 : int iface_ifp_FindBackendByName_finish(struct sbus_request *req, const char *arg_backend)
     105             : {
     106           0 :    return sbus_request_return_and_finish(req,
     107             :                                          DBUS_TYPE_OBJECT_PATH, &arg_backend,
     108             :                                          DBUS_TYPE_INVALID);
     109             : }
     110             : 
     111             : /* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
     112             : const struct sbus_arg_meta iface_ifp_GetUserAttr__in[] = {
     113             :     { "user", "s" },
     114             :     { "attr", "as" },
     115             :     { NULL, }
     116             : };
     117             : 
     118             : /* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
     119             : const struct sbus_arg_meta iface_ifp_GetUserAttr__out[] = {
     120             :     { "values", "a{sv}" },
     121             :     { NULL, }
     122             : };
     123             : 
     124             : /* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
     125             : const struct sbus_arg_meta iface_ifp_GetUserGroups__in[] = {
     126             :     { "user", "s" },
     127             :     { NULL, }
     128             : };
     129             : 
     130             : /* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
     131             : const struct sbus_arg_meta iface_ifp_GetUserGroups__out[] = {
     132             :     { "values", "as" },
     133             :     { NULL, }
     134             : };
     135             : 
     136           0 : int iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values)
     137             : {
     138           0 :    return sbus_request_return_and_finish(req,
     139             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_values, len_values,
     140             :                                          DBUS_TYPE_INVALID);
     141             : }
     142             : 
     143             : /* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
     144             : const struct sbus_arg_meta iface_ifp_FindDomainByName__in[] = {
     145             :     { "name", "s" },
     146             :     { NULL, }
     147             : };
     148             : 
     149             : /* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
     150             : const struct sbus_arg_meta iface_ifp_FindDomainByName__out[] = {
     151             :     { "domain", "o" },
     152             :     { NULL, }
     153             : };
     154             : 
     155           0 : int iface_ifp_FindDomainByName_finish(struct sbus_request *req, const char *arg_domain)
     156             : {
     157           0 :    return sbus_request_return_and_finish(req,
     158             :                                          DBUS_TYPE_OBJECT_PATH, &arg_domain,
     159             :                                          DBUS_TYPE_INVALID);
     160             : }
     161             : 
     162             : /* arguments for org.freedesktop.sssd.infopipe.ListDomains */
     163             : const struct sbus_arg_meta iface_ifp_ListDomains__out[] = {
     164             :     { "domain", "ao" },
     165             :     { NULL, }
     166             : };
     167             : 
     168           0 : int iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain)
     169             : {
     170           0 :    return sbus_request_return_and_finish(req,
     171             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_domain, len_domain,
     172             :                                          DBUS_TYPE_INVALID);
     173             : }
     174             : 
     175             : /* methods for org.freedesktop.sssd.infopipe */
     176             : const struct sbus_method_meta iface_ifp__methods[] = {
     177             :     {
     178             :         "Ping", /* name */
     179             :         NULL, /* no in_args */
     180             :         NULL, /* no out_args */
     181             :         offsetof(struct iface_ifp, Ping),
     182             :         NULL, /* no invoker */
     183             :     },
     184             :     {
     185             :         "ListComponents", /* name */
     186             :         NULL, /* no in_args */
     187             :         iface_ifp_ListComponents__out,
     188             :         offsetof(struct iface_ifp, ListComponents),
     189             :         NULL, /* no invoker */
     190             :     },
     191             :     {
     192             :         "ListResponders", /* name */
     193             :         NULL, /* no in_args */
     194             :         iface_ifp_ListResponders__out,
     195             :         offsetof(struct iface_ifp, ListResponders),
     196             :         NULL, /* no invoker */
     197             :     },
     198             :     {
     199             :         "ListBackends", /* name */
     200             :         NULL, /* no in_args */
     201             :         iface_ifp_ListBackends__out,
     202             :         offsetof(struct iface_ifp, ListBackends),
     203             :         NULL, /* no invoker */
     204             :     },
     205             :     {
     206             :         "FindMonitor", /* name */
     207             :         NULL, /* no in_args */
     208             :         iface_ifp_FindMonitor__out,
     209             :         offsetof(struct iface_ifp, FindMonitor),
     210             :         NULL, /* no invoker */
     211             :     },
     212             :     {
     213             :         "FindResponderByName", /* name */
     214             :         iface_ifp_FindResponderByName__in,
     215             :         iface_ifp_FindResponderByName__out,
     216             :         offsetof(struct iface_ifp, FindResponderByName),
     217             :         invoke_s_method,
     218             :     },
     219             :     {
     220             :         "FindBackendByName", /* name */
     221             :         iface_ifp_FindBackendByName__in,
     222             :         iface_ifp_FindBackendByName__out,
     223             :         offsetof(struct iface_ifp, FindBackendByName),
     224             :         invoke_s_method,
     225             :     },
     226             :     {
     227             :         "GetUserAttr", /* name */
     228             :         iface_ifp_GetUserAttr__in,
     229             :         iface_ifp_GetUserAttr__out,
     230             :         offsetof(struct iface_ifp, GetUserAttr),
     231             :         NULL, /* no invoker */
     232             :     },
     233             :     {
     234             :         "GetUserGroups", /* name */
     235             :         iface_ifp_GetUserGroups__in,
     236             :         iface_ifp_GetUserGroups__out,
     237             :         offsetof(struct iface_ifp, GetUserGroups),
     238             :         invoke_s_method,
     239             :     },
     240             :     {
     241             :         "FindDomainByName", /* name */
     242             :         iface_ifp_FindDomainByName__in,
     243             :         iface_ifp_FindDomainByName__out,
     244             :         offsetof(struct iface_ifp, FindDomainByName),
     245             :         invoke_s_method,
     246             :     },
     247             :     {
     248             :         "ListDomains", /* name */
     249             :         NULL, /* no in_args */
     250             :         iface_ifp_ListDomains__out,
     251             :         offsetof(struct iface_ifp, ListDomains),
     252             :         NULL, /* no invoker */
     253             :     },
     254             :     { NULL, }
     255             : };
     256             : 
     257             : /* interface info for org.freedesktop.sssd.infopipe */
     258             : const struct sbus_interface_meta iface_ifp_meta = {
     259             :     "org.freedesktop.sssd.infopipe", /* name */
     260             :     iface_ifp__methods,
     261             :     NULL, /* no signals */
     262             :     NULL, /* no properties */
     263             :     sbus_invoke_get_all, /* GetAll invoker */
     264             : };
     265             : 
     266           0 : int iface_ifp_components_Enable_finish(struct sbus_request *req)
     267             : {
     268           0 :    return sbus_request_return_and_finish(req,
     269             :                                          DBUS_TYPE_INVALID);
     270             : }
     271             : 
     272           0 : int iface_ifp_components_Disable_finish(struct sbus_request *req)
     273             : {
     274           0 :    return sbus_request_return_and_finish(req,
     275             :                                          DBUS_TYPE_INVALID);
     276             : }
     277             : 
     278             : /* arguments for org.freedesktop.sssd.infopipe.Components.ChangeDebugLevel */
     279             : const struct sbus_arg_meta iface_ifp_components_ChangeDebugLevel__in[] = {
     280             :     { "new_level", "u" },
     281             :     { NULL, }
     282             : };
     283             : 
     284           0 : int iface_ifp_components_ChangeDebugLevel_finish(struct sbus_request *req)
     285             : {
     286           0 :    return sbus_request_return_and_finish(req,
     287             :                                          DBUS_TYPE_INVALID);
     288             : }
     289             : 
     290             : /* arguments for org.freedesktop.sssd.infopipe.Components.ChangeDebugLevelTemporarily */
     291             : const struct sbus_arg_meta iface_ifp_components_ChangeDebugLevelTemporarily__in[] = {
     292             :     { "new_level", "u" },
     293             :     { NULL, }
     294             : };
     295             : 
     296           0 : int iface_ifp_components_ChangeDebugLevelTemporarily_finish(struct sbus_request *req)
     297             : {
     298           0 :    return sbus_request_return_and_finish(req,
     299             :                                          DBUS_TYPE_INVALID);
     300             : }
     301             : 
     302             : /* methods for org.freedesktop.sssd.infopipe.Components */
     303             : const struct sbus_method_meta iface_ifp_components__methods[] = {
     304             :     {
     305             :         "Enable", /* name */
     306             :         NULL, /* no in_args */
     307             :         NULL, /* no out_args */
     308             :         offsetof(struct iface_ifp_components, Enable),
     309             :         NULL, /* no invoker */
     310             :     },
     311             :     {
     312             :         "Disable", /* name */
     313             :         NULL, /* no in_args */
     314             :         NULL, /* no out_args */
     315             :         offsetof(struct iface_ifp_components, Disable),
     316             :         NULL, /* no invoker */
     317             :     },
     318             :     {
     319             :         "ChangeDebugLevel", /* name */
     320             :         iface_ifp_components_ChangeDebugLevel__in,
     321             :         NULL, /* no out_args */
     322             :         offsetof(struct iface_ifp_components, ChangeDebugLevel),
     323             :         invoke_u_method,
     324             :     },
     325             :     {
     326             :         "ChangeDebugLevelTemporarily", /* name */
     327             :         iface_ifp_components_ChangeDebugLevelTemporarily__in,
     328             :         NULL, /* no out_args */
     329             :         offsetof(struct iface_ifp_components, ChangeDebugLevelTemporarily),
     330             :         invoke_u_method,
     331             :     },
     332             :     { NULL, }
     333             : };
     334             : 
     335             : /* property info for org.freedesktop.sssd.infopipe.Components */
     336             : const struct sbus_property_meta iface_ifp_components__properties[] = {
     337             :     {
     338             :         "name", /* name */
     339             :         "s", /* type */
     340             :         SBUS_PROPERTY_READABLE,
     341             :         offsetof(struct iface_ifp_components, get_name),
     342             :         sbus_invoke_get_s,
     343             :         0, /* not writable */
     344             :         NULL, /* no invoker */
     345             :     },
     346             :     {
     347             :         "debug_level", /* name */
     348             :         "u", /* type */
     349             :         SBUS_PROPERTY_READABLE,
     350             :         offsetof(struct iface_ifp_components, get_debug_level),
     351             :         sbus_invoke_get_u,
     352             :         0, /* not writable */
     353             :         NULL, /* no invoker */
     354             :     },
     355             :     {
     356             :         "enabled", /* name */
     357             :         "b", /* type */
     358             :         SBUS_PROPERTY_READABLE,
     359             :         offsetof(struct iface_ifp_components, get_enabled),
     360             :         sbus_invoke_get_b,
     361             :         0, /* not writable */
     362             :         NULL, /* no invoker */
     363             :     },
     364             :     {
     365             :         "type", /* name */
     366             :         "s", /* type */
     367             :         SBUS_PROPERTY_READABLE,
     368             :         offsetof(struct iface_ifp_components, get_type),
     369             :         sbus_invoke_get_s,
     370             :         0, /* not writable */
     371             :         NULL, /* no invoker */
     372             :     },
     373             :     {
     374             :         "providers", /* name */
     375             :         "as", /* type */
     376             :         SBUS_PROPERTY_READABLE,
     377             :         offsetof(struct iface_ifp_components, get_providers),
     378             :         sbus_invoke_get_as,
     379             :         0, /* not writable */
     380             :         NULL, /* no invoker */
     381             :     },
     382             :     { NULL, }
     383             : };
     384             : 
     385             : /* interface info for org.freedesktop.sssd.infopipe.Components */
     386             : const struct sbus_interface_meta iface_ifp_components_meta = {
     387             :     "org.freedesktop.sssd.infopipe.Components", /* name */
     388             :     iface_ifp_components__methods,
     389             :     NULL, /* no signals */
     390             :     iface_ifp_components__properties,
     391             :     sbus_invoke_get_all, /* GetAll invoker */
     392             : };
     393             : 
     394             : /* property info for org.freedesktop.sssd.infopipe.Domains */
     395             : const struct sbus_property_meta iface_ifp_domains__properties[] = {
     396             :     {
     397             :         "name", /* name */
     398             :         "s", /* type */
     399             :         SBUS_PROPERTY_READABLE,
     400             :         offsetof(struct iface_ifp_domains, get_name),
     401             :         sbus_invoke_get_s,
     402             :         0, /* not writable */
     403             :         NULL, /* no invoker */
     404             :     },
     405             :     {
     406             :         "provider", /* name */
     407             :         "s", /* type */
     408             :         SBUS_PROPERTY_READABLE,
     409             :         offsetof(struct iface_ifp_domains, get_provider),
     410             :         sbus_invoke_get_s,
     411             :         0, /* not writable */
     412             :         NULL, /* no invoker */
     413             :     },
     414             :     {
     415             :         "primary_servers", /* name */
     416             :         "as", /* type */
     417             :         SBUS_PROPERTY_READABLE,
     418             :         offsetof(struct iface_ifp_domains, get_primary_servers),
     419             :         sbus_invoke_get_as,
     420             :         0, /* not writable */
     421             :         NULL, /* no invoker */
     422             :     },
     423             :     {
     424             :         "backup_servers", /* name */
     425             :         "as", /* type */
     426             :         SBUS_PROPERTY_READABLE,
     427             :         offsetof(struct iface_ifp_domains, get_backup_servers),
     428             :         sbus_invoke_get_as,
     429             :         0, /* not writable */
     430             :         NULL, /* no invoker */
     431             :     },
     432             :     {
     433             :         "min_id", /* name */
     434             :         "u", /* type */
     435             :         SBUS_PROPERTY_READABLE,
     436             :         offsetof(struct iface_ifp_domains, get_min_id),
     437             :         sbus_invoke_get_u,
     438             :         0, /* not writable */
     439             :         NULL, /* no invoker */
     440             :     },
     441             :     {
     442             :         "max_id", /* name */
     443             :         "u", /* type */
     444             :         SBUS_PROPERTY_READABLE,
     445             :         offsetof(struct iface_ifp_domains, get_max_id),
     446             :         sbus_invoke_get_u,
     447             :         0, /* not writable */
     448             :         NULL, /* no invoker */
     449             :     },
     450             :     {
     451             :         "realm", /* name */
     452             :         "s", /* type */
     453             :         SBUS_PROPERTY_READABLE,
     454             :         offsetof(struct iface_ifp_domains, get_realm),
     455             :         sbus_invoke_get_s,
     456             :         0, /* not writable */
     457             :         NULL, /* no invoker */
     458             :     },
     459             :     {
     460             :         "forest", /* name */
     461             :         "s", /* type */
     462             :         SBUS_PROPERTY_READABLE,
     463             :         offsetof(struct iface_ifp_domains, get_forest),
     464             :         sbus_invoke_get_s,
     465             :         0, /* not writable */
     466             :         NULL, /* no invoker */
     467             :     },
     468             :     {
     469             :         "login_format", /* name */
     470             :         "s", /* type */
     471             :         SBUS_PROPERTY_READABLE,
     472             :         offsetof(struct iface_ifp_domains, get_login_format),
     473             :         sbus_invoke_get_s,
     474             :         0, /* not writable */
     475             :         NULL, /* no invoker */
     476             :     },
     477             :     {
     478             :         "fully_qualified_name_format", /* name */
     479             :         "s", /* type */
     480             :         SBUS_PROPERTY_READABLE,
     481             :         offsetof(struct iface_ifp_domains, get_fully_qualified_name_format),
     482             :         sbus_invoke_get_s,
     483             :         0, /* not writable */
     484             :         NULL, /* no invoker */
     485             :     },
     486             :     {
     487             :         "enumerable", /* name */
     488             :         "b", /* type */
     489             :         SBUS_PROPERTY_READABLE,
     490             :         offsetof(struct iface_ifp_domains, get_enumerable),
     491             :         sbus_invoke_get_b,
     492             :         0, /* not writable */
     493             :         NULL, /* no invoker */
     494             :     },
     495             :     {
     496             :         "use_fully_qualified_names", /* name */
     497             :         "b", /* type */
     498             :         SBUS_PROPERTY_READABLE,
     499             :         offsetof(struct iface_ifp_domains, get_use_fully_qualified_names),
     500             :         sbus_invoke_get_b,
     501             :         0, /* not writable */
     502             :         NULL, /* no invoker */
     503             :     },
     504             :     {
     505             :         "subdomain", /* name */
     506             :         "b", /* type */
     507             :         SBUS_PROPERTY_READABLE,
     508             :         offsetof(struct iface_ifp_domains, get_subdomain),
     509             :         sbus_invoke_get_b,
     510             :         0, /* not writable */
     511             :         NULL, /* no invoker */
     512             :     },
     513             :     {
     514             :         "parent_domain", /* name */
     515             :         "o", /* type */
     516             :         SBUS_PROPERTY_READABLE,
     517             :         offsetof(struct iface_ifp_domains, get_parent_domain),
     518             :         sbus_invoke_get_o,
     519             :         0, /* not writable */
     520             :         NULL, /* no invoker */
     521             :     },
     522             :     { NULL, }
     523             : };
     524             : 
     525             : /* interface info for org.freedesktop.sssd.infopipe.Domains */
     526             : const struct sbus_interface_meta iface_ifp_domains_meta = {
     527             :     "org.freedesktop.sssd.infopipe.Domains", /* name */
     528             :     NULL, /* no methods */
     529             :     NULL, /* no signals */
     530             :     iface_ifp_domains__properties,
     531             :     sbus_invoke_get_all, /* GetAll invoker */
     532             : };
     533             : 
     534             : /* arguments for org.freedesktop.sssd.infopipe.Cache.List */
     535             : const struct sbus_arg_meta iface_ifp_cache_List__out[] = {
     536             :     { "result", "ao" },
     537             :     { NULL, }
     538             : };
     539             : 
     540           0 : int iface_ifp_cache_List_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     541             : {
     542           0 :    return sbus_request_return_and_finish(req,
     543             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     544             :                                          DBUS_TYPE_INVALID);
     545             : }
     546             : 
     547             : /* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
     548             : const struct sbus_arg_meta iface_ifp_cache_ListByDomain__in[] = {
     549             :     { "domain_name", "s" },
     550             :     { NULL, }
     551             : };
     552             : 
     553             : /* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
     554             : const struct sbus_arg_meta iface_ifp_cache_ListByDomain__out[] = {
     555             :     { "result", "ao" },
     556             :     { NULL, }
     557             : };
     558             : 
     559           0 : int iface_ifp_cache_ListByDomain_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     560             : {
     561           0 :    return sbus_request_return_and_finish(req,
     562             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     563             :                                          DBUS_TYPE_INVALID);
     564             : }
     565             : 
     566             : /* methods for org.freedesktop.sssd.infopipe.Cache */
     567             : const struct sbus_method_meta iface_ifp_cache__methods[] = {
     568             :     {
     569             :         "List", /* name */
     570             :         NULL, /* no in_args */
     571             :         iface_ifp_cache_List__out,
     572             :         offsetof(struct iface_ifp_cache, List),
     573             :         NULL, /* no invoker */
     574             :     },
     575             :     {
     576             :         "ListByDomain", /* name */
     577             :         iface_ifp_cache_ListByDomain__in,
     578             :         iface_ifp_cache_ListByDomain__out,
     579             :         offsetof(struct iface_ifp_cache, ListByDomain),
     580             :         invoke_s_method,
     581             :     },
     582             :     { NULL, }
     583             : };
     584             : 
     585             : /* interface info for org.freedesktop.sssd.infopipe.Cache */
     586             : const struct sbus_interface_meta iface_ifp_cache_meta = {
     587             :     "org.freedesktop.sssd.infopipe.Cache", /* name */
     588             :     iface_ifp_cache__methods,
     589             :     NULL, /* no signals */
     590             :     NULL, /* no properties */
     591             :     sbus_invoke_get_all, /* GetAll invoker */
     592             : };
     593             : 
     594             : /* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Store */
     595             : const struct sbus_arg_meta iface_ifp_cache_object_Store__out[] = {
     596             :     { "result", "b" },
     597             :     { NULL, }
     598             : };
     599             : 
     600           0 : int iface_ifp_cache_object_Store_finish(struct sbus_request *req, bool arg_result)
     601             : {
     602           0 :     dbus_bool_t cast_result = arg_result;
     603           0 :    return sbus_request_return_and_finish(req,
     604             :                                          DBUS_TYPE_BOOLEAN, &cast_result,
     605             :                                          DBUS_TYPE_INVALID);
     606             : }
     607             : 
     608             : /* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Remove */
     609             : const struct sbus_arg_meta iface_ifp_cache_object_Remove__out[] = {
     610             :     { "result", "b" },
     611             :     { NULL, }
     612             : };
     613             : 
     614           0 : int iface_ifp_cache_object_Remove_finish(struct sbus_request *req, bool arg_result)
     615             : {
     616           0 :     dbus_bool_t cast_result = arg_result;
     617           0 :    return sbus_request_return_and_finish(req,
     618             :                                          DBUS_TYPE_BOOLEAN, &cast_result,
     619             :                                          DBUS_TYPE_INVALID);
     620             : }
     621             : 
     622             : /* methods for org.freedesktop.sssd.infopipe.Cache.Object */
     623             : const struct sbus_method_meta iface_ifp_cache_object__methods[] = {
     624             :     {
     625             :         "Store", /* name */
     626             :         NULL, /* no in_args */
     627             :         iface_ifp_cache_object_Store__out,
     628             :         offsetof(struct iface_ifp_cache_object, Store),
     629             :         NULL, /* no invoker */
     630             :     },
     631             :     {
     632             :         "Remove", /* name */
     633             :         NULL, /* no in_args */
     634             :         iface_ifp_cache_object_Remove__out,
     635             :         offsetof(struct iface_ifp_cache_object, Remove),
     636             :         NULL, /* no invoker */
     637             :     },
     638             :     { NULL, }
     639             : };
     640             : 
     641             : /* interface info for org.freedesktop.sssd.infopipe.Cache.Object */
     642             : const struct sbus_interface_meta iface_ifp_cache_object_meta = {
     643             :     "org.freedesktop.sssd.infopipe.Cache.Object", /* name */
     644             :     iface_ifp_cache_object__methods,
     645             :     NULL, /* no signals */
     646             :     NULL, /* no properties */
     647             :     sbus_invoke_get_all, /* GetAll invoker */
     648             : };
     649             : 
     650             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
     651             : const struct sbus_arg_meta iface_ifp_users_FindByName__in[] = {
     652             :     { "name", "s" },
     653             :     { NULL, }
     654             : };
     655             : 
     656             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
     657             : const struct sbus_arg_meta iface_ifp_users_FindByName__out[] = {
     658             :     { "result", "o" },
     659             :     { NULL, }
     660             : };
     661             : 
     662           0 : int iface_ifp_users_FindByName_finish(struct sbus_request *req, const char *arg_result)
     663             : {
     664           0 :    return sbus_request_return_and_finish(req,
     665             :                                          DBUS_TYPE_OBJECT_PATH, &arg_result,
     666             :                                          DBUS_TYPE_INVALID);
     667             : }
     668             : 
     669             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
     670             : const struct sbus_arg_meta iface_ifp_users_FindByID__in[] = {
     671             :     { "id", "u" },
     672             :     { NULL, }
     673             : };
     674             : 
     675             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
     676             : const struct sbus_arg_meta iface_ifp_users_FindByID__out[] = {
     677             :     { "result", "o" },
     678             :     { NULL, }
     679             : };
     680             : 
     681           0 : int iface_ifp_users_FindByID_finish(struct sbus_request *req, const char *arg_result)
     682             : {
     683           0 :    return sbus_request_return_and_finish(req,
     684             :                                          DBUS_TYPE_OBJECT_PATH, &arg_result,
     685             :                                          DBUS_TYPE_INVALID);
     686             : }
     687             : 
     688             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
     689             : const struct sbus_arg_meta iface_ifp_users_FindByCertificate__in[] = {
     690             :     { "pem_cert", "s" },
     691             :     { NULL, }
     692             : };
     693             : 
     694             : /* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
     695             : const struct sbus_arg_meta iface_ifp_users_FindByCertificate__out[] = {
     696             :     { "result", "o" },
     697             :     { NULL, }
     698             : };
     699             : 
     700           0 : int iface_ifp_users_FindByCertificate_finish(struct sbus_request *req, const char *arg_result)
     701             : {
     702           0 :    return sbus_request_return_and_finish(req,
     703             :                                          DBUS_TYPE_OBJECT_PATH, &arg_result,
     704             :                                          DBUS_TYPE_INVALID);
     705             : }
     706             : 
     707             : /* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
     708             : const struct sbus_arg_meta iface_ifp_users_ListByName__in[] = {
     709             :     { "name_filter", "s" },
     710             :     { "limit", "u" },
     711             :     { NULL, }
     712             : };
     713             : 
     714             : /* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
     715             : const struct sbus_arg_meta iface_ifp_users_ListByName__out[] = {
     716             :     { "result", "ao" },
     717             :     { NULL, }
     718             : };
     719             : 
     720           0 : int iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     721             : {
     722           0 :    return sbus_request_return_and_finish(req,
     723             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     724             :                                          DBUS_TYPE_INVALID);
     725             : }
     726             : 
     727             : /* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
     728             : const struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__in[] = {
     729             :     { "domain_name", "s" },
     730             :     { "name_filter", "s" },
     731             :     { "limit", "u" },
     732             :     { NULL, }
     733             : };
     734             : 
     735             : /* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
     736             : const struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__out[] = {
     737             :     { "result", "ao" },
     738             :     { NULL, }
     739             : };
     740             : 
     741           0 : int iface_ifp_users_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     742             : {
     743           0 :    return sbus_request_return_and_finish(req,
     744             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     745             :                                          DBUS_TYPE_INVALID);
     746             : }
     747             : 
     748             : /* methods for org.freedesktop.sssd.infopipe.Users */
     749             : const struct sbus_method_meta iface_ifp_users__methods[] = {
     750             :     {
     751             :         "FindByName", /* name */
     752             :         iface_ifp_users_FindByName__in,
     753             :         iface_ifp_users_FindByName__out,
     754             :         offsetof(struct iface_ifp_users, FindByName),
     755             :         invoke_s_method,
     756             :     },
     757             :     {
     758             :         "FindByID", /* name */
     759             :         iface_ifp_users_FindByID__in,
     760             :         iface_ifp_users_FindByID__out,
     761             :         offsetof(struct iface_ifp_users, FindByID),
     762             :         invoke_u_method,
     763             :     },
     764             :     {
     765             :         "FindByCertificate", /* name */
     766             :         iface_ifp_users_FindByCertificate__in,
     767             :         iface_ifp_users_FindByCertificate__out,
     768             :         offsetof(struct iface_ifp_users, FindByCertificate),
     769             :         invoke_s_method,
     770             :     },
     771             :     {
     772             :         "ListByName", /* name */
     773             :         iface_ifp_users_ListByName__in,
     774             :         iface_ifp_users_ListByName__out,
     775             :         offsetof(struct iface_ifp_users, ListByName),
     776             :         invoke_su_method,
     777             :     },
     778             :     {
     779             :         "ListByDomainAndName", /* name */
     780             :         iface_ifp_users_ListByDomainAndName__in,
     781             :         iface_ifp_users_ListByDomainAndName__out,
     782             :         offsetof(struct iface_ifp_users, ListByDomainAndName),
     783             :         invoke_ssu_method,
     784             :     },
     785             :     { NULL, }
     786             : };
     787             : 
     788             : /* interface info for org.freedesktop.sssd.infopipe.Users */
     789             : const struct sbus_interface_meta iface_ifp_users_meta = {
     790             :     "org.freedesktop.sssd.infopipe.Users", /* name */
     791             :     iface_ifp_users__methods,
     792             :     NULL, /* no signals */
     793             :     NULL, /* no properties */
     794             :     sbus_invoke_get_all, /* GetAll invoker */
     795             : };
     796             : 
     797           0 : int iface_ifp_users_user_UpdateGroupsList_finish(struct sbus_request *req)
     798             : {
     799           0 :    return sbus_request_return_and_finish(req,
     800             :                                          DBUS_TYPE_INVALID);
     801             : }
     802             : 
     803             : /* methods for org.freedesktop.sssd.infopipe.Users.User */
     804             : const struct sbus_method_meta iface_ifp_users_user__methods[] = {
     805             :     {
     806             :         "UpdateGroupsList", /* name */
     807             :         NULL, /* no in_args */
     808             :         NULL, /* no out_args */
     809             :         offsetof(struct iface_ifp_users_user, UpdateGroupsList),
     810             :         NULL, /* no invoker */
     811             :     },
     812             :     { NULL, }
     813             : };
     814             : 
     815             : /* property info for org.freedesktop.sssd.infopipe.Users.User */
     816             : const struct sbus_property_meta iface_ifp_users_user__properties[] = {
     817             :     {
     818             :         "name", /* name */
     819             :         "s", /* type */
     820             :         SBUS_PROPERTY_READABLE,
     821             :         offsetof(struct iface_ifp_users_user, get_name),
     822             :         sbus_invoke_get_s,
     823             :         0, /* not writable */
     824             :         NULL, /* no invoker */
     825             :     },
     826             :     {
     827             :         "uidNumber", /* name */
     828             :         "u", /* type */
     829             :         SBUS_PROPERTY_READABLE,
     830             :         offsetof(struct iface_ifp_users_user, get_uidNumber),
     831             :         sbus_invoke_get_u,
     832             :         0, /* not writable */
     833             :         NULL, /* no invoker */
     834             :     },
     835             :     {
     836             :         "gidNumber", /* name */
     837             :         "u", /* type */
     838             :         SBUS_PROPERTY_READABLE,
     839             :         offsetof(struct iface_ifp_users_user, get_gidNumber),
     840             :         sbus_invoke_get_u,
     841             :         0, /* not writable */
     842             :         NULL, /* no invoker */
     843             :     },
     844             :     {
     845             :         "gecos", /* name */
     846             :         "s", /* type */
     847             :         SBUS_PROPERTY_READABLE,
     848             :         offsetof(struct iface_ifp_users_user, get_gecos),
     849             :         sbus_invoke_get_s,
     850             :         0, /* not writable */
     851             :         NULL, /* no invoker */
     852             :     },
     853             :     {
     854             :         "homeDirectory", /* name */
     855             :         "s", /* type */
     856             :         SBUS_PROPERTY_READABLE,
     857             :         offsetof(struct iface_ifp_users_user, get_homeDirectory),
     858             :         sbus_invoke_get_s,
     859             :         0, /* not writable */
     860             :         NULL, /* no invoker */
     861             :     },
     862             :     {
     863             :         "loginShell", /* name */
     864             :         "s", /* type */
     865             :         SBUS_PROPERTY_READABLE,
     866             :         offsetof(struct iface_ifp_users_user, get_loginShell),
     867             :         sbus_invoke_get_s,
     868             :         0, /* not writable */
     869             :         NULL, /* no invoker */
     870             :     },
     871             :     {
     872             :         "groups", /* name */
     873             :         "ao", /* type */
     874             :         SBUS_PROPERTY_READABLE,
     875             :         offsetof(struct iface_ifp_users_user, get_groups),
     876             :         sbus_invoke_get_ao,
     877             :         0, /* not writable */
     878             :         NULL, /* no invoker */
     879             :     },
     880             :     {
     881             :         "extraAttributes", /* name */
     882             :         "a{sas}", /* type */
     883             :         SBUS_PROPERTY_READABLE,
     884             :         offsetof(struct iface_ifp_users_user, get_extraAttributes),
     885             :         sbus_invoke_get_aDOsasDE,
     886             :         0, /* not writable */
     887             :         NULL, /* no invoker */
     888             :     },
     889             :     { NULL, }
     890             : };
     891             : 
     892             : /* interface info for org.freedesktop.sssd.infopipe.Users.User */
     893             : const struct sbus_interface_meta iface_ifp_users_user_meta = {
     894             :     "org.freedesktop.sssd.infopipe.Users.User", /* name */
     895             :     iface_ifp_users_user__methods,
     896             :     NULL, /* no signals */
     897             :     iface_ifp_users_user__properties,
     898             :     sbus_invoke_get_all, /* GetAll invoker */
     899             : };
     900             : 
     901             : /* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
     902             : const struct sbus_arg_meta iface_ifp_groups_FindByName__in[] = {
     903             :     { "name", "s" },
     904             :     { NULL, }
     905             : };
     906             : 
     907             : /* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
     908             : const struct sbus_arg_meta iface_ifp_groups_FindByName__out[] = {
     909             :     { "result", "o" },
     910             :     { NULL, }
     911             : };
     912             : 
     913           0 : int iface_ifp_groups_FindByName_finish(struct sbus_request *req, const char *arg_result)
     914             : {
     915           0 :    return sbus_request_return_and_finish(req,
     916             :                                          DBUS_TYPE_OBJECT_PATH, &arg_result,
     917             :                                          DBUS_TYPE_INVALID);
     918             : }
     919             : 
     920             : /* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
     921             : const struct sbus_arg_meta iface_ifp_groups_FindByID__in[] = {
     922             :     { "id", "u" },
     923             :     { NULL, }
     924             : };
     925             : 
     926             : /* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
     927             : const struct sbus_arg_meta iface_ifp_groups_FindByID__out[] = {
     928             :     { "result", "o" },
     929             :     { NULL, }
     930             : };
     931             : 
     932           0 : int iface_ifp_groups_FindByID_finish(struct sbus_request *req, const char *arg_result)
     933             : {
     934           0 :    return sbus_request_return_and_finish(req,
     935             :                                          DBUS_TYPE_OBJECT_PATH, &arg_result,
     936             :                                          DBUS_TYPE_INVALID);
     937             : }
     938             : 
     939             : /* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
     940             : const struct sbus_arg_meta iface_ifp_groups_ListByName__in[] = {
     941             :     { "name_filter", "s" },
     942             :     { "limit", "u" },
     943             :     { NULL, }
     944             : };
     945             : 
     946             : /* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
     947             : const struct sbus_arg_meta iface_ifp_groups_ListByName__out[] = {
     948             :     { "result", "ao" },
     949             :     { NULL, }
     950             : };
     951             : 
     952           0 : int iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     953             : {
     954           0 :    return sbus_request_return_and_finish(req,
     955             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     956             :                                          DBUS_TYPE_INVALID);
     957             : }
     958             : 
     959             : /* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
     960             : const struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__in[] = {
     961             :     { "domain_name", "s" },
     962             :     { "name_filter", "s" },
     963             :     { "limit", "u" },
     964             :     { NULL, }
     965             : };
     966             : 
     967             : /* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
     968             : const struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__out[] = {
     969             :     { "result", "ao" },
     970             :     { NULL, }
     971             : };
     972             : 
     973           0 : int iface_ifp_groups_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
     974             : {
     975           0 :    return sbus_request_return_and_finish(req,
     976             :                                          DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
     977             :                                          DBUS_TYPE_INVALID);
     978             : }
     979             : 
     980             : /* methods for org.freedesktop.sssd.infopipe.Groups */
     981             : const struct sbus_method_meta iface_ifp_groups__methods[] = {
     982             :     {
     983             :         "FindByName", /* name */
     984             :         iface_ifp_groups_FindByName__in,
     985             :         iface_ifp_groups_FindByName__out,
     986             :         offsetof(struct iface_ifp_groups, FindByName),
     987             :         invoke_s_method,
     988             :     },
     989             :     {
     990             :         "FindByID", /* name */
     991             :         iface_ifp_groups_FindByID__in,
     992             :         iface_ifp_groups_FindByID__out,
     993             :         offsetof(struct iface_ifp_groups, FindByID),
     994             :         invoke_u_method,
     995             :     },
     996             :     {
     997             :         "ListByName", /* name */
     998             :         iface_ifp_groups_ListByName__in,
     999             :         iface_ifp_groups_ListByName__out,
    1000             :         offsetof(struct iface_ifp_groups, ListByName),
    1001             :         invoke_su_method,
    1002             :     },
    1003             :     {
    1004             :         "ListByDomainAndName", /* name */
    1005             :         iface_ifp_groups_ListByDomainAndName__in,
    1006             :         iface_ifp_groups_ListByDomainAndName__out,
    1007             :         offsetof(struct iface_ifp_groups, ListByDomainAndName),
    1008             :         invoke_ssu_method,
    1009             :     },
    1010             :     { NULL, }
    1011             : };
    1012             : 
    1013             : /* interface info for org.freedesktop.sssd.infopipe.Groups */
    1014             : const struct sbus_interface_meta iface_ifp_groups_meta = {
    1015             :     "org.freedesktop.sssd.infopipe.Groups", /* name */
    1016             :     iface_ifp_groups__methods,
    1017             :     NULL, /* no signals */
    1018             :     NULL, /* no properties */
    1019             :     sbus_invoke_get_all, /* GetAll invoker */
    1020             : };
    1021             : 
    1022           0 : int iface_ifp_groups_group_UpdateMemberList_finish(struct sbus_request *req)
    1023             : {
    1024           0 :    return sbus_request_return_and_finish(req,
    1025             :                                          DBUS_TYPE_INVALID);
    1026             : }
    1027             : 
    1028             : /* methods for org.freedesktop.sssd.infopipe.Groups.Group */
    1029             : const struct sbus_method_meta iface_ifp_groups_group__methods[] = {
    1030             :     {
    1031             :         "UpdateMemberList", /* name */
    1032             :         NULL, /* no in_args */
    1033             :         NULL, /* no out_args */
    1034             :         offsetof(struct iface_ifp_groups_group, UpdateMemberList),
    1035             :         NULL, /* no invoker */
    1036             :     },
    1037             :     { NULL, }
    1038             : };
    1039             : 
    1040             : /* property info for org.freedesktop.sssd.infopipe.Groups.Group */
    1041             : const struct sbus_property_meta iface_ifp_groups_group__properties[] = {
    1042             :     {
    1043             :         "name", /* name */
    1044             :         "s", /* type */
    1045             :         SBUS_PROPERTY_READABLE,
    1046             :         offsetof(struct iface_ifp_groups_group, get_name),
    1047             :         sbus_invoke_get_s,
    1048             :         0, /* not writable */
    1049             :         NULL, /* no invoker */
    1050             :     },
    1051             :     {
    1052             :         "gidNumber", /* name */
    1053             :         "u", /* type */
    1054             :         SBUS_PROPERTY_READABLE,
    1055             :         offsetof(struct iface_ifp_groups_group, get_gidNumber),
    1056             :         sbus_invoke_get_u,
    1057             :         0, /* not writable */
    1058             :         NULL, /* no invoker */
    1059             :     },
    1060             :     {
    1061             :         "users", /* name */
    1062             :         "ao", /* type */
    1063             :         SBUS_PROPERTY_READABLE,
    1064             :         offsetof(struct iface_ifp_groups_group, get_users),
    1065             :         sbus_invoke_get_ao,
    1066             :         0, /* not writable */
    1067             :         NULL, /* no invoker */
    1068             :     },
    1069             :     {
    1070             :         "groups", /* name */
    1071             :         "ao", /* type */
    1072             :         SBUS_PROPERTY_READABLE,
    1073             :         offsetof(struct iface_ifp_groups_group, get_groups),
    1074             :         sbus_invoke_get_ao,
    1075             :         0, /* not writable */
    1076             :         NULL, /* no invoker */
    1077             :     },
    1078             :     { NULL, }
    1079             : };
    1080             : 
    1081             : /* interface info for org.freedesktop.sssd.infopipe.Groups.Group */
    1082             : const struct sbus_interface_meta iface_ifp_groups_group_meta = {
    1083             :     "org.freedesktop.sssd.infopipe.Groups.Group", /* name */
    1084             :     iface_ifp_groups_group__methods,
    1085             :     NULL, /* no signals */
    1086             :     iface_ifp_groups_group__properties,
    1087             :     sbus_invoke_get_all, /* GetAll invoker */
    1088             : };
    1089             : 
    1090             : /* invokes a handler with a 'ssu' DBus signature */
    1091           0 : static int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr)
    1092             : {
    1093             :     const char * arg_0;
    1094             :     const char * arg_1;
    1095             :     uint32_t arg_2;
    1096           0 :     int (*handler)(struct sbus_request *, void *, const char *, const char *, uint32_t) = function_ptr;
    1097             : 
    1098           0 :     if (!sbus_request_parse_or_finish(dbus_req,
    1099             :                                DBUS_TYPE_STRING, &arg_0,
    1100             :                                DBUS_TYPE_STRING, &arg_1,
    1101             :                                DBUS_TYPE_UINT32, &arg_2,
    1102             :                                DBUS_TYPE_INVALID)) {
    1103           0 :          return EOK; /* request handled */
    1104             :     }
    1105             : 
    1106           0 :     return (handler)(dbus_req, dbus_req->intf->handler_data,
    1107             :                      arg_0,
    1108             :                      arg_1,
    1109             :                      arg_2);
    1110             : }
    1111             : 
    1112             : /* invokes a handler with a 's' DBus signature */
    1113           0 : static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr)
    1114             : {
    1115             :     const char * arg_0;
    1116           0 :     int (*handler)(struct sbus_request *, void *, const char *) = function_ptr;
    1117             : 
    1118           0 :     if (!sbus_request_parse_or_finish(dbus_req,
    1119             :                                DBUS_TYPE_STRING, &arg_0,
    1120             :                                DBUS_TYPE_INVALID)) {
    1121           0 :          return EOK; /* request handled */
    1122             :     }
    1123             : 
    1124           0 :     return (handler)(dbus_req, dbus_req->intf->handler_data,
    1125             :                      arg_0);
    1126             : }
    1127             : 
    1128             : /* invokes a handler with a 'u' DBus signature */
    1129           0 : static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr)
    1130             : {
    1131             :     uint32_t arg_0;
    1132           0 :     int (*handler)(struct sbus_request *, void *, uint32_t) = function_ptr;
    1133             : 
    1134           0 :     if (!sbus_request_parse_or_finish(dbus_req,
    1135             :                                DBUS_TYPE_UINT32, &arg_0,
    1136             :                                DBUS_TYPE_INVALID)) {
    1137           0 :          return EOK; /* request handled */
    1138             :     }
    1139             : 
    1140           0 :     return (handler)(dbus_req, dbus_req->intf->handler_data,
    1141             :                      arg_0);
    1142             : }
    1143             : 
    1144             : /* invokes a handler with a 'su' DBus signature */
    1145           0 : static int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr)
    1146             : {
    1147             :     const char * arg_0;
    1148             :     uint32_t arg_1;
    1149           0 :     int (*handler)(struct sbus_request *, void *, const char *, uint32_t) = function_ptr;
    1150             : 
    1151           0 :     if (!sbus_request_parse_or_finish(dbus_req,
    1152             :                                DBUS_TYPE_STRING, &arg_0,
    1153             :                                DBUS_TYPE_UINT32, &arg_1,
    1154             :                                DBUS_TYPE_INVALID)) {
    1155           0 :          return EOK; /* request handled */
    1156             :     }
    1157             : 
    1158           0 :     return (handler)(dbus_req, dbus_req->intf->handler_data,
    1159             :                      arg_0,
    1160             :                      arg_1);
    1161             : }

Generated by: LCOV version 1.10