From b6cd121bcc16627002615620b8faf83a1f8dcf26 Mon Sep 17 00:00:00 2001 From: "Mark W. Eichin" Date: Tue, 14 Apr 2009 03:31:59 +0000 Subject: ZOpenPort, ZClosePort --- lib/zephyr_tests.py | 7 +++++++ 1 file changed, 7 insertions(+) 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() -- cgit v1.2.3