aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/src/facelet_array.c
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2019-11-12 13:19:55 +0000
committerGerrit Code Review <gerrit@fd.io>2019-11-12 13:19:55 +0000
commit4f57ca72e8131e5cfb023b26417b924e774d5e73 (patch)
treea4ece77466921823c69dbfed4933d4659437f8b8 /ctrl/facemgr/src/facelet_array.c
parent48fe930311724be0c0bc3bcc498d911a05e01134 (diff)
parent955e71001bd6d360805d2b33a9e6b9d6fd17397f (diff)
Merge "[HICN-376] Add manual connection/route setting to face manager"
Diffstat (limited to 'ctrl/facemgr/src/facelet_array.c')
-rw-r--r--ctrl/facemgr/src/facelet_array.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/ctrl/facemgr/src/facelet_array.c b/ctrl/facemgr/src/facelet_array.c
new file mode 100644
index 000000000..4d7f30862
--- /dev/null
+++ b/ctrl/facemgr/src/facelet_array.c
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2017-2019 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * \file facelet_array.c
+ * \brief Implementation of facelet array
+ */
+
+#include <hicn/facemgr/facelet.h>
+#include "facelet_array.h"
+#include "util/array.h"
+
+TYPEDEF_ARRAY(facelet_array, facelet_t *, facelet_equals, facelet_snprintf);
+