* and slightly modified.
************************************************************/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#ifndef _LIBNFS_ZDR_H_
#define _LIBNFS_ZDR_H_
+#ifdef WIN32
+#ifndef CADDR_T_DEFINED
+#define CADDR_T_DEFINED
+typedef char *caddr_t;
+#endif
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
/* we dont need these */
typedef void CLIENT;
struct svc_req {
+ int _dummy_;
};
typedef void SVCXPRT;
typedef int (*zdrproc_t) (ZDR *, void *,...);
-/* XXX find out what we can get rid of */
-
#define AUTH_NONE 0
#define AUTH_NULL 0
#define AUTH_UNIX 1