/*************************************************************************** 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__ */