| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef NETDATA_NETIPC_NETDATA_H |
| 4 | #define NETDATA_NETIPC_NETDATA_H 1 |
| 5 | |
| 6 | #include "libnetdata/libnetdata.h" |
| 7 | |
| 8 | #if defined(OS_LINUX) || defined(OS_WINDOWS) |
| 9 | #include "netipc/netipc_service.h" |
| 10 | #include "netipc/netipc_protocol.h" |
| 11 | |
| 12 | // derive a netipc auth token from the current NETDATA_INVOCATION_ID |
| 13 | uint64_t netipc_auth_token(void); |
| 14 | |
| 15 | #endif // OS_LINUX || OS_WINDOWS |
| 16 | |
| 17 | #endif // NETDATA_NETIPC_NETDATA_H |