urbackup_backend/fileservplugin/settings.h
2017-12-17 15:49:34 +01:00

28 lines
466 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 FILESERV_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