Shadow Network Framework  0.0.1-alpha
C Server Library for Shadow Network Framework
Loading...
Searching...
No Matches
SNF.h
Go to the documentation of this file.
1//////////////////////////////////////////////////////////////
2///
3/// \file SNF/SNF.h
4/// This file includes necessary Checks and includes the
5/// the nesessary libraries of the library
6///
7/// //////////////////////////////////////////////////////////
8#ifndef SNF_H
9#define SNF_H
10
11#define _GNU_SOURCE
12
13#pragma region[Standard]
14#include <errno.h>
15#include <fcntl.h>
16#include <netdb.h>
17#include <unistd.h>
18#include <semaphore.h>
19#include <stdio.h>
20#include <stdlib.h>
21#include <stdint.h>
22#include <string.h>
23#include <netinet/in.h>
24#include <sys/epoll.h>
25#include <sys/socket.h>
26#include <sys/types.h>
27#pragma endregion
28
29#if __STDC_VERSION__ < 201112L
30#error Use C 11 or later !
31#else
32#if __STDC_NO_ATOMICS__ == 1
33#error Atomics not Supported, Abort.
34#endif
35#endif
36
37#pragma region[Non-Standard]
38#include <uuid/uuid.h>
39#include <pthread.h>
40#include <math.h>
41#pragma endregion
42
43#endif