aboutsummaryrefslogtreecommitdiff
path: root/src/core/nng_impl.h
blob: 5b4734345882f7308f3c9ed877bbc21d583af420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright 2016 Garrett D'Amore <garrett@damore.org>
 *
 * This software is supplied under the terms of the MIT License, a
 * copy of which should be located in the distribution where this
 * file was obtained (LICENSE.txt).  A copy of the license may also be
 * found online at https://opensource.org/licenses/MIT.
 */

#ifndef CORE_NNG_IMPL_H
#define CORE_NNG_IMPL_H

#include "nng.h"

/*
 * Internal implementation things for NNG, common definitions, etc.
 * All internal modules wind up including this file to avoid having
 * to figure out which header(s) to include.
 *
 * Hopefully it should be clear by the name that this file and its contents
 * are *NOT* for use outside of this library.
 *
 * Symbols that are private to the library begin with the nni_ prefix, whereas
 * those starting with nng_ are intended for external consumption.  The latter
 * symbols should be found in the toplevel nng.h header.
 */

#include "core/defs.h"
#include "core/list.h"
#include "core/init.h"
#include "core/message.h"
#include "core/msgqueue.h"
#include "core/panic.h"
#include "core/snprintf.h"
#include "core/platform.h"
#include "core/protocol.h"
#include "core/transport.h"

/* These have to come after the others - particularly transport.h */
#include "core/pipe.h"
#include "core/socket.h"
#include "core/endpt.h"

#endif  /* CORE_NNG_IMPL_H */