yp_match

(PHP 4, PHP 5 <= 5.0.5) Returns the matched line string yp_match ( string $domain, string $map, string $key ) Returns the value associated with the passed key out of the specified map. Parameters: domain The NIS domain name. map The NIS map. key This key must be exact. Returns:

yp_master

(PHP 4, PHP 5 <= 5.0.5) Returns the machine name of the master NIS server for a map string yp_master ( string $domain, string $map ) Returns the machine name of the master NIS server for a map. Parameters: domain The NIS domain name. map The NIS map. Returns: E

yp_get_default_domain

(PHP 4, PHP 5 <= 5.0.5) Fetches the machine's default NIS domain string yp_get_default_domain ( void ) Returns the default domain of the node. Can be used as the domain parameter for successive NIS calls. A NIS domain can be described a group of NIS maps. Every host that needs to look up information binds itself to a certain domain. Refer to the documents mentioned at the beginning for more detailed information.

yp_first

(PHP 4, PHP 5 <= 5.0.5) Returns the first key-value pair from the named map array yp_first ( string $domain, string $map ) Gets the first key-value pair from the named map in the named domain. Parameters: domain The NIS domain name. map The NIS map. Returns: Returns the first key-value pair as an array on su

yp_errno

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5) Returns the error code of the previous operation int yp_errno ( void ) Returns the error code of the previous operation. Returns: Returns one of the YPERR_XXX error constants. See also: yp_err_string() -

yp_err_string

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5) Returns the error string associated with the given error code string yp_err_string ( int $errorcode ) Returns the error message associated with the given error code. Useful to indicate what exactly went wrong. Parameters: errorcode The error code. Returns: Returns the error message, as a string.

yp_cat

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5) Return an array containing the entire map array yp_cat ( string $domain, string $map ) Returns all map entries. Parameters: domain The NIS domain name. map The NIS map. Returns: Returns an array of all map entries, the maps key values as array indices and the maps entries

yp_all

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5) Traverse the map and call a function on each entry void yp_all ( string $domain, string $map, string $callback ) Parameters: domain The NIS domain name. map The NIS map. callback The NIS map. Returns: No value is returned.

yaz_wait

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Wait for Z39.50 requests to complete mixed yaz_wait ([ array &$options ] ) This function carries out networked (blocked) activity for outstanding requests which have been prepared by the functions yaz_connect(), yaz_search(), yaz_present(), yaz_scan() and yaz_itemorder(). yaz_wait() returns when all servers have either completed all requests or aborted (in case of errors).

yaz_syntax

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Specifies the preferred record syntax for retrieval void yaz_syntax ( resource $id, string $syntax ) yaz_syntax() specifies the preferred record syntax for retrieval This function should be called before yaz_search() or yaz_present(). Parameters: id The connection resource returned by yaz_connect(). syn