]> andersk Git - openssh.git/blame - openbsd-compat/bsd-cygwin_util.h
- (djm) Apply Cygwin pointer deref fix from Corinna Vinschen
[openssh.git] / openbsd-compat / bsd-cygwin_util.h
CommitLineData
2f125ca1 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
0b202697 16/* $Id$ */
17
58e7f038 18#ifndef _BSD_CYGWIN_UTIL_H
19#define _BSD_CYGWIN_UTIL_H
2f125ca1 20
21#ifdef HAVE_CYGWIN
22
fe56c12b 23#include <io.h>
24
7322ef0e 25int binary_open(const char *filename, int flags, ...);
2f125ca1 26int binary_pipe(int fd[2]);
e9571a2c 27int check_nt_auth(int pwd_authenticated, struct passwd *pw);
2f125ca1 28int check_ntsec(const char *filename);
ffb8d130 29void register_9x_service(void);
2f125ca1 30
31#define open binary_open
32#define pipe binary_pipe
33
34#endif /* HAVE_CYGWIN */
58e7f038 35
36#endif /* _BSD_CYGWIN_UTIL_H */
This page took 2.298064 seconds and 5 git commands to generate.