Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
45fd65be
Commit
45fd65be
authored
Oct 19, 1998
by
Niels Möller
Browse files
*** empty log message ***
Rev: src/channel.h:1.2
parent
2dfa2e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/channel.h
View file @
45fd65be
...
@@ -29,11 +29,24 @@ struct ssh_channel
...
@@ -29,11 +29,24 @@ struct ssh_channel
UINT32
send_window_size
;
UINT32
send_window_size
;
UINT32
send_max_packet
;
UINT32
send_max_packet
;
int
recieved_close
;
int
sent_close
;
int
recieved_eof
;
int
sent_eof
;
/* Type is CHANNEL_DATA or CHANNEL_STDERR_DATA */
/* Type is CHANNEL_DATA or CHANNEL_STDERR_DATA */
int
(
*
recieve
)(
struct
ssh_channel
*
self
,
int
type
,
struct
lsh_string
*
data
);
int
(
*
recieve
)(
struct
ssh_channel
*
self
,
struct
abstract_write
*
write
,
int
type
,
struct
lsh_string
*
data
);
/* Type is CHANNEL_EOF or CHANNEL_CLOSE */
/* Type is CHANNEL_EOF or CHANNEL_CLOSE */
int
(
*
close
)(
struct
ssh_channel
*
self
,
int
type
);
int
(
*
close
)(
struct
ssh_channel
*
self
,
struct
abstract_write
*
write
,
int
type
);
};
};
#define CHANNEL_RECIEVE(s, w, t, d) \
((s)->recieve((s), (w), (t), (d)))
#define CHANNEL_CLOSE(s, w, t) \
((s)->close((s), (w), (t)))
#endif
/* LSH_CHANNEL_H_INCLUDED */
#endif
/* LSH_CHANNEL_H_INCLUDED */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment