mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
28 lines
457 B
C++
28 lines
457 B
C++
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
|
|
#include "types.h"
|
|
|
|
#include <string>
|
|
|
|
const _i32 BUFFERSIZE=1024;
|
|
const _i32 NBUFFERS=32;
|
|
const _i32 READSIZE=32768;
|
|
const _i32 SENDSIZE=16384;
|
|
const uchar VERSION=36;
|
|
const _i32 WINDOW_SIZE=512*1024; // 128 kbyte
|
|
|
|
#define DISABLE_WINDOW_SIZE
|
|
//#define LOG_FILE
|
|
//#define LOG_CONSOLE
|
|
//#define LOG_OFF
|
|
#define LOG_SERVER
|
|
#define DLL_EXPORT
|
|
#define CHECK_IDENT
|
|
#define BACKGROUND_PRIORITY
|
|
#define BACKUP_SEM
|
|
|
|
#endif
|
|
|