~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to sftp.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-30 23:09:58 UTC
  • mfrom: (1.13.3 upstream) (29 hardy)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20080930230958-o6vsgn8c4mm959s0
Tags: 1:5.1p1-3
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
  compromised or unknown keys were found (closes: #496495).
* Configure with --disable-strip; dh_strip will deal with stripping
  binaries and will honour DEB_BUILD_OPTIONS (thanks, Bernhard R. Link;
  closes: #498681).
* Fix handling of zero-length server banners (thanks, Tomas Mraz; closes:
  #497026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $OpenBSD: sftp.h,v 1.5 2006/03/25 22:22:43 djm Exp $ */
 
1
/* $OpenBSD: sftp.h,v 1.9 2008/06/13 00:12:02 dtucker Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright (c) 2001 Markus Friedl.  All rights reserved.
79
79
#define SSH2_FXF_TRUNC                  0x00000010
80
80
#define SSH2_FXF_EXCL                   0x00000020
81
81
 
 
82
/* statvfs@openssh.com f_flag flags */
 
83
#define SSH2_FXE_STATVFS_ST_RDONLY      0x00000001
 
84
#define SSH2_FXE_STATVFS_ST_NOSUID      0x00000002
 
85
 
82
86
/* status messages */
83
87
#define SSH2_FX_OK                      0
84
88
#define SSH2_FX_EOF                     1
90
94
#define SSH2_FX_CONNECTION_LOST         7
91
95
#define SSH2_FX_OP_UNSUPPORTED          8
92
96
#define SSH2_FX_MAX                     8
 
97
 
 
98
struct passwd;
 
99
 
 
100
int     sftp_server_main(int, char **, struct passwd *);
 
101
void    sftp_server_cleanup_exit(int) __attribute__((noreturn));