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
+53
View File
@@ -0,0 +1,53 @@
/***************************************************************************
FHS Control Class Header ( FhsControl.h )
-----------------------------------------
begin : 2013/02/26
copyright : (C) 2013 Solbox Inc.
author : Development 1 Team
- 2013/02/26 - 1st dadamin
email : dev1@solbox.com
version : 3.2.0
CopyRight(C) 2005 Solbox Inc. All Rights reserved.
Redistribution and use in source and binary forms, with or with out
modification, are not permitted in outside of Solbox Inc.
***************************************************************************/
#ifndef __FHS_CONTROL_H__
#define __FHS_CONTROL_H__
#include "FtsdSocketControl.h"
class CFhsControl
{
public:
CFhsControl();
~CFhsControl();
bool Create(const char * rcid, const char * IP, int Port, bool isBroadcast);
bool MkServiceRootDir(CJobDataMap & jobData);
bool GetFront10MMD5(CJobDataMap & jobData);
bool SendAnonyDir(CJobDataMap & jobData, string targeturi);
bool GetTotoExtractWithplatform(CJobDataMap & jobData);
bool IsCreated();
protected:
private:
unsigned int ConversionAddr( const char * name );
// broadcast
int m_broadcastfd;
struct sockaddr_in m_broadcastAddr;
// ftsd
CFtsdSocketControl m_ftsd;
bool m_bcreated;
string m_rcid;
};
#endif // __FHS_CONTROL_H__