eis: update libeis-client to use the declare macros

This commit is contained in:
Peter Hutterer 2023-02-03 15:38:34 +10:00
parent bcece3d3c1
commit c98a9fc7d7

View file

@ -73,18 +73,13 @@ struct eis_client {
} restrictions;
};
OBJECT_DECLARE_GETTER(eis_client, client, struct eis_client *);
OBJECT_DECLARE_GETTER(eis_client, interface, const struct eis_connection_interface *);
OBJECT_DECLARE_GETTER(eis_client, proto_object, const struct brei_object *);
struct eis_client *
eis_client_new(struct eis *eis, int fd);
struct eis_client *
eis_client_get_client(struct eis_client *client);
const struct eis_connection_interface *
eis_client_get_interface(struct eis_client *client);
const struct brei_object *
eis_client_get_proto_object(struct eis_client *client);
uint32_t
eis_client_get_new_id(struct eis_client *client);