blob: 9b9aa080fef0631978e5e6fafac097f21dbbb332 [file] [log] [blame]
Radek Krejcid0d19522015-09-02 13:49:25 +02001/**
2 * \file libnetconf.h
3 * \author Radek Krejci <rkrejci@cesnet.cz>
4 * \brief libnetconf2 main internal header.
5 *
6 * Copyright (c) 2015 CESNET, z.s.p.o.
7 *
Radek Krejci9b81f5b2016-02-24 13:14:49 +01008 * This source code is licensed under BSD 3-Clause License (the "License").
9 * You may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * https://opensource.org/licenses/BSD-3-Clause
Radek Krejcid0d19522015-09-02 13:49:25 +020013 */
14
15#ifndef NC_LIBNETCONF_H_
16#define NC_LIBNETCONF_H_
17
18#include "config.h"
Radek Krejci206fcd62015-10-07 15:42:48 +020019#include "netconf.h"
Radek Krejcid0d19522015-09-02 13:49:25 +020020#include "log_p.h"
Radek Krejciac6d3472015-10-22 15:47:18 +020021#include "session_p.h"
22#include "messages_p.h"
Radek Krejciac6d3472015-10-22 15:47:18 +020023
24/* Tests whether string is empty or non-empty. */
25#define strisempty(str) ((str)[0] == '\0')
26#define strnonempty(str) ((str)[0] != '\0')
Radek Krejcid0d19522015-09-02 13:49:25 +020027
Radek Krejcid0d19522015-09-02 13:49:25 +020028#endif /* NC_LIBNETCONF_H_ */