ROFL-hal  v0.6.0dev
hal.h
Go to the documentation of this file.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef HAL_H
6 #define HAL_H
7 
16 #include <stdlib.h>
17 #include <rofl.h>
18 #include <rofl/datapath/pipeline/switch_port.h>
19 #include <rofl/datapath/pipeline/openflow/of_switch.h>
20 
21 #include "hal_utils.h"
22 
26 typedef enum hal_result {
27  HAL_SUCCESS = ROFL_SUCCESS,
28  HAL_FAILURE = ROFL_FAILURE,
29 
30  //Extra codes
31  HAL_FM_OVERLAP_FAILURE
33 
34 #endif /* HAL_H */
hal_result
HAL return values.
Definition: hal.h:26
enum hal_result hal_result_t
HAL return values.