diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-31 22:52:01 +0100 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-31 22:52:01 +0100 |
commit | 3c06f6a0b234822c7b2d6c63ef1aaf554af7167b (patch) | |
tree | 86e5fe626cb9cbade752baf2440badfa19976200 /openbsd-compat/bsd-cygwin_util.h | |
parent | - (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain (diff) | |
download | openssh-3c06f6a0b234822c7b2d6c63ef1aaf554af7167b.tar.xz openssh-3c06f6a0b234822c7b2d6c63ef1aaf554af7167b.zip |
- (bal) Reorder. Move all bsd-*, fake-*, next-*, and cygwin* stuff to
openbsd-compat/. And resolve all ./configure and Makefile.in issues
assocated.
Logic:
* All OpenBSD functions should have the same filename as in the OpenBSD
tree
* All 'home brew' functions have bsd-* infront of them.
* All 'not really implemented' functions have fake-* infront of them.
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h new file mode 100644 index 000000000..bf90d0293 --- /dev/null +++ b/openbsd-compat/bsd-cygwin_util.h @@ -0,0 +1,28 @@ +/* + * + * 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, ...); +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 */ |