mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-17 07:34:34 +00:00
72c9a7e958
- (djm) A bit more cleanup - created cygwin_util.h
29 lines
659 B
C
29 lines
659 B
C
/*
|
|
*
|
|
* cygwin_util.c
|
|
*
|
|
* Author: Corinna Vinschen <vinschen@cygnus.com>
|
|
*
|
|
* Copyright (c) 2000 Corinna Vinschen <vinschen@cygnus.com>, Duisburg, Germany
|
|
* All rights reserved
|
|
*
|
|
* Created: Sat Sep 02 12:17:00 2000 cv
|
|
*
|
|
* This file contains functions for forcing opened file descriptors to
|
|
* binary mode on Windows systems.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#ifdef HAVE_CYGWIN
|
|
|
|
int binary_open(const char *filename, int flags, mode_t mode);
|
|
int binary_pipe(int fd[2]);
|
|
int check_nt_auth(int pwd_authenticated, uid_t uid);
|
|
int check_ntsec(const char *filename);
|
|
|
|
#define open binary_open
|
|
#define pipe binary_pipe
|
|
|
|
#endif /* HAVE_CYGWIN */
|