Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
cfg_file.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-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 FACEMGR_CFG_FILE_H
22 #define FACEMGR_CFG_FILE_H
23 
24 #include <hicn/facemgr/cfg.h>
25 
31 int probe_cfgfile(char * f);
32 
40 int parse_config_file(const char * cfgpath, facemgr_cfg_t * cfg);
41 
42 #endif /* FACEMGR_CFG_FILE_H */
parse_config_file
int parse_config_file(const char *cfgpath, facemgr_cfg_t *cfg)
Parses the provided configuration file into the facemgr configuration data structure.
cfg.h
Face manager configuration.
probe_cfgfile
int probe_cfgfile(char *f)
Probe for the configuration file location.