Move imports
This commit is contained in:
parent
3788480b43
commit
afe816bd30
7 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,7 @@
|
|||
#define MAX_DATA_LENGTH 8192
|
||||
|
||||
#define ADDRESS_SIZE MAX_NAME + 1 + 255 /* 1 for @, 255 for domain, defined in RFC 5321, Section 4.5.3.1.2 */
|
||||
#define CHALLENGE_SIZE 32
|
||||
#define HASH_SIZE crypto_generichash_BYTES
|
||||
#define NONCE_SIZE crypto_box_NONCEBYTES /* 24 */
|
||||
#define ADDITIONAL_SIZE crypto_box_MACBYTES /* 16 */
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LOG_ERROR 1
|
||||
#define LOG_INFO 2
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef SERVER_H_
|
||||
#define SERVER_H_
|
||||
|
||||
#define CHALLENGE_SIZE 32
|
||||
#define MAX_CONNECTION_QUEUE 128 /* for listen() */
|
||||
#define MAX_EVENTS 64 /* Max events can be returned simulataneouly by epoll */
|
||||
|
Loading…
Reference in a new issue