summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mark W. Eichin <eichin@thok.org>2009-04-14 03:31:59 +0000
committerGravatar Mark W. Eichin <eichin@thok.org>2009-04-14 03:31:59 +0000
commitb6cd121bcc16627002615620b8faf83a1f8dcf26 (patch)
tree436dca08eb67ce44da8cf21918d096d36545ae12
parent414f152da987921f415db48da7f6901a508bba5f (diff)
ZOpenPort, ZClosePort
-rwxr-xr-xlib/zephyr_tests.py7
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()