blob: 5c08e71eb2e0a7b1cf27b238a58b72a3c08ac162 [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 *
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
23#ifndef NC_LIBNETCONF_H_
24#define NC_LIBNETCONF_H_
25
26#include "config.h"
Radek Krejci206fcd62015-10-07 15:42:48 +020027#include "netconf.h"
Radek Krejcid0d19522015-09-02 13:49:25 +020028#include "log_p.h"
Radek Krejciac6d3472015-10-22 15:47:18 +020029#include "session_p.h"
30#include "messages_p.h"
31#include "datastore_p.h"
32
33/* Tests whether string is empty or non-empty. */
34#define strisempty(str) ((str)[0] == '\0')
35#define strnonempty(str) ((str)[0] != '\0')
Radek Krejcid0d19522015-09-02 13:49:25 +020036
Radek Krejcid0d19522015-09-02 13:49:25 +020037#endif /* NC_LIBNETCONF_H_ */