]> wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/oid.py
I've discovered Python's __all__ variable and make use of it in all modles
[oss/ctypescrypto.git] / ctypescrypto / oid.py
index 9852043e0b936cf8e5b9dc5b0c25cbbed2011734..7d4fc21439206c0d196239755f6a2874ea9c9a4c 100644 (file)
@@ -1,5 +1,6 @@
 """    
  Interface to OpenSSL object identifier database.
 """    
  Interface to OpenSSL object identifier database.
+
  It is primarily intended to deal with OIDs which are compiled into the
  database or defined in the openssl configuration files.
 
  It is primarily intended to deal with OIDs which are compiled into the
  database or defined in the openssl configuration files.
 
@@ -8,6 +9,9 @@
 """
 from ctypescrypto import libcrypto
 from ctypes import c_char_p, c_void_p, c_int, create_string_buffer
 """
 from ctypescrypto import libcrypto
 from ctypes import c_char_p, c_void_p, c_int, create_string_buffer
+
+__all__ = ['Oid','create','cleanup']
+
 class Oid:
        """
                Represents an OID. It can be consturucted by textual
 class Oid:
        """
                Represents an OID. It can be consturucted by textual