24 lines
597 B
C
24 lines
597 B
C
#ifndef DEPLOYD_SERVER_H_
|
|
#define DEPLOYD_SERVER_H_
|
|
|
|
#include "conf.h"
|
|
|
|
#include "def.h"
|
|
#include "log.h"
|
|
|
|
#include <sqlite3.h>
|
|
|
|
#define DP_SERVER_LOG "server"
|
|
#define DP_SSL_LOG "SSL"
|
|
#define DP_WORKER_LOG "worker"
|
|
#define DP_MAX_LISTENS 16
|
|
|
|
bool dp_deployd_server(const char *hosts[],
|
|
uint8_t hosts_size,
|
|
uint16_t threads,
|
|
const char *cert_file,
|
|
const char *key_file,
|
|
sqlite3 *database,
|
|
dp_Logger *logger);
|
|
|
|
#endif /* DEPLOYD_SERVER_H_ */
|