aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/objects/face.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-22 13:47:55 +0000
committerGerrit Code Review <gerrit@fd.io>2022-09-22 13:47:55 +0000
commitb498b1d3fe2684e0233986551fa581a07148e22b (patch)
tree0cc5203e8be42408d9910166f479256d48523436 /ctrl/libhicnctrl/src/objects/face.c
parent356530fa42140a9f0ad43269125fd96ad1ced594 (diff)
parentbd26d18978861b24c5707dbaa24dac76133425e2 (diff)
Merge "fix(libhicnctrl): fix new listener validation during face or connection creation"
Diffstat (limited to 'ctrl/libhicnctrl/src/objects/face.c')
-rw-r--r--ctrl/libhicnctrl/src/objects/face.c10
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);