libhd
5.0
|
#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 |
Macros | |
#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_card * | cards |
cdb_isdn_vario * | varios |
cdb_isdn_vendor * | vendors |
int * | isdncard_id |
int | drvid_cnt |
int | drv_subtyp_cnt |
int | drv_typ_cnt |
int | supported_cnt |
int | not_supported |
#define CDB_DATAVERSION 0x101 |
Referenced by main().
#define MAXCARDS 300 |
#define MAXNAMECNT (MAXCARDS*256) |
#define MAXVARIO (MAXCARDS*4) |
typedef int(* fcmp) (const void *, const void *) |
void add_current_item | ( | int | item, |
char * | val | ||
) |
void del_vario | ( | void | ) |
References cdb_isdn_vario::card_ref, cards, cdb_isdn_vario::next_vario, vario, cdb_isdn_card::vario, cdb_isdn_card::vario_cnt, vario_idx, and varios.
Referenced by add_current_item().
int new_entry | ( | void | ) |
void SortCards | ( | void | ) |
References cdb_isdn_vario::card_ref, cards, ce_idx, compare_card(), compare_id(), cdb_isdn_card::handle, isdncard_id, vario_idx, and varios.
Referenced by main().
void SortVarios | ( | void | ) |
References cards, ce_idx, compare_type(), cdb_isdn_vario::handle, cdb_isdn_vario::next_vario, vario, cdb_isdn_card::vario, vario_idx, and varios.
Referenced by main().
void SortVendors | ( | void | ) |
References cards, ce_idx, compare_vendor(), ivendor_idx, vendors, cdb_isdn_card::vhandle, and cdb_isdn_vendor::vnr.
Referenced by main().
cdb_isdn_card* cards |
Referenced by add_current_item(), compare_id(), compare_name(), del_vario(), main(), new_entry(), new_vario(), SortCards(), SortVarios(), SortVendors(), and WriteCards().
int ce_idx |
Referenced by add_current_item(), main(), new_entry(), SortCards(), SortVarios(), SortVendors(), and WriteCards().
int drv_subtyp_cnt |
Referenced by add_current_item(), and new_vario().
int drv_typ_cnt |
Referenced by add_current_item(), and new_vario().
int drvid_cnt |
Referenced by add_current_item(), and new_vario().
int* isdncard_id |
Referenced by SortCards(), and WriteCards().
int ivendor_idx |
Referenced by add_vendor(), main(), SortVendors(), and WriteVendors().
int max_ce |
Referenced by main(), and new_entry().
int max_ivendor |
Referenced by add_vendor(), and main().
int max_name_str_cnt |
Referenced by add_name(), and main().
int max_vario |
Referenced by main(), and new_vario().
char* name_str |
Referenced by add_current_item(), add_name(), main(), WriteCards(), WriteNames(), WriteVarios(), and WriteVendors().
int name_str_cnt |
Referenced by add_current_item(), add_name(), main(), and WriteNames().
int not_supported |
Referenced by add_current_item(), new_entry(), and new_vario().
int supported_cnt |
Referenced by add_current_item(), and new_vario().
int vario_idx |
Referenced by add_current_item(), del_vario(), main(), new_vario(), SortCards(), SortVarios(), and WriteVarios().
cdb_isdn_vario* varios |
Referenced by add_current_item(), del_vario(), main(), new_vario(), SortCards(), SortVarios(), and WriteVarios().
cdb_isdn_vendor* vendors |
Referenced by add_current_item(), add_lname(), add_vendor(), main(), new_entry(), SortVendors(), and WriteVendors().