IDZEBRA  2.1.3
Typedefs | Functions
reckeys.h File Reference
#include <yaz/yconfig.h>
#include "it_key.h"

Go to the source code of this file.


typedef struct zebra_rec_keys_t_zebra_rec_keys_t


zebra_rec_keys_t zebra_rec_keys_open (void)
void zebra_rec_keys_close (zebra_rec_keys_t p)
void zebra_rec_keys_write (zebra_rec_keys_t keys, const char *str, size_t slen, const struct it_key *key)
void zebra_rec_keys_reset (zebra_rec_keys_t keys)
int zebra_rec_keys_read (zebra_rec_keys_t keys, const char **str, size_t *slen, struct it_key *key)
int zebra_rec_keys_rewind (zebra_rec_keys_t keys)
int zebra_rec_keys_empty (zebra_rec_keys_t keys)
void zebra_rec_keys_get_buf (zebra_rec_keys_t p, char **buf, size_t *sz)
void zebra_rec_keys_set_buf (zebra_rec_keys_t p, char *buf, size_t sz, int copy_buf)
zint zebra_rec_keys_get_custom_record_id (zebra_rec_keys_t keys)

Typedef Documentation

Definition at line 28 of file reckeys.h.

Function Documentation

void zebra_rec_keys_close ( zebra_rec_keys_t  p)
int zebra_rec_keys_empty ( zebra_rec_keys_t  keys)

Definition at line 252 of file reckeys.c.

References zebra_rec_keys_t_::buf_used.

Referenced by perform_facet_index(), and zebra_extract_record_stream().

void zebra_rec_keys_get_buf ( zebra_rec_keys_t  p,
char **  buf,
size_t *  sz 
zint zebra_rec_keys_get_custom_record_id ( zebra_rec_keys_t  keys)

Definition at line 286 of file reckeys.c.

References zebra_rec_keys_t_::custom_record_id.

Referenced by zebra_extract_record_stream().

zebra_rec_keys_t zebra_rec_keys_open ( void  )
int zebra_rec_keys_read ( zebra_rec_keys_t  keys,
const char **  str,
size_t *  slen,
struct it_key key 
void zebra_rec_keys_reset ( zebra_rec_keys_t  keys)
int zebra_rec_keys_rewind ( zebra_rec_keys_t  keys)
void zebra_rec_keys_set_buf ( zebra_rec_keys_t  p,
char *  buf,
size_t  sz,
int  copy_buf 
void zebra_rec_keys_write ( zebra_rec_keys_t  keys,
const char *  str,
size_t  slen,
const struct it_key key