summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cygwin_util.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-04-14 00:28:42 +1000
committerDamien Miller <djm@mindrot.org>2001-04-14 00:28:42 +1000
commit402b3319456c1f0da0822319c3813c68e155726d (patch)
treeb9e1a10032f4f13327ba72e1f2a69e6ceaca776a /openbsd-compat/bsd-cygwin_util.h
parent6e77a538ca63f2ecbab74656839e77084a2db425 (diff)
- Cygwin sftp/sftp-server binary mode patch from Corinna Vinschen
<vinschen@redhat.com>
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r--openbsd-compat/bsd-cygwin_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h
index e2d4b4dae..7879501e0 100644
--- a/openbsd-compat/bsd-cygwin_util.h
+++ b/openbsd-compat/bsd-cygwin_util.h
@@ -13,13 +13,15 @@
13 * binary mode on Windows systems. 13 * binary mode on Windows systems.
14 */ 14 */
15 15
16/* $Id: bsd-cygwin_util.h,v 1.3 2001/02/18 01:30:56 djm Exp $ */ 16/* $Id: bsd-cygwin_util.h,v 1.4 2001/04/13 14:28:43 djm Exp $ */
17 17
18#ifndef _BSD_CYGWIN_UTIL_H 18#ifndef _BSD_CYGWIN_UTIL_H
19#define _BSD_CYGWIN_UTIL_H 19#define _BSD_CYGWIN_UTIL_H
20 20
21#ifdef HAVE_CYGWIN 21#ifdef HAVE_CYGWIN
22 22
23#include <io.h>
24
23int binary_open(const char *filename, int flags, ...); 25int binary_open(const char *filename, int flags, ...);
24int binary_pipe(int fd[2]); 26int binary_pipe(int fd[2]);
25int check_nt_auth(int pwd_authenticated, uid_t uid); 27int check_nt_auth(int pwd_authenticated, uid_t uid);