Rajeswara Rao | f6b4e6c | 2017-08-31 17:26:27 +0530 | [diff] [blame] | 1 | /* |
| 2 | ** Copyright 2017-present Open Networking Foundation |
| 3 | ** |
| 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 |
| 7 | ** |
| 8 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ** |
| 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. |
| 15 | */ |
| 16 | |
| 17 | #include <stdio.h> |
| 18 | #include <bal_api.h> |
| 19 | |
| 20 | #undef _SYS_QUEUE_H_ |
| 21 | |
| 22 | /* Includes related to proto buf */ |
| 23 | #include "bal_msg_type.grpc-c.h" |
| 24 | #include "bal_osmsg.grpc-c.h" |
| 25 | #include "bal_model_ids.grpc-c.h" |
| 26 | #include "bal_obj.grpc-c.h" |
| 27 | #include "bal_model_types.grpc-c.h" |
| 28 | #include "bal_errno.grpc-c.h" |
| 29 | #include "bal_indications.grpc-c.h" |
| 30 | #include "bal.grpc-c.h" |
| 31 | |
| 32 | #include "asfvolt16_driver.h" |
| 33 | |
| 34 | #define BAL_GRPC_PRES 1 |
| 35 | |
| 36 | extern bcmos_errno bal_indication_cb(bcmbal_obj *obj); |
| 37 | extern bcmos_errno bal_acc_term_osc_indication_cb(bcmbal_obj *obj); |
| 38 | extern bcmos_errno bal_acc_term_indication_cb(bcmbal_obj *obj); |
| 39 | extern bcmos_errno bal_flow_osc_indication_cb(bcmbal_obj *obj); |
| 40 | extern bcmos_errno bal_flow_indication_cb(bcmbal_obj *obj); |
| 41 | extern bcmos_errno bal_group_indication_cb(bcmbal_obj *obj); |
| 42 | extern bcmos_errno bal_interface_osc_indication_cb(bcmbal_obj *obj); |
| 43 | extern bcmos_errno bal_interface_los_indication_cb(bcmbal_obj *obj); |
| 44 | extern bcmos_errno bal_interface_indication_cb(bcmbal_obj *obj); |
| 45 | extern bcmos_errno bal_sub_term_osc_indication_cb(bcmbal_obj *obj); |
| 46 | extern bcmos_errno bal_sub_term_disc_indication_cb(bcmbal_obj *obj); |
| 47 | extern bcmos_errno bal_sub_term_alarm_indication_cb(bcmbal_obj *obj); |
| 48 | extern bcmos_errno bal_sub_term_dgi_indication_cb(bcmbal_obj *obj); |
| 49 | extern bcmos_errno bal_sub_term_indication_cb(bcmbal_obj *obj); |
| 50 | extern bcmos_errno bal_tm_queue_indication_cb(bcmbal_obj *obj); |
| 51 | extern bcmos_errno bal_tm_sched_indication_cb(bcmbal_obj *obj); |
| 52 | extern bcmos_errno bal_packet_data_indication_cb(bcmbal_obj *obj); |
| 53 | extern bcmos_errno bal_omci_data_indication_cb(bcmbal_obj *obj); |
| 54 | extern bcmos_errno bal_oam_data_indication_cb(bcmbal_obj *obj); |
| 55 | void fill_bal_tm_red(BalTmred *grpc_red, bcmbal_tm_red *bal_red); |