Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
hicn_plugin.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
21 #ifndef __HICN_PLUGIN_H__
22 #define __HICN_PLUGIN_H__
23 
24 #include "hicn_vpp_comm.h"
25 
26 
35 int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx);
36 
44 void sr_plugin_cleanup_cb(sr_session_ctx_t *session, void *private_ctx);
45 
46 #endif //__HICN_PLUGIN_H__
sr_plugin_cleanup_cb
void sr_plugin_cleanup_cb(sr_session_ctx_t *session, void *private_ctx)
cleanup function for sysrepo, In this function we connect to vpp from one side and and unsubscribe fo...
sr_plugin_init_cb
int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx)
initialize function for sysrepo plugin, In this function we connect to vpp from one side and subscrib...
hicn_vpp_comm.h
This file contains binary api to connect to the VPP.