cdb_read.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <time.h>
#include "isdn_cdb_def.h"
#include "hd.h"

Go to the source code of this file.

Data Structures

struct  _vendorshortnames_t

Defines

#define CDB_DATAVERSION   0x101
#define MAXCARDS   300
#define MAXVARIO   (MAXCARDS*4)
#define MAXNAMECNT   (MAXCARDS*256)

Typedefs

typedef int(* fcmp )(const void *, const void *)

Functions

void del_vario (void)
int new_entry (void)
void add_current_item (int item, char *val)
void SortVendors (void)
void SortCards (void)
void SortVarios (void)

Variables

int max_ce
int ce_idx
int max_vario
int vario_idx
int name_str_cnt
int max_name_str_cnt
int max_ivendor
int ivendor_idx
char * name_str
cdb_isdn_cardcards
cdb_isdn_variovarios
cdb_isdn_vendorvendors
int * isdncard_id
int drvid_cnt
int drv_subtyp_cnt
int drv_typ_cnt
int supported_cnt
int not_supported


Define Documentation

#define CDB_DATAVERSION   0x101

Referenced by main().

#define MAXCARDS   300

#define MAXNAMECNT   (MAXCARDS*256)

#define MAXVARIO   (MAXCARDS*4)


Typedef Documentation

typedef int(* fcmp)(const void *, const void *)


Function Documentation

void add_current_item ( int  item,
char *  val 
)

void del_vario ( void   ) 

int new_entry ( void   ) 

void SortCards ( void   ) 

void SortVarios ( void   ) 

void SortVendors ( void   ) 


Variable Documentation

Referenced by main(), and WriteCards().

int ce_idx

Referenced by add_current_item(), and new_vario().

Referenced by add_current_item(), and new_vario().

int drvid_cnt

Referenced by add_current_item(), and new_vario().

Referenced by SortCards(), and WriteCards().

int max_ce

Referenced by main(), and new_entry().

Referenced by add_vendor(), and main().

Referenced by add_name(), and main().

int max_vario

Referenced by main(), and new_vario().

char* name_str

Referenced by add_current_item(), and new_vario().

int vario_idx

Referenced by main(), and WriteVarios().

Referenced by main(), and WriteVendors().