Branch: Tag:

2001-04-27

2001-04-27 13:41:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Autodoc mk II markup fixes.

Rev: lib/modules/ADT.pmod/Table.pmod:1.20
Rev: lib/modules/Crypto/randomness.pmod:1.19
Rev: lib/modules/Function.pmod:1.5
Rev: lib/modules/Geography.pmod/Countries.pmod:1.12
Rev: lib/modules/Getopt.pmod:1.13
Rev: lib/modules/Locale.pmod/module.pmod:1.11
Rev: lib/modules/Parser.pmod/module.pmod:1.6
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.59
Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.24
Rev: lib/modules/Protocols.pmod/Line.pmod:1.16
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Connection.pike:1.8
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Request.pmod:1.9
Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.16
Rev: lib/modules/Sql.pmod/Sql.pike:1.48
Rev: lib/modules/Stdio.pmod/module.pmod:1.113
Rev: lib/modules/_Image.pmod/module.pmod:1.18

1:   // Not yet finished -- Fredrik Hubinette   // RFC 1035    - //! module Protocols - //! submodule DNS + //! $Id: DNS.pmod,v 1.59 2001/04/27 13:38:40 grubba Exp $    - //! $Id: DNS.pmod,v 1.58 2001/04/09 19:50:04 marcus Exp $ -  +    #pike __REAL_VERSION__      constant NOERROR=0;
390:   #define RETRIES 12   #define RETRY_DELAY 5    + //! Synchronous DNS client.   class client   { - //! - //! class client - //! Synchronous DNS client. - //! +        inherit protocol;   
480:    return(etc_hosts[lower_case(host)]);    }    -  //! -  //! method void create() -  //! method void create(void|string|array server, void|int|array domain) -  //! +  //! @decl void create() +  //! @decl void create(void|string|array server, void|int|array domain)       array(string) nameservers = ({});    array domains = ({});
644:    return 0;    }    -  //! -  //! method array gethostbyname(string hostname) -  //! method array gethostbyaddr(string hostip) +  //! @decl array gethostbyname(string hostname) +  //! @decl array gethostbyaddr(string hostip)    //! Querys the host name or ip from the default or given -  //! DNS server. The result is a mapping with three elements, -  //! <data_description type=array> -  //! <elem value=hostname type=string>hostname</elem> -  //! <elem value=ip type=array(string)>ip number(s)</elem> -  //! <elem value=ip type=array(string)>dns name(s)</elem> -  //! </data_description> +  //! DNS server. The result is an array with three elements, +  //! @array +  //! @elem string hostname +  //! Hostname. +  //! @elem array(string) ip +  //! IP number(s). +  //! @elem array(string) aliases +  //! DNS name(s). +  //! @endarray    //!       array gethostbyname(string s)
729:    }    }    -  //! -  //! method string get_primary_mx(string hostname) +  //! @decl string get_primary_mx(string hostname)    //! Querys the primary mx for the host. -  //! returns the hostname of the primary mail exchanger +  //! @returns +  //! Returns the hostname of the primary mail exchanger.    //! -  +     string get_primary_mx(string host)    {    mapping m;