aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_msg_enum.h
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-27 09:20:37 +0200
committerNeale Ranns <nranns@cisco.com>2019-09-27 09:05:39 +0000
commit5c71a2e5a6cb7c70439f25aee1673baefb7c3fca (patch)
tree726855273730289df2294d2be7a2bc9430e995a0 /src/plugins/gbp/gbp_msg_enum.h
parentb922f16ba532d09f920776a04117e41f173dec8e (diff)
gbp: remove api boilerplate
Type: refactor Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I2995413619f5fbe77bbe2df9f5d37db8cc596b73
Diffstat (limited to 'src/plugins/gbp/gbp_msg_enum.h')
-rw-r--r--src/plugins/gbp/gbp_msg_enum.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/plugins/gbp/gbp_msg_enum.h b/src/plugins/gbp/gbp_msg_enum.h
deleted file mode 100644
index c6f34f92005..00000000000
--- a/src/plugins/gbp/gbp_msg_enum.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2018 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_gbp_msg_enum_h
-#define included_gbp_msg_enum_h
-
-#include <vppinfra/byte_order.h>
-
-#define vl_msg_id(n,h) n,
-typedef enum {
-#include <gbp/gbp_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