Skip to content

Commit

Permalink
session server ssh UPDATE add ssh_sess param to cb
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Oct 19, 2023
1 parent 754e38c commit 833b78f
Show file tree
Hide file tree
Showing 4 changed files with 982 additions and 2,906 deletions.
6 changes: 1 addition & 5 deletions src/session_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,7 @@ struct nc_server_opts {
void *pubkey_auth_data;
void (*pubkey_auth_data_free)(void *data);

int (*interactive_auth_sess_clb)(const struct nc_session *session, ssh_session ssh_sess, ssh_message msg, void *user_data);
void *interactive_auth_sess_data;
void (*interactive_auth_sess_data_free)(void *data);

int (*interactive_auth_clb)(const struct nc_session *session, ssh_message msg, void *user_data);
int (*interactive_auth_clb)(const struct nc_session *session, ssh_session ssh_sess, ssh_message msg, void *user_data);
void *interactive_auth_data;
void (*interactive_auth_data_free)(void *data);

Expand Down
Loading

0 comments on commit 833b78f

Please sign in to comment.