deployd/server/include/server.h
Arija A. d1d0aec439
Add dproto documentation
Signed-off-by: Arija A. <ari@ari.lt>
2025-07-24 23:55:42 +03:00

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_ */