2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Copyright (c) 2019 Vinci Consulting Corp. All Rights Reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
23 /* since we can't guarantee that only fixed length args will follow the typedef,
24 string type not supported for typedef for now. */
25 u8 pre_release[17]; /* 16 + "\0" */
26 u8 build_metadata[17]; /* 16 + "\0" */
29 typedef f64 timestamp;
30 typedef f64 timedelta;
33 VPE_API_LOG_LEVEL_EMERG = 0, /* emerg */
34 VPE_API_LOG_LEVEL_ALERT = 1, /* alert */
35 VPE_API_LOG_LEVEL_CRIT = 2, /* crit */
36 VPE_API_LOG_LEVEL_ERR = 3, /* err */
37 VPE_API_LOG_LEVEL_WARNING = 4, /* warn */
38 VPE_API_LOG_LEVEL_NOTICE = 5, /* notice */
39 VPE_API_LOG_LEVEL_INFO = 6, /* info */
40 VPE_API_LOG_LEVEL_DEBUG = 7, /* debug */
41 VPE_API_LOG_LEVEL_DISABLED = 8, /* disabled */