Mapper
Macros | Functions
dbsearch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RETRY   -2L /* return value for retry request */
 
#define INVALID   -1L /* return value for invalid entry */
 
#define EXIT   0L /* return value for exit request */
 
#define FOUND   1L /* return value for valid data base ID found */
 

Functions

struct handbook5 bs_hb5 (unsigned char *hb5_pc, size_t max_recs, struct handbook5 *hb)
 
unsigned long int bs_hbook5 (unsigned char *name, struct database *dbase)
 
unsigned long int bs_sindx (struct sindx *sdx, unsigned long int id, unsigned long int num)
 
signed long int bs_sname (unsigned char *name, struct database *dbase)
 
signed int get_id (unsigned long int *db_index, unsigned char *request, struct database *dbase, struct sindx *sdx)
 
signed long int ss_sname (unsigned char *name, struct database *dbase)
 

Macro Definition Documentation

◆ EXIT

#define EXIT   0L /* return value for exit request */

Definition at line 6 of file dbsearch.h.

◆ FOUND

#define FOUND   1L /* return value for valid data base ID found */

Definition at line 7 of file dbsearch.h.

◆ INVALID

#define INVALID   -1L /* return value for invalid entry */

Definition at line 5 of file dbsearch.h.

◆ RETRY

#define RETRY   -2L /* return value for retry request */

Definition at line 4 of file dbsearch.h.

Function Documentation

◆ bs_hb5()

struct handbook5 bs_hb5 ( unsigned char *  hb5_pc,
size_t  max_recs,
struct handbook5 hb 
)

◆ bs_hbook5()

unsigned long int bs_hbook5 ( unsigned char *  name,
struct database dbase 
)

◆ bs_sindx()

unsigned long int bs_sindx ( struct sindx sdx,
unsigned long int  id,
unsigned long int  num 
)

Definition at line 20 of file bs_sindx.c.

Here is the caller graph for this function:

◆ bs_sname()

signed long int bs_sname ( unsigned char *  name,
struct database dbase 
)

◆ get_id()

signed int get_id ( unsigned long int *  db_index,
unsigned char *  request,
struct database dbase,
struct sindx sdx 
)

◆ ss_sname()

signed long int ss_sname ( unsigned char *  name,
struct database dbase 
)