pike.git / lib / modules / Protocols.pmod / DNS.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:1: - // $Id: DNS.pmod,v 1.71 2003/01/20 17:44:00 nilsson Exp $ + // $Id: DNS.pmod,v 1.72 2003/04/07 17:12:02 nilsson Exp $   // Not yet finished -- Fredrik Hubinette      //! Domain Name System   //! RFC 1035      #pike __REAL_VERSION__      constant NOERROR=0;   constant FORMERR=1;   constant SERVFAIL=2;
pike.git/lib/modules/Protocols.pmod/DNS.pmod:445:    //!    //! @param query    //! Parsed query.    //!    //! @param udp_data    //! Raw UDP data.    //!    //! Overload this function to implement the proper lookup.    //!    //! @returns -  //! Returns @tt{0@} (zero) on failure, or a result mapping on success: +  //! Returns @expr{0@} (zero) on failure, or a result mapping on success:    //! @mapping    //! @member int "rcode"    //! @member array(mapping(string:string|int))|void "qd"    //! @array    //! @elem mapping(string:string|int) entry    //! @mapping    //! @member string|array(string) "name"    //! @member int "type"    //! @member int "cl"    //! @endmapping