summaryrefslogtreecommitdiffstats
path: root/src/plugins/cdp/cdp_msg_enum.h
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-25 18:24:42 +0200
committerNeale Ranns <nranns@cisco.com>2019-09-27 11:49:11 +0000
commit1bc96680c45237e6ed519e4be36738139a94af2d (patch)
tree86595f5594ff0cb962d3a5c135ec4fed62b28451 /src/plugins/cdp/cdp_msg_enum.h
parent74af6f081f2360eca7578f04c8ecff617e911b53 (diff)
cdp: remove api boilerplate
Type: refactor Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I3b4bbbf2574faf8d06546eb72f127fa47479e988 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/cdp/cdp_msg_enum.h')
-rw-r--r--src/plugins/cdp/cdp_msg_enum.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/plugins/cdp/cdp_msg_enum.h b/src/plugins/cdp/cdp_msg_enum.h
deleted file mode 100644
index 0a7bf063b67..00000000000
--- a/src/plugins/cdp/cdp_msg_enum.h
+++ /dev/null
@@ -1,31 +0,0 @@
-
-/*
- * cdp_msg_enum.h - cdp plug-in message enumeration
- *
- * Copyright (c) 2011-2018 by 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.
- */
-#ifndef included_cdp_msg_enum_h
-#define included_cdp_msg_enum_h
-
-#include <vppinfra/byte_order.h>
-
-#define vl_msg_id(n,h) n,
-typedef enum {
-#include <cdp/cdp_all_api_h.h>
- /* We'll want to know how many messages IDs we need... */
- VL_MSG_FIRST_AVAILABLE,
-} vl_msg_id_t;
-#undef vl_msg_id
-
-#endif /* included_cdp_msg_enum_h */