blob: 0954af01f8d57691421887c8c097e7091f596819 [file] [log] [blame]
Radek Krejci5da708a2015-09-01 17:33:23 +02001/**
Michal Vasko086311b2016-01-08 09:53:11 +01002 * \file config.h
Radek Krejci5da708a2015-09-01 17:33:23 +02003 * \author Radek Krejci <rkrejci@cesnet.cz>
Michal Vasko086311b2016-01-08 09:53:11 +01004 * \brief libnetconf2 various configuration settings.
Radek Krejci5da708a2015-09-01 17:33:23 +02005 *
6 * Copyright (c) 2015 CESNET, z.s.p.o.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in
15 * the documentation and/or other materials provided with the
16 * distribution.
17 * 3. Neither the name of the Company nor the names of its contributors
18 * may be used to endorse or promote products derived from this
19 * software without specific prior written permission.
20 *
21 */
22
Michal Vasko086311b2016-01-08 09:53:11 +010023#ifndef NC_CONFIG_H_
24#define NC_CONFIG_H_
Radek Krejci5da708a2015-09-01 17:33:23 +020025
Michal Vasko086311b2016-01-08 09:53:11 +010026/*
27 * Mark all objects as hidden and export only objects explicitly marked to be part of the public API.
28 */
29#define API __attribute__((visibility("default")))
Radek Krejci5da708a2015-09-01 17:33:23 +020030
Michal Vasko086311b2016-01-08 09:53:11 +010031/*
32 * Location of installed basic YIN/YANG schemas
33 */
34#define SCHEMAS_DIR "/usr/local/share/libnetconf2/"
35
36#endif /* NC_CONFIG_H_ */