diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2022-09-20 13:27:12 +0200 |
---|---|---|
committer | Jordan Augé <jordan.auge+fdio@cisco.com> | 2022-09-22 12:20:58 +0200 |
commit | bd26d18978861b24c5707dbaa24dac76133425e2 (patch) | |
tree | 7ff84df44d440254b48f800c368005eb27d4680d /ctrl/libhicnctrl/src/objects/face.c | |
parent | 45da502db58f712b78e59c214f05c44aa01ea8d0 (diff) |
fix(libhicnctrl): fix new listener validation during face or connection creation
Change-Id: I5f532320fcb3fc01cd3a027af7ea5fc6425e4097
Ref: HICN-790
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/libhicnctrl/src/objects/face.c')
-rw-r--r-- | ctrl/libhicnctrl/src/objects/face.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ctrl/libhicnctrl/src/objects/face.c b/ctrl/libhicnctrl/src/objects/face.c index c535ff4c5..b0dbcd7a5 100644 --- a/ctrl/libhicnctrl/src/objects/face.c +++ b/ctrl/libhicnctrl/src/objects/face.c @@ -169,6 +169,16 @@ int hc_face_list_async(hc_sock_t *s) { return hc_execute_async(s, ACTION_LIST, OBJECT_TYPE_FACE, NULL, NULL, NULL); } +int hc_face_set_priority(hc_sock_t *s, const char *conn_id_or_name, + uint32_t priority) { + return -1; // Not implemented +#if 0 + hc_object_t object; + memset(&object, 0, sizeof(hc_object_t)); + return hc_execute(s, ACTION_UPDATE, OBJECT_TYPE_FACE, &object, NULL); +#endif +} + GENERATE_FIND(face); DECLARE_OBJECT_OPS(OBJECT_TYPE_FACE, face); |