#!/bin/bash
#
#FilterMonitorCommonFunc ver1.0.0	
#
# usage: 
#	FM_FileChk callfunc=$1 tracelevel=$2 filename=$3
#
# Description: 
#	for check the file exist only for debug
#
#Copyright (C) 2012 NEC Corporation.
#If you tamper with the source, the behavior of the FilterMonitor is not guaranteed.
############################################################################################################

FM_FileChk()
{
    retval=0
    callfunc=$1
    tracelevel=$2
    filename=$3

    if [ -f $3 ]
    then
	retval=1
    else
        retval=0
    fi

    return $retval
}
