valid_read
final_realms_fluffos_v1/lib/doc/driver/applies/valid_read · 617 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
./"checks if a certain person has read permission on a file .DT valid_read Discworld driver help valid_read Name .SI 5 valid_read - checks if a certain person has read permission on a file .EI Synopsis .SI 5 int valid_read(string file, mixed user, string func); .EI Description .SP 5 5 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. .EP See also .SI 5 valid_write(4) .EI