/*************************************************************************** rc_rmcd ( File Replication & Cache Control Daemon ) Header ( GetConfig.h ) ----------------------------------------- begin : 2010/03/03 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 __GET_CONFIG_H__ #define __GET_CONFIG_H__ #ifdef __cplusplus extern "C" { #endif /// @brief config file parsing and save to stConfig function /// @param szConfFile [in] Conf ÆÄÀÏ¿¡ ´ëÇÑ °æ·Î ¹× ÆÄÀÏ Á¤º¸ /// @param stConfig [out] Conf ÆÄÀÏÀÇ Á¤º¸¸¦ ÀúÀåÇϱâ À§ÇÑ st_config ÂüÁ¶º¯¼ö /// @param errorMessage [out] ¿À·ù¹ß»ý½Ã ÇØ´ç ¿À·ù Á¤º¸¸¦ ÀúÀåÇÏ¿© ¹ÝȯÇϱâ À§ÇÑ ÂüÁ¶º¯¼ö /// @return ¼º°ø½Ã true, ¿À·ù ¹ß»ý½Ã false ¸¦ ¹Ýȯ. »ó¼¼ÇÑ ¿À·ù Á¤º¸´Â errorMessage º¯¼ö¿¡ ÀúÀåµÊ. bool GetConfig( const std::string& szConfFile, struct st_config& stConfig, std::string& errorMessage); #ifdef __cplusplus } #endif #endif /* __GET_CONFIG_H__ */