2023-09-24 11:07:03 -04:00
|
|
|
#ifndef SRV_DEFINE_H__
|
|
|
|
#define SRV_DEFINE_H__
|
2023-09-24 08:45:40 -04:00
|
|
|
|
|
|
|
#include "../SQCSim-common/define.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <cctype>
|
|
|
|
#include <string>
|
2023-09-24 11:07:03 -04:00
|
|
|
|
|
|
|
#define MAX_CONNECTIONS 16
|
2023-09-28 09:15:39 -04:00
|
|
|
#define ID_LIST_SIZE 127
|
2023-10-18 09:33:56 -04:00
|
|
|
#define SRV_MANUAL_SETUP true
|
2023-09-28 09:15:39 -04:00
|
|
|
|
2023-10-26 10:39:08 -04:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define strcpy strcpy_s
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 11:07:03 -04:00
|
|
|
typedef unsigned char LogDest;
|
|
|
|
enum LOG_DEST { CONSOLE, LOGFILE, LOG_LAST };
|
2023-09-24 08:45:40 -04:00
|
|
|
|
2023-10-01 11:52:07 -04:00
|
|
|
#endif
|