diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-16 19:16:41 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-16 19:16:41 +0000 |
commit | a9dc900515a28dcf55b2901a8609072430087693 (patch) | |
tree | 2f8501d314b4c297ccdf997a6ad15716cba7ce1f /lib/config-symbian.h | |
parent | 3a705696af63b57278ad0f54890cfa6770ec66eb (diff) | |
download | curl-a9dc900515a28dcf55b2901a8609072430087693.tar.gz |
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.
Diffstat (limited to 'lib/config-symbian.h')
-rw-r--r-- | lib/config-symbian.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <rsa.h> 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* |