gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [ascension] branch master updated: changed argument -ns to


From: gnunet
Subject: [GNUnet-SVN] [ascension] branch master updated: changed argument -ns to -n, removed gnunet.py
Date: Wed, 20 Feb 2019 17:33:23 +0100

This is an automated email from the git hooks/post-receive script.

rexxnor pushed a commit to branch master
in repository ascension.

The following commit(s) were added to refs/heads/master by this push:
     new 0336019  changed argument -ns to -n, removed gnunet.py
0336019 is described below

commit 03360197bbb34602309fed8b3633a9fc4d8d1c63
Author: rexxnor <address@hidden>
AuthorDate: Wed Feb 20 17:33:00 2019 +0100

    changed argument -ns to -n, removed gnunet.py
---
 README                 |  8 +++----
 ascension/ascension.py |  4 ++--
 ascension/gnunet.py    | 61 --------------------------------------------------
 3 files changed, 6 insertions(+), 67 deletions(-)

diff --git a/README b/README
index ae28c5a..784536f 100644
--- a/README
+++ b/README
@@ -40,8 +40,8 @@ Ascension
 Usage:
     ascension <domain> [-d] [-p]
     ascension <domain> <port> [-d] [-p]
-    ascension <domain> -ns <transferns> [-d] [-p]
-    ascension <domain> -ns <transferns> <port> [-d] [-p]
+    ascension <domain> -n <transferns> [-d] [-p]
+    ascension <domain> -n <transferns> <port> [-d] [-p]
     ascension -p | --public
     ascension -h | --help
     ascension -v | --version
@@ -59,7 +59,7 @@ Options:
 Example use:
 ```
 # Transfers the sy TLD from ns1.tld.sy.
-ascension sy -ns ns1.tld.sy.
+ascension sy -n ns1.tld.sy.
 # Transfers the nu TLD from zonedata.iis.se with debug options enabled
-ascension nu -ns zonedata.iis.se. -d
+ascension nu -n zonedata.iis.se. -d
 ```
diff --git a/ascension/ascension.py b/ascension/ascension.py
index dc7d871..a95044f 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -22,8 +22,8 @@
 Usage:
     ascension <domain> [-d] [-p]
     ascension <domain> <port> [-d] [-p]
-    ascension <domain> -ns <transferns> [-d] [-p]
-    ascension <domain> -ns <transferns> <port> [-d] [-p]
+    ascension <domain> -n <transferns> [-d] [-p]
+    ascension <domain> -n <transferns> <port> [-d] [-p]
     ascension -p | --public
     ascension -h | --help
     ascension -v | --version
diff --git a/ascension/gnunet.py b/ascension/gnunet.py
deleted file mode 100644
index 8a935f0..0000000
--- a/ascension/gnunet.py
+++ /dev/null
@@ -1,61 +0,0 @@
-from ctypes import c_char_p
-from ctypes import c_size_t
-from ctypes import c_uint32
-from ctypes import c_uint64
-from ctypes import c_void_p
-from ctypes import CDLL
-from ctypes import Structure
-from enum import Enum
-from dataclasses import dataclass
-
-class GNUnetGNSRecordFlags(Enum):
-    """
-    Flags that can be set for a record.
-    """
-    GNUNET_GNSRECORD_RF_NONE = 0
-    GNUNET_GNSRECORD_RF_PRIVATE = 2
-    GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION = 8
-    GNUNET_GNSRECORD_RF_SHADOW_RECORD = 16
-
-class GNUnetGNSRecordData():
-    """
-    Representation of a GNS Record in python
-    """
-    _fields_ = [("data", c_void_p),
-                ("expiration_time", c_uint64),
-                ("data_size", c_size_t),
-                ("record_type", c_uint32),
-                ("flags", GNUnetGNSRecordFlags)]
-
-class GNUnetEcdsaPrivateKey(Structure):
-    """
-    Representation of GNUNET_CRYPTO_EcdsaPrivateKey
-    """
-    _fields_ = [("d", c_char_p)]
-
-class GNUnetConfigurationHandle(Structure):
-    """
-    Representation of GNUNET_CONFIGURATION_HANDLE
-    """
-    pass
-
-class GNUnetMQHandle(Structure):
-    """
-    Representation of GNUNET_CONFIGURATION_HANDLE
-    """
-    pass
-
-class GNUnetNamestoreHandle():
-    """
-    Representation of GNUNET_NAMESTORE_Handle
-    """
-    _fields_ = [("cfg": GNUnetConfigurationHandle),
-                ("mq": GNUnetMQHandle),
-                ("op_head": GNUnetNamestoreQueueEntry),
-                ("op_tail": GNUnetNamestoreQueueEntry),
-                ("z_head": GNUnetNamestoreZoneIterator),
-                ("z_tail": GNUnetNamestoreZoneIterator),
-                ("reconnect_task": GNUnetSchedulerTask),
-                ("reconnect_delay": GNUnetTimeRelative),
-                ("reconnet": int),
-                ("last_op_id_used": c_uint32_t)]

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]