cdb_read.h
Go to the documentation of this file.
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <time.h>
#include "isdn_cdb_def.h"
#include "hd.h"
#define CDB_DATAVERSION 0x101
#define MAXCARDS 300
#define MAXVARIO (MAXCARDS*4)
#define MAXNAMECNT (MAXCARDS*256)
extern int max_ce;
extern int ce_idx;
extern int max_vario;
extern int vario_idx;
extern int name_str_cnt;
extern int max_name_str_cnt;
extern int max_ivendor;
extern int ivendor_idx;
extern char *name_str;
extern cdb_isdn_card *cards;
extern cdb_isdn_vario *varios;
extern cdb_isdn_vendor *vendors;
extern int *isdncard_id;
extern int drvid_cnt;
extern int drv_subtyp_cnt;
extern int drv_typ_cnt;
extern int supported_cnt;
extern int not_supported;
struct _vendorshortnames_t {
char *lname;
char *sname;
};
typedef int (*fcmp) (const void *, const void *);
extern void del_vario(void);
extern int new_entry(void);
extern void add_current_item(int item, char *val);
extern void SortVendors(void);
extern void SortCards(void);
extern void SortVarios(void);
max_vario
int max_vario
Definition cdb_read.c:5
vendors
cdb_isdn_vendor * vendors
Definition cdb_read.c:15
drvid_cnt
int drvid_cnt
Definition cdb_read.c:19
varios
cdb_isdn_vario * varios
Definition cdb_read.c:14
vario_idx
int vario_idx
Definition cdb_read.c:6
name_str
char * name_str
Definition cdb_read.c:12
max_ivendor
int max_ivendor
Definition cdb_read.c:9
max_ce
int max_ce
Definition cdb_read.c:3
ivendor_idx
int ivendor_idx
Definition cdb_read.c:10
supported_cnt
int supported_cnt
Definition cdb_read.c:22
drv_subtyp_cnt
int drv_subtyp_cnt
Definition cdb_read.c:20
drv_typ_cnt
int drv_typ_cnt
Definition cdb_read.c:21
isdncard_id
int * isdncard_id
Definition cdb_read.c:17
cards
cdb_isdn_card * cards
Definition cdb_read.c:13
max_name_str_cnt
int max_name_str_cnt
Definition cdb_read.c:8
name_str_cnt
int name_str_cnt
Definition cdb_read.c:7
ce_idx
int ce_idx
Definition cdb_read.c:4
not_supported
int not_supported
Definition cdb_read.c:24
SortCards
void SortCards(void)
Definition cdb_read.c:461
SortVendors
void SortVendors(void)
Definition cdb_read.c:442
fcmp
int(* fcmp)(const void *, const void *)
Definition cdb_read.h:42
SortVarios
void SortVarios(void)
Definition cdb_read.c:488
add_current_item
void add_current_item(int item, char *val)
Definition cdb_read.c:252
new_entry
int new_entry(void)
Definition cdb_read.c:231
del_vario
void del_vario(void)
Definition cdb_read.c:212
hd.h
isdn_cdb_def.h
_vendorshortnames_t
Definition cdb_read.h:37
_vendorshortnames_t::lname
char * lname
Definition cdb_read.h:38
_vendorshortnames_t::sname
char * sname
Definition cdb_read.h:39
cdb_isdn_card
Definition hd.h:2884
cdb_isdn_vario
Definition hd.h:2904
cdb_isdn_vendor
vendor info
Definition hd.h:2877