Nicolas Palpacuer | 73222e0 | 2018-07-16 12:20:26 -0400 | [diff] [blame] | 1 | #ifndef OPENOLT_ERROR_FORMAT_H_ |
2 | #define OPENOLT_ERROR_FORMAT_H_ | ||||
3 | |||||
4 | #include <string> | ||||
5 | #include <grpc++/grpc++.h> | ||||
6 | |||||
7 | extern "C" | ||||
8 | { | ||||
9 | #include <bcmos_system.h> | ||||
10 | #include <bal_api.h> | ||||
11 | #include <bal_api_end.h> | ||||
12 | } | ||||
13 | |||||
14 | grpc::Status bcm_to_grpc_err(bcmos_errno bcm_err, std::string message); | ||||
15 | |||||
16 | |||||
17 | #endif |