Branch: Tag:

2019-04-20

2019-04-20 11:08:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

YP: Protect lfuns.

39:    //! in about ten minutes or so, an error will be returned. The timeout    //! is not configurable.    //! -  void create(string map, string|void domain) +  protected void create(string map, string|void domain)    {    if (domain) {    this::domain = Domain(domain);
69:    {    return(domain->match(ypmap, key));    } -  string `[](string key) +  protected string `[](string key)    {    return(domain->match(ypmap, key));    }
110:    }       //! Return the number of entries in this map. -  int _sizeof() +  protected int _sizeof()    {    return(sizeof(indices(domain->all(ypmap))));    }       //! Return the keys of the map. -  array(string) _indices() +  protected array(string) _indices()    {    return(indices(domain->all(ypmap)));    }       //! Return the values of the map. -  array(string) _values() +  protected array(string) _values()    {    return(values(domain->all(ypmap)));    }