all repos — circe-vpn @ 556b655293e9ce71509a72ef3c98ea334b5aa85b

Circe VPN

core/platform.h (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
#ifndef CIRCE_CORE_PLATFORM_H
#define CIRCE_CORE_PLATFORM_H

#include "peer_table.h"
#include <stdbool.h>
#include <stdint.h>

void circe_platform_get_random_bytes (uint8_t *out, uint32_t len);

bool circe_platform_recall_peer (const uint8_t identity[CIRCE_IDENTITY_LEN],
                                 struct circe_peer *out);

#endif