valid_link

ds2.1.1/lib/doc/applies/master/valid_link · 450 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

valid_link - controls the use of the link efun

int valid_link( string from, string to );

The driver calls valid_link(from, to) in the master object from inside the
link(from, to) efunction.  If valid_link() returns 0, then the link()
will fail.  If valid_link() returns 1, then the link will succeed if
rename() would succeed if called with the same arguments.

See also:
 link

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571