1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 11:56:44 +02:00

Use DNS server list instead of hard coding domains/keys

This commit is contained in:
Jfreegman
2014-08-10 21:40:19 -04:00
parent 2f12a8d429
commit d9a861331f
6 changed files with 145 additions and 36 deletions

View File

@ -42,6 +42,9 @@ void host_to_net(uint8_t *num, uint16_t numbytes);
/* convert a hex string to binary */
char *hex_string_to_bin(const char *hex_string);
/* convert a hex string to bytes. returns 0 on success, -1 on failure */
int hex_string_to_bytes(char *buf, int size, const char *keystr, int strsize);
/* get the current unix time */
uint64_t get_unix_time(void);