From 1960eebc2d021ecf5ffc3f6d4e935d54aa592c72 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 22 Apr 2008 22:53:53 +0000 Subject: Added support for running on Symbian OS. --- lib/config-symbian.h | 791 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 791 insertions(+) create mode 100644 lib/config-symbian.h (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h new file mode 100644 index 000000000..bfe7eed0f --- /dev/null +++ b/lib/config-symbian.h @@ -0,0 +1,791 @@ +/* config-symbian.h. Manually generated. */ + +/* when building libcurl itself */ +/* #undef BUILDING_LIBCURL */ + +/* Location of default ca bundle */ +/* #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt"*/ + +/* Location of default ca path */ +/* #undef CURL_CA_PATH */ + +/* to disable cookies support */ +/* #undef CURL_DISABLE_COOKIES */ + +/* to disable cryptographic authentication */ +/* #undef CURL_DISABLE_CRYPTO_AUTH */ + +/* to disable DICT */ +/* #undef CURL_DISABLE_DICT */ + +/* to disable FILE */ +/* #undef CURL_DISABLE_FILE */ + +/* to disable FTP */ +/* #undef CURL_DISABLE_FTP */ + +/* to disable HTTP */ +/* #undef CURL_DISABLE_HTTP */ + +/* to disable LDAP */ +#define CURL_DISABLE_LDAP 1 + +/* to disable LDAPS */ +#define CURL_DISABLE_LDAPS 1 + +/* to disable TELNET */ +/* #undef CURL_DISABLE_TELNET */ + +/* to disable TFTP */ +/* #undef CURL_DISABLE_TFTP */ + +/* to disable verbose strings */ +/* #define CURL_DISABLE_VERBOSE_STRINGS 1*/ + +/* to make a symbol visible */ +/*#define CURL_EXTERN_SYMBOL __declspec(dllexport)*/ + +/* to enable hidden symbols */ +/*#define CURL_HIDDEN_SYMBOLS 1*/ + +/* W$ LDAP with non-W$ compiler */ +/* #undef CURL_LDAP_HYBRID */ + +/* Use W$ LDAP implementation */ +/* #undef CURL_LDAP_WIN */ + +/* when not building a shared library */ +/* #undef CURL_STATICLIB */ + +/* Set to explicitly specify we don't want to use thread-safe functions */ +/* #undef DISABLED_THREADSAFE */ + +/* your Entropy Gathering Daemon socket pathname */ +/* #undef EGD_SOCKET */ + +/* Define if you want to enable IPv6 support */ +#define ENABLE_IPV6 1 + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +#define GETNAMEINFO_QUAL_ARG1 const + +/* Define to the type of arg 1 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * + +/* Define to the type of arg 2 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG2 socklen_t + +/* Define to the type of args 4 and 6 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG46 size_t + +/* Define to the type of arg 7 for getnameinfo. */ +#define GETNAMEINFO_TYPE_ARG7 int + +/* Define to 1 if you have the header file. */ +/*#define HAVE_ALLOCA_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_ARPA_TFTP_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the `basename' function. */ +/*#define HAVE_BASENAME 1*/ + +/* Define to 1 if bool is an available type. */ +/*#define HAVE_BOOL_T 1*/ + +/* Define to 1 if you have the `closesocket' function. */ +/* #undef HAVE_CLOSESOCKET */ + +/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ +/*#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1*/ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_CRYPTO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DES_H */ + +/* disabled non-blocking sockets */ +/* #undef HAVE_DISABLED_NONBLOCKING */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */ +/*#define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* use FIONBIO for non-blocking sockets */ +#define HAVE_FIONBIO 1 + +/* Define to 1 if you have the `fork' function. */ +/*#define HAVE_FORK 1*/ + +/* Define to 1 if you have the `ftruncate' function. */ +#define HAVE_FTRUNCATE 1 + +/* Define if getaddrinfo exists and works */ +#define HAVE_GETADDRINFO 1 + +/* Define to 1 if you have the `geteuid' function. */ +#define HAVE_GETEUID 1 + +/* Define to 1 if you have the `gethostbyaddr' function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* If you have gethostbyname */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostbyname_r' function. */ +/* #undef HAVE_GETHOSTBYNAME_R */ + +/* gethostbyname_r() takes 3 args */ +/* #undef HAVE_GETHOSTBYNAME_R_3 */ + +/* gethostbyname_r() takes 5 args */ +/* #undef HAVE_GETHOSTBYNAME_R_5 */ + +/* gethostbyname_r() takes 6 args */ +/* #undef HAVE_GETHOSTBYNAME_R_6 */ + +/* Define to 1 if you have the getnameinfo function. */ +#define HAVE_GETNAMEINFO 1 + +/* Define to 1 if you have the `getpass_r' function. */ +/* #undef HAVE_GETPASS_R */ + +/* Define to 1 if you have the `getppid' function. */ +#define HAVE_GETPPID 1 + +/* Define to 1 if you have the `getprotobyname' function. */ +#define HAVE_GETPROTOBYNAME 1 + +/* Define to 1 if you have the `getpwuid' function. */ +#define HAVE_GETPWUID 1 + +/* Define to 1 if you have the `getrlimit' function. */ +/*#define HAVE_GETRLIMIT 1*/ + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* we have a glibc-style strerror_r() */ +/* #undef HAVE_GLIBC_STRERROR_R */ + +/* Define to 1 if you have the `gmtime_r' function. */ +#define HAVE_GMTIME_R 1 + +/* if you have the gssapi libraries */ +/* #undef HAVE_GSSAPI */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_GSSAPI_GSSAPI_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */ + +/* if you have the GNU gssapi libraries */ +/* #undef HAVE_GSSGNU */ + +/* if you have the Heimdal gssapi libraries */ +/* #undef HAVE_GSSHEIMDAL */ + +/* if you have the MIT gssapi libraries */ +/* #undef HAVE_GSSMIT */ + +/* Define to 1 if you have the `idna_strerror' function. */ +/*#define HAVE_IDNA_STRERROR 1*/ + +/* Define to 1 if you have the `idn_free' function. */ +/*#define HAVE_IDN_FREE 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_IDN_FREE_H 1*/ + +/* Define to 1 if you have the `inet_addr' function. */ +/*#define HAVE_INET_ADDR 1*/ + +/* Define to 1 if you have the `inet_ntoa' function. */ +/*#define HAVE_INET_NTOA 1*/ + +/* Define to 1 if you have the `inet_ntoa_r' function. */ +/* #undef HAVE_INET_NTOA_R */ + +/* inet_ntoa_r() is declared */ +/* #undef HAVE_INET_NTOA_R_DECL */ + +/* Define to 1 if you have the `inet_pton' function. */ +#define HAVE_INET_PTON 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* use ioctlsocket() for non-blocking sockets */ +/* #undef HAVE_IOCTLSOCKET */ + +/* use Ioctlsocket() for non-blocking sockets */ +/* #undef HAVE_IOCTLSOCKET_CASE */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IO_H */ + +/* if you have the Kerberos4 libraries (including -ldes) */ +/* #undef HAVE_KRB4 */ + +/* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */ +/* #undef HAVE_KRB_GET_OUR_IP_FOR_REALM */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_KRB_H */ + +/* Define to 1 if you have the lber.h header file. */ +/*#define HAVE_LBER_H 1*/ + +/* Define to 1 if you have the ldapssl.h header file. */ +/* #undef HAVE_LDAPSSL_H */ + +/* Define to 1 if you have the ldap.h header file. */ +/*#define HAVE_LDAP_H 1*/ + +/* Use LDAPS implementation */ +/*#define HAVE_LDAP_SSL 1*/ + +/* Define to 1 if you have the ldap_ssl.h header file. */ +/* #undef HAVE_LDAP_SSL_H */ + +/* Define to 1 if you have the `ldap_url_parse' function. */ +/*#define HAVE_LDAP_URL_PARSE 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_LIBGEN_H 1*/ + +/* Define to 1 if you have the `idn' library (-lidn). */ +/*#define HAVE_LIBIDN 1*/ + +/* Define to 1 if you have the `resolv' library (-lresolv). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLVE */ + +/* Define to 1 if you have the `socket' library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ + +/* Define to 1 if you have the `ssh2' library (-lssh2). */ +/*#define HAVE_LIBSSH2 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_LIBSSH2_H 1*/ + +/* Define to 1 if you have the `ssl' library (-lssl). */ +/*#define HAVE_LIBSSL 1*/ + +/* if zlib is available */ +/*#define HAVE_LIBZ 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* if your compiler supports LL */ +#define HAVE_LL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the `localtime_r' function. */ +#define HAVE_LOCALTIME_R 1 + +/* if your compiler supports long long */ +#define HAVE_LONGLONG 1 + +/* Define to 1 if you have the malloc.h header file. */ +/*#define HAVE_MALLOC_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the MSG_NOSIGNAL flag. */ +/*#define HAVE_MSG_NOSIGNAL 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_NETINET_TCP_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_NET_IF_H 1 + +/* Define to 1 if NI_WITHSCOPEID exists and works. */ +/*#define HAVE_NI_WITHSCOPEID 1*/ + +/* Defined if no inet_pton() prototype available */ +/* #undef HAVE_NO_INET_PTON_PROTO */ + +/* we have no strerror_r() proto */ +/* #undef HAVE_NO_STRERROR_R_DECL */ + +/* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE + */ +/* #undef HAVE_OLD_GSSMIT */ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_CRYPTO_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_ENGINE_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_ERR_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_PEM_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_PKCS12_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_RSA_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_SSL_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_OPENSSL_X509_H 1*/ + +/* use O_NONBLOCK for non-blocking sockets */ +#define HAVE_O_NONBLOCK 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PEM_H */ + +/* Define to 1 if you have the `perror' function. */ +#define HAVE_PERROR 1 + +/* Define to 1 if you have the `pipe' function. */ +#define HAVE_PIPE 1 + +/* if you have the function PK11_CreateGenericObject */ +/* #undef HAVE_PK11_CREATEGENERICOBJECT */ + +/* Define to 1 if you have the `poll' function. */ +/*#define HAVE_POLL 1*/ + +/* If you have a fine poll */ +/*#define HAVE_POLL_FINE 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_POLL_H 1*/ + +/* we have a POSIX-style strerror_r() */ +#define HAVE_POSIX_STRERROR_R 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PWD_H 1 + +/* Define to 1 if you have the `RAND_egd' function. */ +#define HAVE_RAND_EGD 1 + +/* Define to 1 if you have the `RAND_screen' function. */ +/* #undef HAVE_RAND_SCREEN */ + +/* Define to 1 if you have the `RAND_status' function. */ +/*#define HAVE_RAND_STATUS 1*/ + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_RSA_H */ + +/* Define to 1 if you have the select function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SETJMP_H 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `setmode' function. */ +/* #undef HAVE_SETMODE */ + +/* Define to 1 if you have the `setrlimit' function. */ +/*#define HAVE_SETRLIMIT 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_SGTTY_H 1*/ + +/* Define to 1 if you have the `sigaction' function. */ +/*#define HAVE_SIGACTION 1*/ + +/* Define to 1 if you have the `siginterrupt' function. */ +/*#define HAVE_SIGINTERRUPT 1*/ + +/* Define to 1 if you have the `signal' function. */ +/*#define HAVE_SIGNAL 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* If you have sigsetjmp */ +/*#define HAVE_SIGSETJMP 1*/ + +/* Define to 1 if sig_atomic_t is an available typedef. */ +/*#define HAVE_SIG_ATOMIC_T 1*/ + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + +/* Define to 1 if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* use SO_NONBLOCK for non-blocking sockets */ +/* #undef HAVE_SO_NONBLOCK */ + +/* Define this if you have the SPNEGO library fbopenssl */ +/* #undef HAVE_SPNEGO */ + +/* Define to 1 if you have the `SSL_get_shutdown' function. */ +/*#define HAVE_SSL_GET_SHUTDOWN 1*/ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SSL_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDBOOL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strcasestr' function. */ +#define HAVE_STRCASESTR 1 + +/* Define to 1 if you have the `strcmpi' function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the `strerror_r' function. */ +#define HAVE_STRERROR_R 1 + +/* Define to 1 if you have the `stricmp' function. */ +/* #undef HAVE_STRICMP */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strlcat' function. */ +#define HAVE_STRLCAT 1 + +/* Define to 1 if you have the `strlcpy' function. */ +#define HAVE_STRLCPY 1 + +/* Define to 1 if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Define to 1 if you have the `strtok_r' function. */ +#define HAVE_STRTOK_R 1 + +/* Define to 1 if you have the `strtoll' function. */ +#define HAVE_STRTOLL 1 + +/* if struct sockaddr_storage is defined */ +#define HAVE_STRUCT_SOCKADDR_STORAGE 1 + +/* Define to 1 if you have the timeval struct. */ +#define HAVE_STRUCT_TIMEVAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_FILIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_SYS_POLL_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UTIME_H */ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_TERMIOS_H 1*/ + +/* Define to 1 if you have the header file. */ +/*#define HAVE_TERMIO_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_TLD_H 1*/ + +/* Define to 1 if you have the `tld_strerror' function. */ +/*#define HAVE_TLD_STRERROR 1*/ + +/* Define to 1 if you have the `uname' function. */ +#define HAVE_UNAME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `utime' function. */ +#define HAVE_UTIME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UTIME_H 1 + +/* Define to 1 if compiler supports C99 variadic macro style. */ +#define HAVE_VARIADIC_MACROS_C99 1 + +/* Define to 1 if compiler supports old gcc variadic macro style. */ +#define HAVE_VARIADIC_MACROS_GCC 1 + +/* Define to 1 if you have the winber.h header file. */ +/* #undef HAVE_WINBER_H */ + +/* Define to 1 if you have the windows.h header file. */ +/* #undef HAVE_WINDOWS_H */ + +/* Define to 1 if you have the winldap.h header file. */ +/* #undef HAVE_WINLDAP_H */ + +/* Define to 1 if you have the winsock2.h header file. */ +/* #undef HAVE_WINSOCK2_H */ + +/* Define to 1 if you have the winsock.h header file. */ +/* #undef HAVE_WINSOCK_H */ + +/* Define this symbol if your OS supports changing the contents of argv */ +/*#define HAVE_WRITABLE_ARGV 1*/ + +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_X509_H */ + +/* if you have the zlib.h header file */ +/*#define HAVE_ZLIB_H 1*/ + +/* Define to 1 if you are building a native Windows target. */ +/* #undef NATIVE_WINDOWS */ + +/* If you lack a fine basename() prototype */ +/* #undef NEED_BASENAME_PROTO */ + +/* Define to 1 if you need the lber.h header file even with ldap.h */ +/* #undef NEED_LBER_H */ + +/* Define to 1 if you need the malloc.h header file even with stdlib.h */ +/* #undef NEED_MALLOC_H */ + +/* need REENTRANT defined */ +/* #undef NEED_REENTRANT */ + +/* cpu-machine-OS */ +#ifdef __WINS__ +#define OS "i386-pc-epoc" +#elif __MARM__ +#define OS "arm-unknown-epoc" +#else +#define OS "unknown-unknown-epoc" +#endif + +/* Name of package */ +/*#define PACKAGE "curl"*/ + +/* Define to the address where bug reports for this package should be sent. */ +/*#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"*/ + +/* Define to the full name of this package. */ +/*#define PACKAGE_NAME "curl"*/ + +/* Define to the full name and version of this package. */ +/*#define PACKAGE_STRING "curl -"*/ + +/* Define to the one symbol short name of this package. */ +/*#define PACKAGE_TARNAME "curl"*/ + +/* Define to the version of this package. */ +/*#define PACKAGE_VERSION "-"*/ + +/* a suitable file to read random data from */ +/*#define RANDOM_FILE "/dev/urandom"*/ + +#define RECV_TYPE_ARG1 int +#define RECV_TYPE_ARG2 void* +#define RECV_TYPE_ARG3 size_t +#define RECV_TYPE_ARG4 int +#define RECV_TYPE_RETV ssize_t + +#define SEND_TYPE_ARG1 int +#define SEND_QUAL_ARG2 const +#define SEND_TYPE_ARG2 void* +#define SEND_TYPE_ARG3 size_t +#define SEND_TYPE_ARG4 int +#define SEND_TYPE_RETV ssize_t + + +/* Define as the return type of signal handlers (`int' or `void'). */ +/*#define RETSIGTYPE void*/ + +/* Define to the type of arg 1 for `select'. */ +#define SELECT_TYPE_ARG1 int + +/* Define to the type of args 2, 3 and 4 for `select'. */ +#define SELECT_TYPE_ARG234 (fd_set *) + +/* Define to the type of arg 5 for `select'. */ +#define SELECT_TYPE_ARG5 (struct timeval *) + +/* The size of `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 + +/* The size of `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + +/* The size of `off_t', as computed by sizeof. */ +#define SIZEOF_OFF_T 8 + +/* The size of `size_t', as computed by sizeof. */ +#define SIZEOF_SIZE_T 4 + +/* The size of `time_t', as computed by sizeof. */ +#define SIZEOF_TIME_T 4 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if you want to enable c-ares support */ +/* #undef USE_ARES */ + +/* if GnuTLS is enabled */ +/* #undef USE_GNUTLS */ + +/* if libSSH2 is in use */ +/*#define USE_LIBSSH2 1*/ + +/* If you want to build curl with the built-in manual */ +/*#define USE_MANUAL 1*/ + +/* if NSS is enabled */ +/* #undef USE_NSS */ + +/* if OpenSSL is in use */ +/*#define USE_OPENSSL 1*/ + +/* if SSL is enabled */ +/*#define USE_SSLEAY 1*/ + +/* to enable SSPI support */ +/* #undef USE_WINDOWS_SSPI */ + +/* Define to 1 if using yaSSL in OpenSSL compatibility mode. */ +/* #undef USE_YASSLEMUL */ + +/* Version number of package */ +/*#define VERSION "7.18.2-CVS"*/ + +/* Define to avoid automatic inclusion of winsock.h */ +/* #undef WIN32_LEAN_AND_MEAN */ + +/* Define to 1 if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +/* # undef _ALL_SOURCE */ +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +#define _FILE_OFFSET_BITS 64 + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* define this if you need it to compile thread-safe code */ +/* #undef _THREAD_SAFE */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* type to use in place of in_addr_t if not defined */ +/* #undef in_addr_t */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +/* #undef inline */ +#endif + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* type to use in place of socklen_t if not defined */ +/* #undef socklen_t */ + +/* the signed version of size_t */ +/* #undef ssize_t */ -- cgit v1.2.1 From 3783b455c08d48cb8a487b16046ffdf71ba46dae Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 23 Apr 2008 18:29:44 +0000 Subject: Symbian OS is a.k.a. EPOC32 --- lib/config-symbian.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index bfe7eed0f..3a2886bc4 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -645,11 +645,12 @@ /* cpu-machine-OS */ #ifdef __WINS__ -#define OS "i386-pc-epoc" +#define OS "i386-pc-epoc32" #elif __MARM__ -#define OS "arm-unknown-epoc" +#define OS "arm-unknown-epoc32" #else -#define OS "unknown-unknown-epoc" +/* This won't happen on any current Symbian version */ +#define OS "unknown-unknown-epoc32" #endif /* Name of package */ -- cgit v1.2.1 From 08aab6a6206790abfdc9564ed727df8e70378c26 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 14 May 2008 23:36:26 +0000 Subject: Move the CURLDEBUG check after setup.h so it can be set there if necessary. --- lib/config-symbian.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 3a2886bc4..ed9977b27 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -790,3 +790,9 @@ /* the signed version of size_t */ /* #undef ssize_t */ + +/* Enabling curl debug mode when building in Symbian debug mode would work */ +/* except that debug mode introduces new exports that must be frozen. */ +#ifdef _DEBUG +/* #define CURLDEBUG */ +#endif -- cgit v1.2.1 From 0163b5b8be819bceb66546d6205c8d57913fc3ee Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 21 May 2008 13:57:50 +0000 Subject: fix: socklen_t definition comment --- lib/config-symbian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index ed9977b27..e656ade91 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -785,7 +785,7 @@ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ -/* type to use in place of socklen_t if not defined */ +/* Type to use in place of socklen_t when system does not provide it. */ /* #undef socklen_t */ /* the signed version of size_t */ -- cgit v1.2.1 From a9dc900515a28dcf55b2901a8609072430087693 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 16 Jul 2008 19:16:41 +0000 Subject: Configure process now checks availability of recvfrom() socket function and finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper. --- lib/config-symbian.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index e656ade91..2297b9f73 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -415,6 +415,9 @@ /* Define to 1 if you have the recv function. */ #define HAVE_RECV 1 +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM 1 + /* Define to 1 if you have the header file. */ /* #undef HAVE_RSA_H */ @@ -680,6 +683,14 @@ #define RECV_TYPE_ARG4 int #define RECV_TYPE_RETV ssize_t +#define RECVFROM_TYPE_ARG1 int +#define RECVFROM_TYPE_ARG2 void* +#define RECVFROM_TYPE_ARG3 size_t +#define RECVFROM_TYPE_ARG4 int +#define RECVFROM_TYPE_ARG5 struct sockaddr * +#define RECVFROM_TYPE_ARG6 size_t * +#define RECVFROM_TYPE_RETV ssize_t + #define SEND_TYPE_ARG1 int #define SEND_QUAL_ARG2 const #define SEND_TYPE_ARG2 void* -- cgit v1.2.1 From 39f23aec6b3cd5e7e5dd9077d96f8eff37ff2b19 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Jul 2008 03:07:54 +0000 Subject: RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined to the data type pointed by its respective argument and not the pointer type. --- lib/config-symbian.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 2297b9f73..b7467dbd9 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -684,11 +684,11 @@ #define RECV_TYPE_RETV ssize_t #define RECVFROM_TYPE_ARG1 int -#define RECVFROM_TYPE_ARG2 void* +#define RECVFROM_TYPE_ARG2 void #define RECVFROM_TYPE_ARG3 size_t #define RECVFROM_TYPE_ARG4 int -#define RECVFROM_TYPE_ARG5 struct sockaddr * -#define RECVFROM_TYPE_ARG6 size_t * +#define RECVFROM_TYPE_ARG5 struct sockaddr +#define RECVFROM_TYPE_ARG6 size_t #define RECVFROM_TYPE_RETV ssize_t #define SEND_TYPE_ARG1 int -- cgit v1.2.1 From bffe69a151bbd1aae72e50c128fdb0c58596ade1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 21 Jul 2008 00:36:55 +0000 Subject: when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate. --- lib/config-symbian.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index b7467dbd9..0c8a1716e 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -690,6 +690,7 @@ #define RECVFROM_TYPE_ARG5 struct sockaddr #define RECVFROM_TYPE_ARG6 size_t #define RECVFROM_TYPE_RETV ssize_t +#define RECVFROM_TYPE_ARG2_IS_VOID 1 #define SEND_TYPE_ARG1 int #define SEND_QUAL_ARG2 const -- cgit v1.2.1 From 1c8f689ecb35129133a78a9e921d6964fa78341e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 30 Jul 2008 00:10:32 +0000 Subject: Minor Symbian updates. --- lib/config-symbian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 0c8a1716e..0b7b90df6 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -602,7 +602,7 @@ #define HAVE_VARIADIC_MACROS_C99 1 /* Define to 1 if compiler supports old gcc variadic macro style. */ -#define HAVE_VARIADIC_MACROS_GCC 1 +/*#define HAVE_VARIADIC_MACROS_GCC 1*/ /* Define to 1 if you have the winber.h header file. */ /* #undef HAVE_WINBER_H */ -- cgit v1.2.1 From 14240e9e109fe6af19438c6531d573f85dbb0b1e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 7 Aug 2008 00:29:08 +0000 Subject: Initial support of curlbuild.h and curlrules.h which allows to have a curl_off_t data type no longer gated to off_t. --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 0b7b90df6..d4b5f0979 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -712,9 +712,6 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) -/* The size of `curl_off_t', as computed by sizeof. */ -#define SIZEOF_CURL_OFF_T 8 - /* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 4 -- cgit v1.2.1 From feb03e471786e9c543ef6e807a4a748046c0ce2b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 13 Aug 2008 15:32:20 +0000 Subject: The size of long is a build time characteristic and as such it is now recorded in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems. --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index d4b5f0979..a39669c48 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -712,9 +712,6 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) -/* The size of `long', as computed by sizeof. */ -#define SIZEOF_LONG 4 - /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 -- cgit v1.2.1 From ceb49d3742e4c27fdd86f9a6b043bebf7f42deaa Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 21 Aug 2008 00:06:15 +0000 Subject: Get rid of ENABLE_64BIT symbol definition and usage. Improve HAVE_LONGLONG symbol description. --- lib/config-symbian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index a39669c48..6c91cba36 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -312,7 +312,7 @@ /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 -/* if your compiler supports long long */ +/* Define to 1 if the compiler supports the 'long long' data type. */ #define HAVE_LONGLONG 1 /* Define to 1 if you have the malloc.h header file. */ -- cgit v1.2.1 From 709de3d6217bdd470ce1e1840375fe7f7bdeb2d4 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 27 Aug 2008 01:48:33 +0000 Subject: Fix large file support for Symbian OS on the emulator. --- lib/config-symbian.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 6c91cba36..ddccf1e82 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -802,3 +802,8 @@ #ifdef _DEBUG /* #define CURLDEBUG */ #endif + +/* sys/cdefs.h fails to define this for WINSCW */ +#ifndef __LONG_LONG_SUPPORTED +#define __LONG_LONG_SUPPORTED +#endif -- cgit v1.2.1 From 849318138ee628437c0d3dfe88e6e9b74e7f2520 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 15 Sep 2008 18:24:23 +0000 Subject: Note that the long long issue is fixed in Symbian OS 9.4 --- lib/config-symbian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index ddccf1e82..1bd34a298 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -803,7 +803,7 @@ /* #define CURLDEBUG */ #endif -/* sys/cdefs.h fails to define this for WINSCW */ +/* sys/cdefs.h fails to define this for WINSCW prior to Symbian OS ver. 9.4 */ #ifndef __LONG_LONG_SUPPORTED #define __LONG_LONG_SUPPORTED #endif -- cgit v1.2.1 From 4e909ee8b1e7e9f174af629615224180568a7e92 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Sep 2008 12:22:16 +0000 Subject: ntoa() and inet_ntoa_r() no longer used --- lib/config-symbian.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 1bd34a298..3f0ddf158 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -222,15 +222,6 @@ /* Define to 1 if you have the `inet_addr' function. */ /*#define HAVE_INET_ADDR 1*/ -/* Define to 1 if you have the `inet_ntoa' function. */ -/*#define HAVE_INET_NTOA 1*/ - -/* Define to 1 if you have the `inet_ntoa_r' function. */ -/* #undef HAVE_INET_NTOA_R */ - -/* inet_ntoa_r() is declared */ -/* #undef HAVE_INET_NTOA_R_DECL */ - /* Define to 1 if you have the `inet_pton' function. */ #define HAVE_INET_PTON 1 -- cgit v1.2.1 From 4d437416daee0f626988b8c056ae9cd22486c655 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Sep 2008 19:13:01 +0000 Subject: HAVE_INET_PTON will only be defined when an IPv6 capable working inet_pton function is available. --- lib/config-symbian.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 3f0ddf158..d35443f2c 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -222,8 +222,11 @@ /* Define to 1 if you have the `inet_addr' function. */ /*#define HAVE_INET_ADDR 1*/ -/* Define to 1 if you have the `inet_pton' function. */ -#define HAVE_INET_PTON 1 +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +/*#define HAVE_INET_NTOP 1*/ + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ +/*#define HAVE_INET_PTON 1*/ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 @@ -330,9 +333,6 @@ /* Define to 1 if NI_WITHSCOPEID exists and works. */ /*#define HAVE_NI_WITHSCOPEID 1*/ -/* Defined if no inet_pton() prototype available */ -/* #undef HAVE_NO_INET_PTON_PROTO */ - /* we have no strerror_r() proto */ /* #undef HAVE_NO_STRERROR_R_DECL */ -- cgit v1.2.1 From e9c94cdd49b49266fab7b46ef613ac1ace38a7d3 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 25 Oct 2008 05:41:01 +0000 Subject: Added experimental support for zlib and OpenSSL on Symbian OS. --- lib/config-symbian.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index d35443f2c..70c2a5803 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -291,9 +291,6 @@ /* Define to 1 if you have the `ssl' library (-lssl). */ /*#define HAVE_LIBSSL 1*/ -/* if zlib is available */ -/*#define HAVE_LIBZ 1*/ - /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 @@ -619,9 +616,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_X509_H */ -/* if you have the zlib.h header file */ -/*#define HAVE_ZLIB_H 1*/ - /* Define to 1 if you are building a native Windows target. */ /* #undef NATIVE_WINDOWS */ @@ -798,3 +792,14 @@ #ifndef __LONG_LONG_SUPPORTED #define __LONG_LONG_SUPPORTED #endif + +/* Enable appropriate header only when zlib support is enabled */ +#ifdef HAVE_LIBZ +#define HAVE_ZLIB_H 1 +#endif + +/* Enable appropriate definitions only when OpenSSL support is enabled */ +#ifdef USE_SSL +#define USE_OPENSSL 1 +#define USE_SSLEAY 1 +#endif -- cgit v1.2.1 From 17d2a464ad42c47ec37870e4b01a18ef5593877f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 13 Nov 2008 18:56:55 +0000 Subject: Refactor configure script detection of functions used to set sockets into non-blocking mode, and decouple function detection from function capability. --- lib/config-symbian.h | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 70c2a5803..fb5dd23aa 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -111,9 +111,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_DES_H */ -/* disabled non-blocking sockets */ -/* #undef HAVE_DISABLED_NONBLOCKING */ - /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 @@ -129,8 +126,11 @@ /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 -/* use FIONBIO for non-blocking sockets */ -#define HAVE_FIONBIO 1 +/* Define to 1 if you have the fcntl function. */ +#define HAVE_FCNTL 1 + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +#define HAVE_FCNTL_O_NONBLOCK 1 /* Define to 1 if you have the `fork' function. */ /*#define HAVE_FORK 1*/ @@ -231,11 +231,23 @@ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -/* use ioctlsocket() for non-blocking sockets */ +/* Define to 1 if you have the ioctl function. */ +#define HAVE_IOCTL 1 + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO 1 + +/* Define to 1 if you have the ioctlsocket function. */ /* #undef HAVE_IOCTLSOCKET */ -/* use Ioctlsocket() for non-blocking sockets */ -/* #undef HAVE_IOCTLSOCKET_CASE */ +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ @@ -361,9 +373,6 @@ /* Define to 1 if you have the header file. */ /*#define HAVE_OPENSSL_X509_H 1*/ -/* use O_NONBLOCK for non-blocking sockets */ -#define HAVE_O_NONBLOCK 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_PEM_H */ @@ -427,6 +436,12 @@ /* Define to 1 if you have the `setrlimit' function. */ /*#define HAVE_SETRLIMIT 1*/ +/* Define to 1 if you have the setsockopt function. */ +/* #undef HAVE_SETSOCKOPT */ + +/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ +/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ + /* Define to 1 if you have the header file. */ /*#define HAVE_SGTTY_H 1*/ @@ -454,9 +469,6 @@ /* Define to 1 if you have the `socket' function. */ #define HAVE_SOCKET 1 -/* use SO_NONBLOCK for non-blocking sockets */ -/* #undef HAVE_SO_NONBLOCK */ - /* Define this if you have the SPNEGO library fbopenssl */ /* #undef HAVE_SPNEGO */ @@ -715,6 +727,9 @@ /* Define if you want to enable c-ares support */ /* #undef USE_ARES */ +/* Define to disable non-blocking sockets */ +/* #undef USE_BLOCKING_SOCKETS */ + /* if GnuTLS is enabled */ /* #undef USE_GNUTLS */ -- cgit v1.2.1 From 104377d718654947f42f8812b17d1d3127c843a0 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 30 Dec 2008 07:31:04 +0000 Subject: added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware. --- lib/config-symbian.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index fb5dd23aa..cc9b03cb9 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -66,6 +66,9 @@ /* Define if you want to enable IPv6 support */ #define ENABLE_IPV6 1 +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* Define to the type qualifier of arg 1 for getnameinfo. */ #define GETNAMEINFO_QUAL_ARG1 const -- cgit v1.2.1 From 1cc50d31f9962264fd78cdbe6a27dac10742dcd6 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 30 Dec 2008 08:05:38 +0000 Subject: changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define. --- lib/config-symbian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index cc9b03cb9..5f8296add 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -67,7 +67,7 @@ #define ENABLE_IPV6 1 /* Define if struct sockaddr_in6 has the sin6_scope_id member */ -#define HAVE_SIN6_SCOPE_ID 1 +#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 /* Define to the type qualifier of arg 1 for getnameinfo. */ #define GETNAMEINFO_QUAL_ARG1 const -- cgit v1.2.1 From e43606eb4d3b2b914ff3c4a53e68ff9ad68503b8 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 11 Apr 2009 07:06:34 +0000 Subject: Added new libcurl source files to Symbian OS build files. Improved Symbian support for SSL. --- lib/config-symbian.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 5f8296add..de5fd851d 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -745,12 +745,6 @@ /* if NSS is enabled */ /* #undef USE_NSS */ -/* if OpenSSL is in use */ -/*#define USE_OPENSSL 1*/ - -/* if SSL is enabled */ -/*#define USE_SSLEAY 1*/ - /* to enable SSPI support */ /* #undef USE_WINDOWS_SSPI */ @@ -817,7 +811,7 @@ #endif /* Enable appropriate definitions only when OpenSSL support is enabled */ -#ifdef USE_SSL -#define USE_OPENSSL 1 -#define USE_SSLEAY 1 +#ifdef USE_SSLEAY +/* if OpenSSL is in use */ +#define USE_OPENSSL #endif -- cgit v1.2.1 From 9137e717b04644592b9b527839470337fdd9f44d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 2 May 2009 02:37:32 +0000 Subject: Use build-time configured curl_socklen_t instead of socklen_t --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index de5fd851d..1cdce2616 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -788,9 +788,6 @@ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ -/* Type to use in place of socklen_t when system does not provide it. */ -/* #undef socklen_t */ - /* the signed version of size_t */ /* #undef ssize_t */ -- cgit v1.2.1 From 6d4e6cc8137ff2ebdbaf055e39ce1263ad634191 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 18 Oct 2009 03:37:39 +0000 Subject: Check for basename() is now done the same as other function checks --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 1cdce2616..b26fe46cd 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -634,9 +634,6 @@ /* Define to 1 if you are building a native Windows target. */ /* #undef NATIVE_WINDOWS */ -/* If you lack a fine basename() prototype */ -/* #undef NEED_BASENAME_PROTO */ - /* Define to 1 if you need the lber.h header file even with ldap.h */ /* #undef NEED_LBER_H */ -- cgit v1.2.1 From 1cbc93fb54b773d1564bf2f2194d81c02a985a81 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 14 Nov 2009 18:51:37 +0000 Subject: Refactor how preprocessor symbol _THREAD_SAFE definition is done. --- lib/config-symbian.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index b26fe46cd..d3bf20924 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -640,9 +640,12 @@ /* Define to 1 if you need the malloc.h header file even with stdlib.h */ /* #undef NEED_MALLOC_H */ -/* need REENTRANT defined */ +/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ /* #undef NEED_REENTRANT */ +/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ +/* #undef NEED_THREAD_SAFE */ + /* cpu-machine-OS */ #ifdef __WINS__ #define OS "i386-pc-epoc32" @@ -767,9 +770,6 @@ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ -/* define this if you need it to compile thread-safe code */ -/* #undef _THREAD_SAFE */ - /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ -- cgit v1.2.1 From 581ce03345d38b124c03c30dcfadcc5b2a2dd819 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 15 Nov 2009 02:45:23 +0000 Subject: Remove enable-thread / disable-thread configure option. These were only placebo options. The library is always built as thread safe as possible on every system. --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index d3bf20924..207d9040e 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -57,9 +57,6 @@ /* when not building a shared library */ /* #undef CURL_STATICLIB */ -/* Set to explicitly specify we don't want to use thread-safe functions */ -/* #undef DISABLED_THREADSAFE */ - /* your Entropy Gathering Daemon socket pathname */ /* #undef EGD_SOCKET */ -- cgit v1.2.1 From cef95aadebf0be4be6b4ed82e07f38cc83faf546 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Feb 2010 18:32:46 +0000 Subject: Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems --- lib/config-symbian.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 207d9040e..f5589fe78 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -709,9 +709,15 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + /* The size of `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 4 -- cgit v1.2.1 From 43d20d81a55a0e30becea04b7e607775093ce6eb Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 4 Jun 2010 15:14:31 +0200 Subject: Enable OpenLDAP support for cygwin builds. Enable OpenLDAP support for cygwin builds. This support was disabled back in 2008 due to incompatibilities between OpenSSL and OpenLDAP headers. cygwin's OpenSSL 0.9.8l and OpenLDAP 2.3.43 versions on cygwin 1.5.25 allow building an OpenLDAP enabled libcurl supporting back to Windows 95. Remove non-functional CURL_LDAP_HYBRID code and references. --- lib/config-symbian.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index f5589fe78..9f8b74a57 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -48,10 +48,7 @@ /* to enable hidden symbols */ /*#define CURL_HIDDEN_SYMBOLS 1*/ -/* W$ LDAP with non-W$ compiler */ -/* #undef CURL_LDAP_HYBRID */ - -/* Use W$ LDAP implementation */ +/* Use Windows LDAP implementation */ /* #undef CURL_LDAP_WIN */ /* when not building a shared library */ -- cgit v1.2.1 From 1aeb635cdd296c16acb375a4a83a78f13166ccab Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Mar 2011 11:48:02 +0100 Subject: sources: update source headers All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers. --- lib/config-symbian.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 9f8b74a57..24ed73327 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -1,4 +1,25 @@ /* config-symbian.h. Manually generated. */ +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ /* when building libcurl itself */ /* #undef BUILDING_LIBCURL */ -- cgit v1.2.1 From 21423497efe36c70615d0a54e040f76043823345 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 9 Apr 2012 21:24:16 +0200 Subject: configure: Windows cross-compilation fixes BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time --- lib/config-symbian.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 24ed73327..b4dc03288 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -1,4 +1,5 @@ -/* config-symbian.h. Manually generated. */ +#ifndef HEADER_CURL_CONFIG_SYMBIAN_H +#define HEADER_CURL_CONFIG_SYMBIAN_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -6,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,8 +22,9 @@ * ***************************************************************************/ -/* when building libcurl itself */ -/* #undef BUILDING_LIBCURL */ +/* ================================================================ */ +/* Hand crafted config file for Symbian */ +/* ================================================================ */ /* Location of default ca bundle */ /* #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt"*/ @@ -72,9 +74,6 @@ /* Use Windows LDAP implementation */ /* #undef CURL_LDAP_WIN */ -/* when not building a shared library */ -/* #undef CURL_STATICLIB */ - /* your Entropy Gathering Daemon socket pathname */ /* #undef EGD_SOCKET */ @@ -830,3 +829,5 @@ /* if OpenSSL is in use */ #define USE_OPENSSL #endif + +#endif /* HEADER_CURL_CONFIG_SYMBIAN_H */ -- cgit v1.2.1 From 9e24b9c7afbcb81120af4cf3f6cdee49a06d8224 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Apr 2012 19:33:54 +0200 Subject: build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config files configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release. --- lib/config-symbian.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index b4dc03288..d70498fa9 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -65,11 +65,8 @@ /* to disable verbose strings */ /* #define CURL_DISABLE_VERBOSE_STRINGS 1*/ -/* to make a symbol visible */ -/*#define CURL_EXTERN_SYMBOL __declspec(dllexport)*/ - -/* to enable hidden symbols */ -/*#define CURL_HIDDEN_SYMBOLS 1*/ +/* Definition to make a library symbol externally visible. */ +/* #undef CURL_EXTERN_SYMBOL */ /* Use Windows LDAP implementation */ /* #undef CURL_LDAP_WIN */ -- cgit v1.2.1 From 38ae6ec1a29eb6d2adbfb164d3d71bdc17730aa7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 12 Apr 2012 13:08:48 +0200 Subject: configure: NATIVE_WINDOWS no longer defined in config files --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index d70498fa9..e7cef5020 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -642,9 +642,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_X509_H */ -/* Define to 1 if you are building a native Windows target. */ -/* #undef NATIVE_WINDOWS */ - /* Define to 1 if you need the lber.h header file even with ldap.h */ /* #undef NEED_LBER_H */ -- cgit v1.2.1 From 42aa796150a580a0adff714c157d3b38b7672c7f Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 6 Apr 2012 16:05:25 +0200 Subject: nss: unconditionally require PK11_CreateGenericObject() This bumps the minimal supported version of NSS to 3.12.x. --- lib/config-symbian.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-symbian.h') diff --git a/lib/config-symbian.h b/lib/config-symbian.h index e7cef5020..fcfb4058c 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -396,9 +396,6 @@ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 -/* if you have the function PK11_CreateGenericObject */ -/* #undef HAVE_PK11_CREATEGENERICOBJECT */ - /* Define to 1 if you have the `poll' function. */ /*#define HAVE_POLL 1*/ -- cgit v1.2.1