]> andersk Git - openssh.git/blob - openbsd-compat/bsd-cygwin_util.h
- (djm) Fix my breaking of cygwin builds, Patch from Corinna Vinschen
[openssh.git] / openbsd-compat / bsd-cygwin_util.h
1 /*
2  *
3  * cygwin_util.c
4  *
5  * Author: Corinna Vinschen <vinschen@cygnus.com>
6  *
7  * Copyright (c) 2000 Corinna Vinschen <vinschen@cygnus.com>, Duisburg, Germany
8  *                    All rights reserved
9  *
10  * Created: Sat Sep 02 12:17:00 2000 cv
11  *
12  * This file contains functions for forcing opened file descriptors to
13  * binary mode on Windows systems.
14  */
15
16 /* $Id$ */
17
18 #ifndef _BSD_CYGWIN_UTIL_H
19 #define _BSD_CYGWIN_UTIL_H
20
21 #ifdef HAVE_CYGWIN
22
23 int binary_open(const char *filename, int flags, ...);
24 int binary_pipe(int fd[2]);
25 int check_nt_auth(int pwd_authenticated, uid_t uid);
26 int check_ntsec(const char *filename);
27
28 #define open binary_open
29 #define pipe binary_pipe
30
31 #endif /* HAVE_CYGWIN */
32
33 #endif /* _BSD_CYGWIN_UTIL_H */
This page took 0.06249 seconds and 5 git commands to generate.