/**************************************************************************** sh_statusd : Application status monitoring daemon for OpenDisk service CopyRight(C) 2005 SolutionBox Inc. All Rights reserved. Author : Sean Kim (sean@0x31.com) $Id: global.h,v 1.4 2006/10/24 08:35:32 elenoa Exp $ Redistribution and use in source and binary forms, with or with out modification, are not permitted in outside of SolutionBox Inc. ****************************************************************************/ #ifndef __GLOBAL_H__ #define __GLOBAL_H__ #define HOST_NAME "192.168.0.136" #define CFGFILE "/user/service/etc/sh_statusd.conf" #define RCACCT_CONF_PATH "/user/service/etc/rcacct.conf" #define DEFAULT_LOGFILE_PATH "/user/service/logs/new_sh_statusd/" #define DEFAULT_RC_CHECK_BIN "/user/service/bin/rccheck" #define PID_FILE_PATH "/user/service/pid/new_sh_statusd.pid" #define MAXREADLINE 1024 #define MaxSizeOfSndBuffer 1024*8 #define GetServStatusCmd "GET_SERVSTATUS" #define RequestServUpdateCmd "REQUEST_SERV_UPDATE" #define INSERT 1 #define UPDATE 2 #define DELETE 3 #endif