config-freertos.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. #ifndef CURL_CONFIG_FREERTOS_H
  2. #define CURL_CONFIG_FREERTOS_H
  3. /***************************************************************************
  4. * _ _ ____ _
  5. * Project ___| | | | _ \| |
  6. * / __| | | | |_) | |
  7. * | (__| |_| | _ <| |___
  8. * \___|\___/|_| \_\_____|
  9. *
  10. * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  11. *
  12. * This program is free software: you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License as published by
  14. * the Free Software Foundation, either version 3 of the License, or
  15. * (at your option) any later version.
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU General Public License
  23. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  24. *
  25. * SPDX-License-Identifier: GPL-3.0-or-later
  26. *
  27. ***************************************************************************/
  28. /* to disable cookies support */
  29. #define CURL_DISABLE_COOKIES 1
  30. /* disable HTTP authentication */
  31. #define CURL_DISABLE_HTTP_AUTH 1
  32. /* disable DoH */
  33. #define CURL_DISABLE_DOH 1
  34. /* disable mime API */
  35. #define CURL_DISABLE_MIME 1
  36. /* disable date parsing */
  37. #define CURL_DISABLE_PARSEDATE 1
  38. /* disable netrc parsing */
  39. #define CURL_DISABLE_NETRC 1
  40. /* disable DNS shuffling */
  41. #define CURL_DISABLE_SHUFFLE_DNS 1
  42. /* disable progress-meter */
  43. #define CURL_DISABLE_PROGRESS_METER 1
  44. /* to disable cryptographic authentication */
  45. #define CURL_DISABLE_CRYPTO_AUTH 1
  46. /* to disable DICT */
  47. #define CURL_DISABLE_DICT 1
  48. /* to disable FILE */
  49. #define CURL_DISABLE_FILE 1
  50. /* to disable FTP */
  51. #define CURL_DISABLE_FTP 1
  52. /* to disable Gopher */
  53. #define CURL_DISABLE_GOPHER 1
  54. /* to disable IMAP */
  55. #define CURL_DISABLE_IMAP 1
  56. /* to disable LDAP */
  57. #define CURL_DISABLE_LDAP 1
  58. /* to disable LDAPS */
  59. #define CURL_DISABLE_LDAPS 1
  60. /* to disable POP3 */
  61. #define CURL_DISABLE_POP3 1
  62. /* to disable proxies */
  63. #define CURL_DISABLE_PROXY 1
  64. /* to disable RTSP */
  65. #define CURL_DISABLE_RTSP 1
  66. /* to disable SMB/CIFS */
  67. #define CURL_DISABLE_SMB 1
  68. /* to disable SMTP */
  69. #define CURL_DISABLE_SMTP 1
  70. /* to disable TELNET */
  71. #define CURL_DISABLE_TELNET 1
  72. /* to disable TFTP */
  73. #define CURL_DISABLE_TFTP 1
  74. /* to disable verbose strings */
  75. #define CURL_DISABLE_VERBOSE_STRINGS 1
  76. /* Definition to make a library symbol externally visible. */
  77. #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
  78. /* IP address type in sockaddr */
  79. #define CURL_SA_FAMILY_T uint8_t
  80. /* lack of non-blocking support */
  81. #define USE_BLOCKING_SOCKETS 1
  82. /* Define to the type of arg 2 for gethostname. */
  83. #define GETHOSTNAME_TYPE_ARG2 size_t
  84. /* Specifies the number of arguments to getservbyport_r */
  85. #define GETSERVBYPORT_R_ARGS 6
  86. /* Specifies the size of the buffer to pass to getservbyport_r */
  87. #define GETSERVBYPORT_R_BUFSIZE 4096
  88. /* Define to 1 if you have the <alloca.h> header file. */
  89. #define HAVE_ALLOCA_H 1
  90. /* Define to 1 if you have the <arpa/inet.h> header file. */
  91. /* Define to 1 if you have the <arpa/tftp.h> header file. */
  92. /* Define to 1 if you have the <assert.h> header file. */
  93. #define HAVE_ASSERT_H 1
  94. /* Define to 1 if you have the basename function. */
  95. #define HAVE_BASENAME 1
  96. /* Define to 1 if bool is an available type. */
  97. #define HAVE_BOOL_T 1
  98. /* Define to 1 if you have the connect function. */
  99. #define HAVE_CONNECT 1
  100. /* Define to 1 if you have the <cyassl/error-ssl.h> header file. */
  101. #define HAVE_CYASSL_ERROR_SSL_H 1
  102. /* Define to 1 if you have the <cyassl/options.h> header file. */
  103. #define HAVE_CYASSL_OPTIONS_H 1
  104. /* Define to 1 if you have the declaration of `getpwuid_r', and to 0 if you
  105. don't. */
  106. #define HAVE_DECL_GETPWUID_R 1
  107. /* Define to 1 if you have the <errno.h> header file. */
  108. #define HAVE_ERRNO_H 1
  109. /* Define to 1 if you have the gethostbyname function. */
  110. #define HAVE_GETHOSTBYNAME 1
  111. /* Define to 1 if you have the <inttypes.h> header file. */
  112. #define HAVE_INTTYPES_H 1
  113. /* Define to 1 if you have the <linux/tcp.h> header file. */
  114. /* if your compiler supports LL */
  115. #define HAVE_LL 1
  116. /* Define to 1 if the compiler supports the 'long long' data type. */
  117. #define HAVE_LONGLONG 1
  118. /* Define to 1 if you have the malloc.h header file. */
  119. #define HAVE_MALLOC_H 1
  120. /* Define to 1 if you have the memory.h header file. */
  121. #define HAVE_MEMORY_H 1
  122. /* Define to 1 if you have the <netdb.h> header file. */
  123. /* Define to 1 if you have the <netinet/in.h> header file. */
  124. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  125. /* Define to 1 if you have the <net/if.h> header file. */
  126. /* Define to 1 if you have the recv function. */
  127. #define HAVE_RECV 1
  128. /* Define to 1 if you have the select function. */
  129. #define HAVE_SELECT 1
  130. /* Define to 1 if you have the send function. */
  131. #define HAVE_SEND 1
  132. /* Define to 1 if you have the <setjmp.h> header file. */
  133. #define HAVE_SETJMP_H 1
  134. /* Define to 1 if you have the setsockopt function. */
  135. #define HAVE_SETSOCKOPT 1
  136. /* Define to 1 if you have the socket function. */
  137. #define HAVE_SOCKET 1
  138. /* Define to 1 if you have the <stdbool.h> header file. */
  139. #define HAVE_STDBOOL_H 1
  140. /* Define to 1 if you have the <stdint.h> header file. */
  141. #define HAVE_STDINT_H 1
  142. /* Define to 1 if you have the <stdio.h> header file. */
  143. #define HAVE_STDIO_H 1
  144. /* Define to 1 if you have the <stdlib.h> header file. */
  145. #define HAVE_STDLIB_H 1
  146. /* Define to 1 if you have the strcasecmp function. */
  147. #define HAVE_STRCASECMP 1
  148. /* Define to 1 if you have the strdup function. */
  149. #define HAVE_STRDUP 1
  150. /* Define to 1 if you have the <strings.h> header file. */
  151. #define HAVE_STRINGS_H 1
  152. /* Define to 1 if you have the <string.h> header file. */
  153. #define HAVE_STRING_H 1
  154. /* Define to 1 if you have the strncasecmp function. */
  155. #define HAVE_STRNCASECMP 1
  156. /* Define to 1 if you have the <stropts.h> header file. */
  157. /* Define to 1 if you have the strstr function. */
  158. #define HAVE_STRSTR 1
  159. /* Define to 1 if you have the strtok_r function. */
  160. #define HAVE_STRTOK_R 1
  161. /* Define to 1 if you have the strtoll function. */
  162. #define HAVE_STRTOLL 1
  163. /* if struct sockaddr_storage is defined */
  164. #define HAVE_STRUCT_SOCKADDR_STORAGE 1
  165. /* Define to 1 if you have the timeval struct. */
  166. #define HAVE_STRUCT_TIMEVAL 1
  167. /* Define to 1 if you have the <sys/resource.h> header file. */
  168. #define HAVE_SYS_RESOURCE_H 1
  169. /* Define to 1 if you have the <sys/stat.h> header file. */
  170. #define HAVE_SYS_STAT_H 1
  171. /* Define to 1 if you have the <sys/types.h> header file. */
  172. #define HAVE_SYS_TYPES_H 1
  173. /* Define to 1 if you have the <sys/uio.h> header file. */
  174. #define HAVE_SYS_UIO_H 1
  175. /* Define to 1 if you have the <sys/un.h> header file. */
  176. /* Define to 1 if you have the <sys/wait.h> header file. */
  177. #define HAVE_SYS_WAIT_H 1
  178. /* Define to 1 if you have the <sys/xattr.h> header file. */
  179. #define HAVE_SYS_XATTR_H 1
  180. /* Define to 1 if you have the <termios.h> header file. */
  181. #define HAVE_TERMIOS_H 1
  182. /* Define to 1 if you have the <termio.h> header file. */
  183. #define HAVE_TERMIO_H 1
  184. /* Define to 1 if you have the <time.h> header file. */
  185. #define HAVE_TIME_H 1
  186. /* Define to 1 if you have the `utime' function. */
  187. #define HAVE_UTIME 1
  188. /* Define to 1 if you have the `utimes' function. */
  189. #define HAVE_UTIMES 1
  190. /* Define to 1 if you have the <utime.h> header file. */
  191. #define HAVE_UTIME_H 1
  192. /* Define to 1 if compiler supports C99 variadic macro style. */
  193. #define HAVE_VARIADIC_MACROS_C99 1
  194. /* Define to 1 if compiler supports old gcc variadic macro style. */
  195. #define HAVE_VARIADIC_MACROS_GCC 1
  196. /* Define to 1 if you have the `wolfSSL_CTX_UseSupportedCurve' function. */
  197. #define HAVE_WOLFSSL_CTX_USESUPPORTEDCURVE 1
  198. /* Define to 1 if you have the `wolfSSL_get_peer_certificate' function. */
  199. #define HAVE_WOLFSSL_GET_PEER_CERTIFICATE 1
  200. /* Define to 1 if you have the writev function. */
  201. #define HAVE_WRITEV 1
  202. /* cpu-machine-OS */
  203. #define OS "x86_64-freertos"
  204. /* Define to the type of arg 1 for recv. */
  205. #define RECV_TYPE_ARG1 Socket_t
  206. /* Define to the type of arg 2 for recv. */
  207. #define RECV_TYPE_ARG2 void *
  208. /* Define to the type of arg 3 for recv. */
  209. #define RECV_TYPE_ARG3 size_t
  210. /* Define to the type of arg 4 for recv. */
  211. #define RECV_TYPE_ARG4 long
  212. /* Define to the function return type for recv. */
  213. #define RECV_TYPE_RETV long
  214. /* Define as the return type of signal handlers (`int' or `void'). */
  215. #define RETSIGTYPE void
  216. /* Define to the type qualifier of arg 5 for select. */
  217. #define SELECT_QUAL_ARG5
  218. /* Define to the type of arg 1 for select. */
  219. #define SELECT_TYPE_ARG1 int
  220. /* Define to the type of args 2, 3 and 4 for select. */
  221. #define SELECT_TYPE_ARG234 fd_set *
  222. /* Define to the type of arg 5 for select. */
  223. #define SELECT_TYPE_ARG5 struct timeval *
  224. /* Define to the function return type for select. */
  225. #define SELECT_TYPE_RETV int
  226. /* Define to the type qualifier of arg 2 for send. */
  227. #define SEND_QUAL_ARG2 const
  228. /* Define to the type of arg 1 for send. */
  229. #define SEND_TYPE_ARG1 int
  230. /* Define to the type of arg 2 for send. */
  231. #define SEND_TYPE_ARG2 void *
  232. /* Define to the type of arg 3 for send. */
  233. #define SEND_TYPE_ARG3 size_t
  234. /* Define to the type of arg 4 for send. */
  235. #define SEND_TYPE_ARG4 int
  236. /* Define to the function return type for send. */
  237. #define SEND_TYPE_RETV ssize_t
  238. #define ssize_t int
  239. /* The number of bytes in type curl_off_t */
  240. #define SIZEOF_CURL_OFF_T 8
  241. /* The number of bytes in type int */
  242. #define SIZEOF_INT 4
  243. /* The number of bytes in type long */
  244. #define SIZEOF_LONG 4
  245. /* The number of bytes in type long long */
  246. #define SIZEOF_LONG_LONG 8
  247. /* The number of bytes in type off_t */
  248. #define SIZEOF_OFF_T 8
  249. /* The number of bytes in type short */
  250. #define SIZEOF_SHORT 2
  251. /* The number of bytes in type size_t */
  252. #define SIZEOF_SIZE_T 8
  253. /* The number of bytes in type time_t */
  254. #define SIZEOF_TIME_T 8
  255. /* Define to 1 if you have the ANSI C header files. */
  256. #define STDC_HEADERS 1
  257. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  258. #define TIME_WITH_SYS_TIME 1
  259. /* if CyaSSL/WolfSSL is enabled */
  260. #define USE_CYASSL 1
  261. /* Version number of package */
  262. #define VERSION "-"
  263. /* Define to 1 if OS is AIX. */
  264. #ifndef _ALL_SOURCE
  265. /* # undef _ALL_SOURCE */
  266. #endif
  267. /* Work-around to allow building the Windows FreeRTOS simulator */
  268. #define ALLOW_MSVC6_WITHOUT_PSDK 1
  269. /* Define to `__inline__' or `__inline' if that's what the C compiler
  270. calls it, or to nothing if 'inline' is not supported under any name. */
  271. #ifndef __cplusplus
  272. /* #undef inline */
  273. #endif
  274. #endif /* CURL_CONFIG_FREERTOS_H */