if ( strncmp(op_type, "status", strlen("status")) == 0 ) { 
if ( 0 == STRNCMP_CONST(op_type, "status") ) { 
map_ra_retvalue(int ret_execra, const char * op_type, const char * std_output){		/* Now there is no formal related specification for Heartbeat RA 	 * scripts. Temporarily deal as LSB init script.	 */	/* Except op_type equals 'status', the UNIFORM_RET_EXECRA is compatible	   with LSB standard.	*/	const char * stop_pattern1 = "*stopped*",		   * stop_pattern2 = "*not*running*",		   * running_pattern1 = "*running*",		   * running_pattern2 = "*OK*";	const char * lower_std_output = NULL;		if ( strncmp(op_type, "status", strlen("status")) == 0 ) {		if (std_output == NULL ) {			cl_log(LOG_WARNING, "The heartbeat RA may not to output "				"status string, such as 'running', to stdout.");			return EXECRA_UNKNOWN_ERROR; /* EXECRA_NOT_RUNNING ? */		}	 	lower_std_output = g_ascii_strdown(std_output, -1);		if ( TRUE == g_pattern_match_simple(stop_pattern1			, lower_std_output) || TRUE ==			g_pattern_match_simple(stop_pattern2			, lower_std_output) ) {			return EXECRA_NOT_RUNNING; /* stopped */		}		if ( TRUE == g_pattern_match_simple(running_pattern1			, lower_std_output) || TRUE ==			g_pattern_match_simple(running_pattern2			, std_output) ) {			return EXECRA_OK; /* running */		}	}	/* For none-status operation return code */	if ( ret_execra < 0 || ret_execra > 7 ) {		ret_execra = EXECRA_UNKNOWN_ERROR;	}	return ret_execra;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/9cfed08f203cafc1f25c4bf98b058e375dcc500c/raexechb.c/clean/lib/plugins/lrm/raexechb.c