blob: 86227762a162c756065d89ccedff5cb18fd1e074 [file] [log] [blame]
Rajeswara Raof6b4e6c2017-08-31 17:26:27 +05301/*
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
36extern bcmos_errno bal_indication_cb(bcmbal_obj *obj);
37extern bcmos_errno bal_acc_term_osc_indication_cb(bcmbal_obj *obj);
38extern bcmos_errno bal_acc_term_indication_cb(bcmbal_obj *obj);
39extern bcmos_errno bal_flow_osc_indication_cb(bcmbal_obj *obj);
40extern bcmos_errno bal_flow_indication_cb(bcmbal_obj *obj);
41extern bcmos_errno bal_group_indication_cb(bcmbal_obj *obj);
42extern bcmos_errno bal_interface_osc_indication_cb(bcmbal_obj *obj);
43extern bcmos_errno bal_interface_los_indication_cb(bcmbal_obj *obj);
44extern bcmos_errno bal_interface_indication_cb(bcmbal_obj *obj);
45extern bcmos_errno bal_sub_term_osc_indication_cb(bcmbal_obj *obj);
46extern bcmos_errno bal_sub_term_disc_indication_cb(bcmbal_obj *obj);
47extern bcmos_errno bal_sub_term_alarm_indication_cb(bcmbal_obj *obj);
48extern bcmos_errno bal_sub_term_dgi_indication_cb(bcmbal_obj *obj);
49extern bcmos_errno bal_sub_term_indication_cb(bcmbal_obj *obj);
50extern bcmos_errno bal_tm_queue_indication_cb(bcmbal_obj *obj);
51extern bcmos_errno bal_tm_sched_indication_cb(bcmbal_obj *obj);
52extern bcmos_errno bal_packet_data_indication_cb(bcmbal_obj *obj);
53extern bcmos_errno bal_omci_data_indication_cb(bcmbal_obj *obj);
54extern bcmos_errno bal_oam_data_indication_cb(bcmbal_obj *obj);
55void fill_bal_tm_red(BalTmred *grpc_red, bcmbal_tm_red *bal_red);