blob: 0a7c953eeb49eacc5171b61815f5aedcfdcaaf2d [file] [log] [blame]
Shad Ansari01b0e652018-04-05 21:02:53 +00001/*
Girish Gowdraa707e7c2019-11-07 11:36:13 +05302 * Copyright 2018-present Open Networking Foundation
Shad Ansari01b0e652018-04-05 21:02:53 +00003
Girish Gowdraa707e7c2019-11-07 11:36:13 +05304 * 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
Shad Ansari01b0e652018-04-05 21:02:53 +00007
Girish Gowdraa707e7c2019-11-07 11:36:13 +05308 * http://www.apache.org/licenses/LICENSE-2.0
Shad Ansari01b0e652018-04-05 21:02:53 +00009
Girish Gowdraa707e7c2019-11-07 11:36:13 +053010 * 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 */
Shad Ansarib7b0ced2018-05-11 21:53:32 +000016#ifndef OPENOLT_INDICATIONS_H_
17#define OPENOLT_INDICATIONS_H_
18
Shad Ansari01b0e652018-04-05 21:02:53 +000019#include <grpc++/grpc++.h>
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000020#include <voltha_protos/openolt.grpc.pb.h>
Shad Ansari01b0e652018-04-05 21:02:53 +000021#include "Queue.h"
22
Nicolas Palpacuer967438f2018-09-07 14:41:54 -040023extern "C" {
24 #include <bcm_dev_log_task.h>
25}
26
Shad Ansari01b0e652018-04-05 21:02:53 +000027extern Queue<openolt::Indication> oltIndQ;
28extern grpc::Status SubscribeIndication();
Nicolas Palpacuer967438f2018-09-07 14:41:54 -040029extern dev_log_id openolt_log_id;
30extern dev_log_id omci_log_id;
Girish Gowdruc8ed2ef2019-02-13 08:18:44 -080031extern uint32_t nni_intf_id;
Shad Ansari01b0e652018-04-05 21:02:53 +000032
33#endif