From b0d8ed94fe9e74afb49fdf5f11e4add29879c65c Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Thu, 12 Apr 2007 20:30:08 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (4.1.1) --- src/pluto/rsaref/unix.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/pluto/rsaref/unix.h (limited to 'src/pluto/rsaref/unix.h') diff --git a/src/pluto/rsaref/unix.h b/src/pluto/rsaref/unix.h new file mode 100644 index 000000000..2e7eb6663 --- /dev/null +++ b/src/pluto/rsaref/unix.h @@ -0,0 +1,24 @@ + + +#ifndef UNIX_H +#define UNIX_H + +#define CK_PTR * + +#define CK_DEFINE_FUNCTION(returnType, name) \ + returnType name + +#define CK_DECLARE_FUNCTION(returnType, name) \ + returnType name + +#define CK_DECLARE_FUNCTION_POINTER(returnType, name) \ + returnType (* name) + +#define CK_CALLBACK_FUNCTION(returnType, name) \ + returnType (* name) + +#ifndef NULL_PTR +#define NULL_PTR 0 +#endif + +#endif -- cgit v1.2.3