This commit is contained in:
biosvos
2026-08-07 17:38:18 +09:00
commit 873193a243
9613 changed files with 2755992 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
/***************************************************************************
ftsd ( File TranSfer Daemon ) Common Header
-----------------------------------------
begin : 2010/02/25
copyright : (C) 2005 SolutionBox Inc.
author : Service 1 Team
email : svc1@solbox.com
version : 1.0
CopyRight(C) 2005 SolutionBox Inc. All Rights reserved.
Redistribution and use in source and binary forms, with or with out
modification, are not permitted in outside of SolutionBox Inc.
***************************************************************************/
#ifndef __DEFINE_FTSD_H__
#define __DEFINE_FTSD_H__
#include <unistd.h>
#include <string>
#ifdef __cplusplus
extern "C" {
#endif
// Global Config object
struct st_config
{
std::string szLogDir;
std::string szStorageRoot;
std::string szInternalNicName;
int nLogLevel;
int nWorkerProcessCount;
int nMaxFileSendThread;
int nFhsInternalIpCacheTimeout;
int nProperStorageRefresPeriod;
int nMaxBandwidthUse;
st_config()
{
nWorkerProcessCount = 0;
nMaxFileSendThread = 0;
nFhsInternalIpCacheTimeout = 0;
nProperStorageRefresPeriod = 0;
nMaxBandwidthUse = 0;
nLogLevel = 0;
}
};
#ifdef __cplusplus
}
#endif
#endif /* __DEFINE_FTSD_H__ */