bb91289e31
Noteworthy changes in version 1.2.2 (2005-10-05} ------------------------------------------------ * Made the RNG immune against fork without exec. * Minor changes to some function declarations. Buffer arguments are now typed as void pointer. This should not affect any compilation. * A bug in the definition of gcry_cipher_register has been fixed. * Interface changes relative to the 1.2.1 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcry_cipher_encrypt CHANGED: Arguments IN and OUT are now void*. gcry_cipher_decrypt CHANGED: Arguments IN and OUT are now void*. gcry_create_nonce CHANGED: Argument BUFFER is now void*. gcry_md_ctl CHANGED: Argument BUFFER is now void*. gcry_sexp_sprint CHANGED: Argument BUFFER is now void*. gcry_mpi_scan CHANGED: Argument BUFFER is now void*. gcry_cipher_register CHANGED: Argument ALGORITHM_ID is now int*. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
$NetBSD: patch-ae,v 1.3 2005/10/06 12:20:41 wiz Exp $
|
||
|
||
--- src/ath.h.orig 2005-07-29 15:45:42.000000000 +0200
|
||
+++ src/ath.h
|
||
@@ -31,6 +31,12 @@
|
||
|
||
#include <config.h>
|
||
|
||
+#ifdef HAVE_SYS_SELECT_H
|
||
+# include <sys/select.h>
|
||
+#else
|
||
+# include <sys/time.h>
|
||
+#endif
|
||
+
|
||
|
||
/* Define _ATH_EXT_SYM_PREFIX if you want to give all external symbols
|
||
a prefix. */
|
||
@@ -83,6 +89,14 @@ struct ath_ops
|
||
int (*connect) (int s, void *addr, socklen_t length);
|
||
int (*sendmsg) (int s, const void *msg, int flags);
|
||
int (*recvmsg) (int s, void *msg, int flags);
|
||
+#elif defined(__INTERIX)
|
||
+ ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
||
+ struct timeval *timeout);
|
||
+ ssize_t (*waitpid) (pid_t pid, int *status, int options);
|
||
+ int (*accept) (int s, struct sockaddr *addr, socklen_t *length_ptr);
|
||
+ int (*connect) (int s, struct sockaddr *addr, socklen_t length);
|
||
+ int (*sendmsg) (int s, const void *msg, int flags);
|
||
+ int (*recvmsg) (int s, void *msg, int flags);
|
||
#else
|
||
ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
||
struct timeval *timeout);
|
||
@@ -119,6 +133,14 @@ int ath_accept (int s, void *addr, int *
|
||
int ath_connect (int s, void *addr, int length);
|
||
int ath_sendmsg (int s, const void *msg, int flags);
|
||
int ath_recvmsg (int s, void *msg, int flags);
|
||
+#elif defined(__INTERIX)
|
||
+ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
||
+ struct timeval *timeout);
|
||
+ssize_t ath_waitpid (pid_t pid, int *status, int options);
|
||
+int ath_accept (int s, struct sockaddr *addr, socklen_t *length_ptr);
|
||
+int ath_connect (int s, struct sockaddr *addr, socklen_t length);
|
||
+int ath_sendmsg (int s, const void *msg, int flags);
|
||
+int ath_recvmsg (int s, void *msg, int flags);
|
||
#else
|
||
ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
||
struct timeval *timeout);
|