-/* $Id: ZOOM.xs,v 1.7 2005-10-11 12:11:17 mike Exp $ */
+/* $Id: ZOOM.xs,v 1.8 2005-10-11 15:44:33 mike Exp $ */
#include "EXTERN.h"
#include "perl.h"
PROTOTYPES: ENABLE
+# TESTED
+#
# It seems that when one of these functions is called from Perl with
# a string-constant argument, that is not recognised as suitable to
# be mapped onto a "const char*" argument. The only fix I can find is
const char * host
int portnum
+# TESTED
+#
void
ZOOM_connection_destroy(c)
ZOOM_connection c
ZOOM_connection c
const char * key
+# TESTED
+#
void
ZOOM_connection_option_set(c, key, val)
ZOOM_connection c
const char * val
int len
+# TESTED
+#
# The reference parameters, `cp' and `addinfo', need to already have
# values when this function is called, otherwise an "uninitialised
# value" warning is generated. As far as I can see, there is no way
ZOOM_connection arg0
ZOOM_query q
+# TESTED
+#
# "const" discarded from type of `q'
ZOOM_resultset
ZOOM_connection_search_pqf(c, q)
- ZOOM_connection c
+ ZOOM_connection c
char *q
+# TESTED
+#
void
ZOOM_resultset_destroy(r)
- ZOOM_resultset r
+ ZOOM_resultset r
const char *
ZOOM_resultset_option_get(r, key)
const char * key
const char * val
+# TESTED
+#
size_t
ZOOM_resultset_size(r)
- ZOOM_resultset r
+ ZOOM_resultset r
void
ZOOM_resultset_records(r, recs, start, count)
size_t start
size_t count
+# TESTED
+#
ZOOM_record
ZOOM_resultset_record(s, pos)
ZOOM_resultset s
ZOOM_resultset_cache_reset(r)
ZOOM_resultset r
+# TESTED
+#
+# "const" discarded from type of `type'
+# See "typemap" for discussion of the "const char *" return-type.
const char *
ZOOM_record_get(rec, type, len)
- ZOOM_record rec
- const char * type
- int * len
+ ZOOM_record rec
+ char* type
+ int &len
+ OUTPUT:
+ RETVAL
+ len
void
ZOOM_record_destroy(rec)