-/* $Id: ZOOM.xs,v 1.42 2006-06-15 15:43:13 mike Exp $ */
+/* $Id: ZOOM.xs,v 1.46 2007-01-16 11:17:15 mike Exp $ */
#include "EXTERN.h"
#include "perl.h"
const char* sort_type
const char* sort_spec
+# See comments for ZOOM_connection_error() above
+int
+ZOOM_record_error(rec, cp, addinfo, diagset)
+ ZOOM_record rec
+ const char* &cp
+ const char* &addinfo
+ const char* &diagset
+ CODE:
+ {
+ const char *ccp = "", *caddinfo = "", *cdset = "";
+ RETVAL = ZOOM_record_error(rec, &ccp, &caddinfo, &cdset);
+ cp = (char*) ccp;
+ addinfo = (char*) caddinfo;
+ diagset = (char*) cdset;
+ }
+ OUTPUT:
+ RETVAL
+ cp
+ addinfo
+ diagset
+
# See "typemap" for discussion of the "const char *" return-type.
#
### but should use datachunk for in some (not all!) cases.
const char * key
const char * val
-# UNTESTED
-#
# This has to be called with a single argument which is a _reference_
# to an array -- rather than directly with an array, which is of
# course identical to passing arbitrarily many arguments. This is
OUTPUT:
RETVAL
-# UNTESTED
int
ZOOM_connection_last_event(cs)
ZOOM_connection cs
+int
+ZOOM_connection_is_idle(cs)
+ ZOOM_connection cs
+
+int
+ZOOM_connection_peek_event(cs)
+ ZOOM_connection cs
+
+
# ----------------------------------------------------------------------------
# What follows is the YAZ logging API. This is not strictly part of
# ZOOM, but it's so useful that it would be silly to omit.