diff channel.h @ 156:8c2b3506f112

Rearrange preprocessor parts so that compilation with various options disabled works OK.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 22 Dec 2004 15:37:50 +0000
parents 82fcf3185616
children 161557a9dde8
line wrap: on
line diff
--- a/channel.h	Mon Dec 20 14:46:12 2004 +0000
+++ b/channel.h	Wed Dec 22 15:37:50 2004 +0000
@@ -122,7 +122,7 @@
 const struct ChanType clichansess;
 #endif
 
-#ifdef USING_LISTENERS
+#if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT)
 int send_msg_channel_open_init(int fd, const struct ChanType *type);
 void recv_msg_channel_open_confirmation();
 void recv_msg_channel_open_failure();