aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/modules/hicn_light/subscription.h
blob: a4edf556bd360c86d126613cd446a7899e4df838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef HICNCTRL_MODULE_HICNLIGHT_SUBSCRIPTION_H
#define HICNCTRL_MODULE_HICNLIGHT_SUBSCRIPTION_H

#include "../../module.h"

#if 1

DECLARE_MODULE_OBJECT_OPS_H(hicnlight, subscription);

#else

int _hicnlight_subscription_parse(const uint8_t *buffer, size_t size,
                                  hc_object_t *object);

int hicnlight_subscription_serialize_create(const hc_object_t *object,
                                            uint8_t *packet);

int hicnlight_subscription_serialize_delete(const hc_object_t *object,
                                            uint8_t *packet);

int hicnlight_subscription_serialize_list(const hc_object_t *object,
                                          uint8_t *packet);

#endif

#endif /* HICNCTRL_MODULE_HICNLIGHT_SUBSCRIPTION_H */