diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-02-14 11:41:12 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 12:26:11 +0200 |
| commit | d306d7b27ee1df60bf32f03b6160856e78d1b02c (patch) | |
| tree | 17ead8a0b05fe02817c5be954782fdb53c5fb7ac /wrappers/python/eduvpncommon/__init__.py | |
| parent | abe952080b01be4524fd03462236b6a3e63589f8 (diff) | |
Expose list retrieval by returning a JSON string
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
Diffstat (limited to 'wrappers/python/eduvpncommon/__init__.py')
| -rw-r--r-- | wrappers/python/eduvpncommon/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wrappers/python/eduvpncommon/__init__.py b/wrappers/python/eduvpncommon/__init__.py index e9d0284..b14b2af 100644 --- a/wrappers/python/eduvpncommon/__init__.py +++ b/wrappers/python/eduvpncommon/__init__.py @@ -28,3 +28,6 @@ class GoSlice(Structure): return GoSlice((c_char * len(bs))(*bs), len(bs), len(bs)) +class DataError(Structure): + _fields_ = [('data', c_void_p), + ('error', c_int64)] |
