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.12 2001/01/05 14:07:01 grubba Exp $ +  * $Id: module.pmod.in,v 1.13 2001/01/05 21:38:10 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:87:       //! Call a function for each entry in the map.    //!    //! 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, fn); +  domain->map(ypmap, fun);    }       //! Return the server that provides this map.    string server()    {    return(domain->server(ypmap));    }       //! Return the order number for this map.    int order()