diff options
author | Ole Troan <ot@cisco.com> | 2019-10-02 17:09:01 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-10-03 12:36:47 +0000 |
commit | 2e7a43ca453c677c00d371ea5dfdba71267ab185 (patch) | |
tree | f00a18d7b9a8d85af128d76fc7f7829174524e0e /src/plugins/nsim/nsim_msg_enum.h | |
parent | 025166dc79a6931ea24384b2f27c6c11081d06c9 (diff) |
nsim: remove api boilerplate
Type: refactor
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Idf2206ae3e3d8dd05e98528ee1f02c4c7d567f37
Diffstat (limited to 'src/plugins/nsim/nsim_msg_enum.h')
-rw-r--r-- | src/plugins/nsim/nsim_msg_enum.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/plugins/nsim/nsim_msg_enum.h b/src/plugins/nsim/nsim_msg_enum.h deleted file mode 100644 index 116146f5d13..00000000000 --- a/src/plugins/nsim/nsim_msg_enum.h +++ /dev/null @@ -1,31 +0,0 @@ - -/* - * nsim_msg_enum.h - skeleton vpp engine plug-in message enumeration - * - * Copyright (c) <current-year> <your-organization> - * 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_nsim_msg_enum_h -#define included_nsim_msg_enum_h - -#include <vppinfra/byte_order.h> - -#define vl_msg_id(n,h) n, -typedef enum { -#include <nsim/nsim_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_nsim_msg_enum_h */ |