VALID_OV.C

LIB3/SECURE/MASTER/VALID_OV.C · 335 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

int     valid_override( string file, string func )
{
    string *bing;

    bing = explode( file, "/" ) - ({ "", "." });
    switch( bing[ 0 ] )
    {
	case "secure":
	    return 1;
	case "std":
	case "obj":
	case "simul_efun":
	case "global":
	    return( func != "snoop" );
	default:
	    return 0;
    }
}				/* valid_override() */

Site Stats

Snippets: 1791
Codebases: 571