struct ssh_packet_callbacks_struct

Overview

#include <include/libssh/callbacks.h>

struct ssh_packet_callbacks_struct {
    // fields

    ssh_packet_callback* callbacks;
    uint8_t n_callbacks;
    uint8_t start;
    void* user;
};

Detailed Documentation

Fields

ssh_packet_callback* callbacks

A pointer to n_callbacks packet callbacks.

uint8_t n_callbacks

Number of packets being handled by this callback struct.

uint8_t start

Index of the first packet type being handled.

void* user

User-provided data.

User is free to set anything he wants here