]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*- |
2 | * BSD LICENSE | |
3 | * | |
11fdf7f2 | 4 | * Copyright (c) Intel Corporation. |
7c673cae FG |
5 | * All rights reserved. |
6 | * | |
7 | * Redistribution and use in source and binary forms, with or without | |
8 | * modification, are permitted provided that the following conditions | |
9 | * are met: | |
10 | * | |
11 | * * Redistributions of source code must retain the above copyright | |
12 | * notice, this list of conditions and the following disclaimer. | |
13 | * * 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 | * * Neither the name of Intel Corporation nor the names of its | |
18 | * contributors may be used to endorse or promote products derived | |
19 | * from this software without specific prior written permission. | |
20 | * | |
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
32 | */ | |
33 | ||
11fdf7f2 TL |
34 | /** \file |
35 | * Standard C headers | |
7c673cae | 36 | * |
11fdf7f2 | 37 | * This file is intended to be included first by all other SPDK files. |
7c673cae FG |
38 | */ |
39 | ||
11fdf7f2 TL |
40 | #ifndef SPDK_STDINC_H |
41 | #define SPDK_STDINC_H | |
42 | ||
43 | #ifdef __cplusplus | |
44 | extern "C" { | |
45 | #endif | |
46 | ||
47 | /* Standard C */ | |
48 | #include <assert.h> | |
7c673cae | 49 | #include <ctype.h> |
7c673cae | 50 | #include <errno.h> |
11fdf7f2 TL |
51 | #include <inttypes.h> |
52 | #include <limits.h> | |
7c673cae | 53 | #include <stdarg.h> |
11fdf7f2 TL |
54 | #include <stdbool.h> |
55 | #include <stddef.h> | |
56 | #include <stdint.h> | |
57 | #include <stdio.h> | |
7c673cae | 58 | #include <stdlib.h> |
11fdf7f2 TL |
59 | #include <string.h> |
60 | #include <time.h> | |
7c673cae | 61 | |
11fdf7f2 TL |
62 | /* POSIX */ |
63 | #include <arpa/inet.h> | |
64 | #include <dirent.h> | |
65 | #include <fcntl.h> | |
66 | #include <ifaddrs.h> | |
67 | #include <netdb.h> | |
68 | #include <poll.h> | |
69 | #include <pthread.h> | |
70 | #include <semaphore.h> | |
71 | #include <signal.h> | |
72 | #include <syslog.h> | |
73 | #include <termios.h> | |
74 | #include <unistd.h> | |
75 | #include <net/if.h> | |
76 | #include <netinet/in.h> | |
77 | #include <netinet/tcp.h> | |
78 | #include <sys/ioctl.h> | |
79 | #include <sys/mman.h> | |
80 | #include <sys/resource.h> | |
81 | #include <sys/types.h> | |
82 | #include <sys/socket.h> | |
83 | #include <sys/stat.h> | |
84 | #include <sys/uio.h> | |
85 | #include <sys/un.h> | |
86 | #include <sys/user.h> | |
87 | #include <sys/wait.h> | |
9f95a23c | 88 | #include <regex.h> |
7c673cae | 89 | |
11fdf7f2 TL |
90 | /* GNU extension */ |
91 | #include <getopt.h> | |
7c673cae | 92 | |
11fdf7f2 TL |
93 | #ifdef __cplusplus |
94 | } | |
95 | #endif | |
7c673cae | 96 | |
11fdf7f2 | 97 | #endif /* SPDK_STDINC_H */ |