IDZEBRA  2.1.2
Data Structures | Macros | Functions
rpnscan.c File Reference
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <yaz/diagbib1.h>
#include "index.h"
#include <zebra_xpath.h>
#include <yaz/wrbuf.h>
#include <attrfind.h>
#include <charmap.h>
#include <rset.h>
#include <yaz/oid_db.h>

Go to the source code of this file.

Data Structures

struct  scan2_info_entry
 
struct  scan1_info_entry
 
struct  scan_info
 

Macros

#define RPN_MAX_ORDS   32
 

Functions

static ZEBRA_RES trans_scan_term (ZebraHandle zh, Z_AttributesPlusTerm *zapt, char *termz, zebra_map_t zm)
 
static void get_first_snippet_from_rset (ZebraHandle zh, RSET rset, zebra_snippets *snippets, zint *sysno)
 
static int scan_handle2 (char *name, const char *info, int pos, void *client)
 
static int scan_save_set (ZebraHandle zh, ODR stream, NMEM nmem, struct rset_key_control *kc, Z_AttributesPlusTerm *zapt, RSET limit_set, const char *term, const char *index_type, struct scan2_info_entry *ar, int ord_no, ZebraScanEntry *glist, int pos)
 
static ZEBRA_RES rpn_scan_norm (ZebraHandle zh, ODR stream, NMEM nmem, struct rset_key_control *kc, Z_AttributesPlusTerm *zapt, int *position, int *num_entries, ZebraScanEntry **list, int *is_partial, RSET limit_set, const char *index_type, int ord_no, int *ords)
 
ZEBRA_RES rpn_scan (ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, const Odr_oid *attributeset, int num_bases, char **basenames, int *position, int *num_entries, ZebraScanEntry **list, int *is_partial, const char *set_name)
 

Macro Definition Documentation

#define RPN_MAX_ORDS   32

Definition at line 42 of file rpnscan.c.

Referenced by rpn_scan().

Function Documentation

static void get_first_snippet_from_rset ( ZebraHandle  zh,
RSET  rset,
zebra_snippets snippets,
zint sysno 
)
static
ZEBRA_RES rpn_scan ( ZebraHandle  zh,
ODR  stream,
Z_AttributesPlusTerm *  zapt,
const Odr_oid *  attributeset,
int  num_bases,
char **  basenames,
int *  position,
int *  num_entries,
ZebraScanEntry **  list,
int *  is_partial,
const char *  set_name 
)
static ZEBRA_RES rpn_scan_norm ( ZebraHandle  zh,
ODR  stream,
NMEM  nmem,
struct rset_key_control kc,
Z_AttributesPlusTerm *  zapt,
int *  position,
int *  num_entries,
ZebraScanEntry **  list,
int *  is_partial,
RSET  limit_set,
const char *  index_type,
int  ord_no,
int *  ords 
)
static
static int scan_handle2 ( char *  name,
const char *  info,
int  pos,
void *  client 
)
static
static int scan_save_set ( ZebraHandle  zh,
ODR  stream,
NMEM  nmem,
struct rset_key_control kc,
Z_AttributesPlusTerm *  zapt,
RSET  limit_set,
const char *  term,
const char *  index_type,
struct scan2_info_entry ar,
int  ord_no,
ZebraScanEntry glist,
int  pos 
)
static
static ZEBRA_RES trans_scan_term ( ZebraHandle  zh,
Z_AttributesPlusTerm *  zapt,
char *  termz,
zebra_map_t  zm 
)
static