ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/applies/master/valid_read
vvvvaaaalllliiiidddd____rrrreeeeaaaadddd((((4444)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) vvvvaaaalllliiiidddd____rrrreeeeaaaadddd((((4444))))
NNNNAAAAMMMMEEEE
valid_read - checks if a certain person has read permission
on a file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
int valid_read( string file, mixed user, string func );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Every time a user tries to read a file, thie driver calls
valid_read in the master object to check if the read should
be allowed. The arguments are the filename, the name of the
person making the read, and the calling function name. If
valid_read returns non-zero, the read is allowed.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
valid_write(4)
Page 1 (printed 3/16/95)