diff options
-rwxr-xr-x | lib/zephyr_tests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/zephyr_tests.py b/lib/zephyr_tests.py index 2f54bbe..2795ba3 100755 --- a/lib/zephyr_tests.py +++ b/lib/zephyr_tests.py @@ -323,6 +323,8 @@ class libZephyr(object): "ZFormatNotice", "ZCompareUID", "ZExpandRealm", + "ZOpenPort", + "ZClosePort", ] def __init__(self, library_path=None): """connect to the library and build the wrappers""" @@ -395,6 +397,11 @@ class libZephyr(object): c_char_p, # realm ] + # Code_t ZOpenPort(u_short *port) + self.ZOpenPort.argtypes = [ + POINTER(c_ushort), # port + ] + # library-specific setup... self.ZInitialize() |