summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygxdr.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-03-03 15:05:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-03-03 15:05:19 +0000
commit53c24915c4ee4e2b4460519e5a72ccc3702c5a0b (patch)
treea0cd1cd79d5693470926c1a787cfeff21e090dce /winsup/cygwin/cygxdr.h
parent6fc25b2d1e77e48241219400fe840249697c6a56 (diff)
downloadcygnal-53c24915c4ee4e2b4460519e5a72ccc3702c5a0b.tar.gz
cygnal-53c24915c4ee4e2b4460519e5a72ccc3702c5a0b.tar.bz2
cygnal-53c24915c4ee4e2b4460519e5a72ccc3702c5a0b.zip
Add XDR support.
* cygwin.din: Export xdr functions. * include/cygwin/version.h: Bump version. * cygxdr.cc: New. * cygxdr.h: New. * dcrt0.cc (dll_crt0_1): Print the (rare) xdr-related error messages to stderr. * Makefile.in: Add cygxdr. * posix.sgml: Add new XDR functions to list of implemented Solaris functions.
Diffstat (limited to 'winsup/cygwin/cygxdr.h')
-rw-r--r--winsup/cygwin/cygxdr.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/winsup/cygwin/cygxdr.h b/winsup/cygwin/cygxdr.h
new file mode 100644
index 000000000..e8b1319ad
--- /dev/null
+++ b/winsup/cygwin/cygxdr.h
@@ -0,0 +1,25 @@
+/* cygxdr.h:
+
+ Copyright 2010 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+#ifndef _CYGXDR_H
+#define _CYGXDR_H
+
+extern "C"
+{
+
+typedef void (*xdr_vprintf_t)(const char *, va_list);
+
+xdr_vprintf_t xdr_set_vprintf (xdr_vprintf_t);
+
+void cygxdr_vwarnx (const char *, va_list);
+
+}
+
+#endif
+