summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifp_iface_generated.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-01-15 14:49:25 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-17 15:59:49 +0100
commit4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cb (patch)
treef171f9ca17bcdd1196e555ac31a27adec1fb17eb /src/responder/ifp/ifp_iface_generated.h
parentbeeef7f627a5ed9264de25ee4c76eb9620c1c984 (diff)
downloadsssd-4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cb.tar.gz
sssd-4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cb.tar.xz
sssd-4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cb.zip
sbus codegen: do not prefix getters with iface name
Prefixing getters with C name of the interface is just redundant since it is the same as the name of the structure that contains those fields. The following structure: struct test_pilot { $type test_pilot_get_name; } changes to: struct test_pilot { $type get_name; } Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifp_iface_generated.h')
-rw-r--r--src/responder/ifp/ifp_iface_generated.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/responder/ifp/ifp_iface_generated.h b/src/responder/ifp/ifp_iface_generated.h
index 7dfe8c05f..e2f5a7eaf 100644
--- a/src/responder/ifp/ifp_iface_generated.h
+++ b/src/responder/ifp/ifp_iface_generated.h
@@ -122,11 +122,11 @@ struct iface_ifp_components {
int (*Disable)(struct sbus_request *req, void *data);
int (*ChangeDebugLevel)(struct sbus_request *req, void *data, uint32_t arg_new_level);
int (*ChangeDebugLevelTemporarily)(struct sbus_request *req, void *data, uint32_t arg_new_level);
- void (*iface_ifp_components_get_name)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_components_get_debug_level)(struct sbus_request *, void *data, uint32_t *);
- void (*iface_ifp_components_get_enabled)(struct sbus_request *, void *data, bool *);
- void (*iface_ifp_components_get_type)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_components_get_providers)(struct sbus_request *, void *data, const char * * *, int *);
+ void (*get_name)(struct sbus_request *, void *data, const char * *);
+ void (*get_debug_level)(struct sbus_request *, void *data, uint32_t *);
+ void (*get_enabled)(struct sbus_request *, void *data, bool *);
+ void (*get_type)(struct sbus_request *, void *data, const char * *);
+ void (*get_providers)(struct sbus_request *, void *data, const char * * *, int *);
};
/* finish function for Enable */
@@ -144,20 +144,20 @@ int iface_ifp_components_ChangeDebugLevelTemporarily_finish(struct sbus_request
/* vtable for org.freedesktop.sssd.infopipe.Domains */
struct iface_ifp_domains {
struct sbus_vtable vtable; /* derive from sbus_vtable */
- void (*iface_ifp_domains_get_name)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_provider)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_primary_servers)(struct sbus_request *, void *data, const char * * *, int *);
- void (*iface_ifp_domains_get_backup_servers)(struct sbus_request *, void *data, const char * * *, int *);
- void (*iface_ifp_domains_get_min_id)(struct sbus_request *, void *data, uint32_t *);
- void (*iface_ifp_domains_get_max_id)(struct sbus_request *, void *data, uint32_t *);
- void (*iface_ifp_domains_get_realm)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_forest)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_login_format)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_fully_qualified_name_format)(struct sbus_request *, void *data, const char * *);
- void (*iface_ifp_domains_get_enumerable)(struct sbus_request *, void *data, bool *);
- void (*iface_ifp_domains_get_use_fully_qualified_names)(struct sbus_request *, void *data, bool *);
- void (*iface_ifp_domains_get_subdomain)(struct sbus_request *, void *data, bool *);
- void (*iface_ifp_domains_get_parent_domain)(struct sbus_request *, void *data, const char * *);
+ void (*get_name)(struct sbus_request *, void *data, const char * *);
+ void (*get_provider)(struct sbus_request *, void *data, const char * *);
+ void (*get_primary_servers)(struct sbus_request *, void *data, const char * * *, int *);
+ void (*get_backup_servers)(struct sbus_request *, void *data, const char * * *, int *);
+ void (*get_min_id)(struct sbus_request *, void *data, uint32_t *);
+ void (*get_max_id)(struct sbus_request *, void *data, uint32_t *);
+ void (*get_realm)(struct sbus_request *, void *data, const char * *);
+ void (*get_forest)(struct sbus_request *, void *data, const char * *);
+ void (*get_login_format)(struct sbus_request *, void *data, const char * *);
+ void (*get_fully_qualified_name_format)(struct sbus_request *, void *data, const char * *);
+ void (*get_enumerable)(struct sbus_request *, void *data, bool *);
+ void (*get_use_fully_qualified_names)(struct sbus_request *, void *data, bool *);
+ void (*get_subdomain)(struct sbus_request *, void *data, bool *);
+ void (*get_parent_domain)(struct sbus_request *, void *data, const char * *);
};
/* ------------------------------------------------------------------------