Dave Barach | 371e4e1 | 2016-07-08 09:38:52 -0400 | [diff] [blame] | 1 | /* |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 2 | *------------------------------------------------------------------ |
| 3 | * vl_msg_enum.h - Our view of how to number API messages |
| 4 | * Clients have their own view, which has to agree with ours. |
| 5 | * |
| 6 | * Copyright (c) 2009 Cisco and/or its affiliates. |
| 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at: |
| 10 | * |
| 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | * |
| 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
| 17 | * limitations under the License. |
| 18 | *------------------------------------------------------------------ |
| 19 | */ |
| 20 | |
| 21 | #ifndef __VL_MSG_ENUM_H__ |
| 22 | #define __VL_MSG_ENUM_H__ |
| 23 | |
| 24 | #include <vppinfra/byte_order.h> |
| 25 | |
| 26 | #define vl_msg_id(n,h) n, |
Dave Barach | 371e4e1 | 2016-07-08 09:38:52 -0400 | [diff] [blame] | 27 | typedef enum |
| 28 | { |
| 29 | VL_ILLEGAL_MESSAGE_ID = 0, |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 30 | #include <vlibsocket/vl_socket_api_h.h> |
| 31 | } vl_msg_id_t; |
| 32 | #undef vl_msg_id |
| 33 | |
| 34 | #endif /* __VL_MSG_ENUM_H__ */ |
Dave Barach | 371e4e1 | 2016-07-08 09:38:52 -0400 | [diff] [blame] | 35 | |
| 36 | /* |
| 37 | * fd.io coding-style-patch-verification: ON |
| 38 | * |
| 39 | * Local Variables: |
| 40 | * eval: (c-set-style "gnu") |
| 41 | * End: |
| 42 | */ |