24#include "libssh/callbacks.h"
41struct ssh_kbdint_struct {
50typedef struct ssh_kbdint_struct* ssh_kbdint;
52ssh_kbdint ssh_kbdint_new(
void);
53void ssh_kbdint_clean(ssh_kbdint kbd);
54void ssh_kbdint_free(ssh_kbdint kbd);
60enum ssh_auth_state_e {
62 SSH_AUTH_STATE_NONE=0,
64 SSH_AUTH_STATE_PARTIAL,
66 SSH_AUTH_STATE_SUCCESS,
68 SSH_AUTH_STATE_FAILED,
76 SSH_AUTH_STATE_KBDINT_SENT,
78 SSH_AUTH_STATE_GSSAPI_REQUEST_SENT,
80 SSH_AUTH_STATE_GSSAPI_TOKEN,
82 SSH_AUTH_STATE_GSSAPI_MIC_SENT,
84 SSH_AUTH_STATE_PUBKEY_OFFER_SENT,
86 SSH_AUTH_STATE_PUBKEY_AUTH_SENT,
88 SSH_AUTH_STATE_PASSWORD_AUTH_SENT,
90 SSH_AUTH_STATE_AUTH_NONE_SENT,
96enum ssh_auth_service_state_e {
98 SSH_AUTH_SERVICE_NONE=0,
100 SSH_AUTH_SERVICE_SENT,
102 SSH_AUTH_SERVICE_ACCEPTED,
104 SSH_AUTH_SERVICE_DENIED,
#define SSH_PACKET_CALLBACK(name)
This macro declares a packet callback handler.
Definition callbacks.h:560