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.14 2001/04/26 14:13:09 grubba Exp $ +  * $Id: module.pmod.in,v 1.15 2001/10/28 18:04:47 nilsson Exp $    *    * YP (NIS) Functionality for Pike    *    * Per Hedbor & Henrik Grubbström 1996-1997    */      #pike __REAL_VERSION__   inherit @module@;      #if constant(@module@.Domain)
pike.git/src/modules/Yp/module.pmod.in:81:    {    return(domain->all(ypmap));    }    mapping(string:string) cast_to_mapping()    {    return(domain->all(ypmap));    }       //! Call a function for each entry in the map.    //! -  //! For each entry in the map, call the function @[fun()]. +  //! For each entry in the map, call the function @[fun].    //!    //! The function will be called like    //! @tt{void fun(string key, string value)@}.    //!    void map(function(string,string:void) fun)    {    domain->map(ypmap, fun);    }       //! Return the server that provides this map.