AltaVista-PerlSDK

 view release on metacpan or  search on metacpan

PerlSDK.pm  view on Meta::CPAN

avs_startdoc(idx, pDocId, flags, pStartLoc)

avs_timer(current)

avs_total_docs(idx, pDoccount)

avs_version(license_key)

avs_create_options(limit, timeout, flags)

avs_create_parameters(_interface_version, license, ignored_thresh, chars_before_wildcard, unlimited_wild_words, indexformat, cache_threshold, options, charset, ntiers, nbuckets)

=head1 DESCRIPTION

This set of extensions provides wrappers for most of the C functionalities in
the AltaVista Search software development kit (SDK) except for a few functions 
that did not make sense to export to perl.

Two additional functions are used to ease the process of creating options and parameters: 
avs_create_options
avs_create_parameters

PerlSDK.xs  view on Meta::CPAN

	int flags
	CODE:
	RETVAL = malloc(sizeof(struct avs_options));
	RETVAL->limit = limit;
	RETVAL->timeout = timeout;
	RETVAL->flags = flags;
	OUTPUT:
	RETVAL

avs_parameters_t *
avs_create_parameters(_interface_version, license, ignored_thresh, chars_before_wildcard, unlimited_wild_words, indexformat, cache_threshold, options, charset, ntiers, nbuckets)
	char * _interface_version
	char * license
	int ignored_thresh
	int chars_before_wildcard
	int unlimited_wild_words
	int indexformat
	long cache_threshold
	int options
	int charset
	int ntiers
	int nbuckets
	CODE:
	RETVAL = malloc(sizeof(struct avs_parameters));
	RETVAL->_interface_version = _interface_version;
	RETVAL->license = license;
	RETVAL->ignored_thresh = ignored_thresh;
	RETVAL->chars_before_wildcard = chars_before_wildcard;
	RETVAL->unlimited_wild_words = unlimited_wild_words;
	RETVAL->indexformat = indexformat;
	RETVAL->cache_threshold = cache_threshold;
	RETVAL->options = options;
	RETVAL->charset = charset;
	RETVAL->ntiers = ntiers;
	RETVAL->nbuckets = nbuckets;
	OUTPUT:
	RETVAL

Readme  view on Meta::CPAN

    avs_startdoc(idx, pDocId, flags, pStartLoc)

    avs_timer(current)

    avs_total_docs(idx, pDoccount)

    avs_version(license_key)

    avs_create_options(limit, timeout, flags)

    avs_create_parameters(_interface_version, license, ignored_thresh, chars_before_wildcard, unlimited_wild_words, indexformat, cache_threshold, options, charset, ntiers, nbuckets)

DESCRIPTION
    This set of extensions provides wrappers for most of the C functionalities in
    the AltaVista Search software development kit (SDK) except for a few functions 
    that did not make sense to export to perl.

    Two additional functions are used to ease the process of creating options and parameters: 
        avs_create_options
        avs_create_parameters



( run in 0.242 second using v1.01-cache-2.11-cpan-4d50c553e7e )