summaryrefslogtreecommitdiffhomepage
path: root/wireguard-go-rs/libwg/libwg.h
blob: 23c87092ccbf636b14cff97288fc499b969e6081 (plain)
1
2
3
4
5
6
7
8
#include <stdint.h>
#include <stdbool.h>

/// Activate DAITA for the specified tunnel.
int32_t wgActivateDaita(int32_t tunnelHandle, uint8_t* noisePublic, char* machines, uint32_t eventsCapacity, uint32_t actionsCapacity);
char* wgGetConfig(int32_t tunnelHandle);
int32_t wgSetConfig(int32_t tunnelHandle, char* cSettings);
void wgFreePtr(void*);