diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -26,13 +26,20 @@ | |||
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ | 28 | */ |
29 | /* RCSID("$Id: compat.h,v 1.4 2000/04/04 04:39:01 damien Exp $"); */ | 29 | /* RCSID("$Id: compat.h,v 1.5 2000/04/12 10:17:39 damien Exp $"); */ |
30 | 30 | ||
31 | #ifndef COMPAT_H | 31 | #ifndef COMPAT_H |
32 | #define COMPAT_H | 32 | #define COMPAT_H |
33 | |||
34 | #define SSH_PROTO_UNKNOWN 0x00 | ||
35 | #define SSH_PROTO_1 0x01 | ||
36 | #define SSH_PROTO_1_PREFERRED 0x02 | ||
37 | #define SSH_PROTO_2 0x04 | ||
38 | |||
33 | void enable_compat13(void); | 39 | void enable_compat13(void); |
34 | void enable_compat20(void); | 40 | void enable_compat20(void); |
35 | void compat_datafellows(const char *s); | 41 | void compat_datafellows(const char *s); |
42 | int proto_spec(const char *spec); | ||
36 | extern int compat13; | 43 | extern int compat13; |
37 | extern int compat20; | 44 | extern int compat20; |
38 | extern int datafellows; | 45 | extern int datafellows; |