Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.h
Parent Directory
| Revision Log
| Patch
| 786 |
#define get_mpint_len(pvar, offset) ((get_ushort16_MSBfirst((pvar)->ssh_state.payload + (offset)) + 7) >> 3) |
#define get_mpint_len(pvar, offset) ((get_ushort16_MSBfirst((pvar)->ssh_state.payload + (offset)) + 7) >> 3) |
| 787 |
#define get_ushort16(buf) get_ushort16_MSBfirst((buf)) |
#define get_ushort16(buf) get_ushort16_MSBfirst((buf)) |
| 788 |
/// |
/// |
|
|
|
|
/* Global request confirmation callbacks */ |
|
|
typedef void global_confirm_cb(PTInstVar pvar, int type, unsigned int seq, void *ctx); |
|
|
void client_register_global_confirm(global_confirm_cb *cb, void *ctx); |
|
| 789 |
|
|
| 790 |
/* Global request success/failure callbacks */ |
/* Global request confirmation callbacks */ |
| 791 |
struct global_confirm { |
typedef void global_confirm_cb(PTInstVar pvar, int type, unsigned int seq, void *ctx); |
| 792 |
global_confirm_cb *cb; |
void client_register_global_confirm(global_confirm_cb *cb, void *ctx); |
| 793 |
void *ctx; |
|
| 794 |
int ref_count; |
/* Global request success/failure callbacks */ |
| 795 |
|
struct global_confirm { |
| 796 |
|
global_confirm_cb *cb; |
| 797 |
|
void *ctx; |
| 798 |
|
int ref_count; |
| 799 |
}; |
}; |
| 800 |
|
|
| 801 |
#endif |
#endif |
|
|
Legend:
| Removed from v.5850 |
|
| changed lines |
| |
Added in v.5916 |
|
|
| |