pike.git / src / modules / Yp / module.pmod.in

version» Context lines:

pike.git/src/modules/Yp/module.pmod.in:1:   /* -  * $Id: module.pmod.in,v 1.8 1997/06/10 20:31:04 grubba Exp $ +  * $Id: module.pmod.in,v 1.9 1999/08/25 05:07:57 hubbe Exp $    *    * YP (NIS) Functionality for Pike    *    * Per Hedbor & Henrik Grubbström 1996-1997    */      inherit @module@;    -  + #if constant(@module@.Domain) +    // Usual nicknames   constant nicknames = ([    "passwd":"passwd.byname",    "group":"group.byname",    "networks":"networks.byaddr",    "hosts":"hosts.byname",    "protocols":"protocols.bynumber",    "services":"services.byname",    "aliases":"mail.aliases",    "ethers":"ethers.byname"
pike.git/src/modules/Yp/module.pmod.in:86:    {    switch(type) {    case "mapping":    return(cast_to_mapping());    default:    throw(({ "Yp.YpDomain: Cast to " + type + " not supported.\n",    backtrace() }));    }    }   }; +  + #endif   Newline at end of file removed.