%PDF- %PDF-
| Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ |
| Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/edns.pyc |
�
�ac @@ s� d Z d d l m Z d d l Z d d l Z d d l Z d Z d Z d Z d Z
d Z d Z d
Z
d Z d Z d
Z d e f d � � YZ d e f d � � YZ d e f d � � YZ i e e 6Z d � Z d � Z d S( s EDNS Optionsi ( t absolute_importNi i i i i i i
i i i
t Optionc B@ sn e Z d Z d � Z d � Z e d � � Z d � Z d � Z d � Z d � Z
d � Z d � Z d
� Z
RS( s% Base class for all EDNS option types.c C@ s
| | _ d S( sP Initialize an option.
*otype*, an ``int``, is the option type.
N( t otype( t selfR ( ( s= /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/edns.pyt __init__4 s c C@ s
t � d S( s* Convert an option to wire format.
N( t NotImplementedError( R t file( ( s= /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/edns.pyt to_wire; s c C@ s
t � d S( st Build an EDNS option object from wire format.
*otype*, an ``int``, is the option type.
*wire*, a ``binary``, is the wire-format message.
*current*, an ``int``, is the offset in *wire* of the beginning
of the rdata.
*olen*, an ``int``, is the length of the wire-format option data
Returns a ``dns.edns.Option``.
N( R ( t clsR t wiret currentt olen( ( s= /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/edns.pyt from_wire@ s c C@ s
t � d S( s� Compare an EDNS option with another option of the same type.
Returns < 0 if < *other*, 0 if == *other*, and > 0 if > *other*.
N( R ( R t other( ( s= /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/edns.pyt _cmpR s c C@ s<