]> andersk Git - openssh.git/blobdiff - channels.h
- (stevesk) OpenBSD CVS sync X11 localhost display
[openssh.git] / channels.h
index 090d2ca6e64601cdfa9927ab6d600c8b77d25ee8..840268fcf85ac00a516fcfb52ec7992881ca857f 100644 (file)
@@ -32,7 +32,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-/* RCSID("$OpenBSD: channels.h,v 1.49 2001/10/09 21:59:41 markus Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.53 2001/11/29 21:10:51 stevesk Exp $"); */
 
 #ifndef CHANNEL_H
 #define CHANNEL_H
@@ -56,7 +56,7 @@
 #define SSH_CHANNEL_ZOMBIE             14      /* Almost dead. */
 #define SSH_CHANNEL_MAX_TYPE           15
 
-#define SSH_CHANNEL_PATH_LEN           30
+#define SSH_CHANNEL_PATH_LEN           256
 
 struct Channel;
 typedef struct Channel Channel;
@@ -197,8 +197,7 @@ channel_request_forwarding(const char *, u_short, const char *, u_short, int,
 /* x11 forwarding */
 
 int     x11_connect_display(void);
-char   *x11_create_display(int);
-char   *x11_create_display_inet(int, int);
+int     x11_create_display_inet(int, int);
 void     x11_input_open(int, int, void *);
 void     x11_request_forwarding(void);
 void    x11_request_forwarding_with_spoofing(int, const char *, const char *);
@@ -214,7 +213,7 @@ void         auth_input_open_request(int, int, void *);
 
 /* channel close */
 
-int     chan_is_dead(Channel *);
+int     chan_is_dead(Channel *, int);
 void    chan_mark_dead(Channel *);
 void    chan_init_iostates(Channel *);
 void    chan_init(void);
This page took 0.034671 seconds and 4 git commands to generate.