46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/***************************************************************************
|
|
rc_syncd Worker Header ( Worker.h )
|
|
-----------------------------------------
|
|
begin : 2014/09/02
|
|
copyright : (C) 2005 Solbox Inc.
|
|
author : Storage Dev Team
|
|
email : storage.sd@solbox.com
|
|
version : 3.4
|
|
|
|
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 __RC_SYNCD_WORKER_H__
|
|
#define __RC_SYNCD_WORKER_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Worker Process 의 main 함수
|
|
// @param listenSocket command, data 송수신을 위한 TCP Listen socket
|
|
// @return EXIT_FAILURE 모듈 초기화 실패시
|
|
// EXIT_SUCCESS 그 외 정상 종료
|
|
int WorkerMain( int listenSocket );
|
|
|
|
// Worker 프로세스 signal 처리 설정을 위한 함수
|
|
// @return void
|
|
void SetSignalWorker( void );
|
|
|
|
|
|
/* Signal 처리를 위한 각 Signal Handler 함수는
|
|
* 다른 Code 에서 Include 처리시 Static 관련 문제로 인해
|
|
* 본 Header 에서 선언처리 하지 않음. cpp 에만 존재
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* __RC_SYNCD_WORKER_H__ */
|
|
|
|
|