mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-02 13:03:16 +01:00
19 lines
373 B
C
19 lines
373 B
C
#include "tmate.h"
|
|
|
|
struct tmate_encoder *tmate_encoder;
|
|
|
|
static struct tmate_ssh_client client;
|
|
static struct tmate_encoder encoder;
|
|
static struct tmate_decoder decoder;
|
|
|
|
void tmate_client_start(void)
|
|
{
|
|
tmate_encoder_init(&encoder);
|
|
tmate_decoder_init(&decoder);
|
|
tmate_encoder = &encoder;
|
|
|
|
tmate_ssh_client_init(&client, &encoder, &decoder);
|
|
|
|
tmate_write_header();
|
|
}
|