lib/k2htransfunc.cc
bool k2h_trans_cntl(k2h_h handle, PTRANSOPT pOpt)
{
	if(!pOpt){
		ERR_K2HPRN("Parameters are wrong.");
		return false;
	}
	if(pOpt->isEnable && '\0' == pOpt->szFilePath[0]){
		ERR_K2HPRN("Transaction enabled flag but file path is empty.");
		return false;
	}
	// if enabled, this default transaction control function does not use param.

	return true;
}
//
// This default transaction control function needs a file path when enabling.
// The file path parameter is checked here.
//
This default transaction control function needs a file path when enabling.
The file path parameter is checked here.
This default transaction control function needs a file path when enabling . The file path parameter is checked here .
bool k2h_trans_cntl(k2h_h handle, PTRANSOPT pOpt)
{
	if(!pOpt){
		ERR_K2HPRN("Parameters are wrong.");
		return false;
	}
	if(pOpt->isEnable && '\0' == pOpt->szFilePath[0]){
		ERR_K2HPRN("Transaction enabled flag but file path is empty.");
		return false;
	}
	return true;
}
bool k2h_trans_cntl ( k2h_h handle , PTRANSOPT pOpt ) { if ( ! pOpt ) { ERR_K2HPRN ( " " ) ; return false ; } if ( pOpt -> isEnable && ' \0 ' == pOpt -> szFilePath [ 0 ] ) { ERR_K2HPRN ( " " ) ; return false ; } return true ; }
This default transaction control function needs a file path when enabling.
This default transaction control function needs a file path when enabling .
// if enabled, this default transaction control function does not use param.