summaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/modules/hicn_light/face.h
blob: 6f202b4cee2314b1cba516c41efd3bf067176d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef HICNCTRL_MODULE_HICNLIGHT_FACE
#define HICNCTRL_MODULE_HICNLIGHT_FACE

#include <hicn/ctrl/objects/connection.h>
#include <hicn/ctrl/objects/face.h>

int hc_connection_to_face(const hc_connection_t *connection, hc_face_t *face);

int hc_face_from_connection(const hc_connection_t *connection, hc_face_t *face);

int hc_face_to_connection(const hc_face_t *face, hc_connection_t *connection,
                          bool generate_name);

int hc_face_to_listener(const hc_face_t *face, hc_listener_t *listener);

#endif /* HICNCTRL_MODULES_HICNLIGHT_FACE */