Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

hdp.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include "hd.h"
#include "hd_int.h"
#include "hdp.h"
#include "hddb.h"

Defines

#define dump_line(x0, x1...)   fprintf(f, "%*s" x0, ind, "", x1)
#define dump_line_str(x0...)   fprintf(f, "%*s%s", ind, "", x0)
#define dump_line0(x0...)   fprintf(f, x0)

Functions

void dump_normal (hd_data_t *, hd_t *, FILE *)
void dump_cpu (hd_data_t *, hd_t *, FILE *)
void dump_bios (hd_data_t *, hd_t *, FILE *)
void dump_smbios (hd_data_t *hd_data, FILE *f)
void dump_prom (hd_data_t *, hd_t *, FILE *)
void dump_sys (hd_data_t *, hd_t *, FILE *)
char * dump_hid (hd_data_t *hd_data, hd_id_t *hid, int format, char *buf, int buf_size)
char * dump_hid2 (hd_data_t *hd_data, hd_id_t *hid1, hd_id_t *hid2, char *buf, int buf_size)
void hd_dump_entry (hd_data_t *hd_data, hd_t *h, FILE *f)

Variables

int ind = 0

Define Documentation

#define dump_line x0,
x1...   )     fprintf(f, "%*s" x0, ind, "", x1)
 

#define dump_line0 x0...   )     fprintf(f, x0)
 

#define dump_line_str x0...   )     fprintf(f, "%*s%s", ind, "", x0)
 


Function Documentation

void dump_bios hd_data_t ,
hd_t ,
FILE * 
[static]
 

void dump_cpu hd_data_t ,
hd_t ,
FILE * 
[static]
 

char * dump_hid hd_data_t hd_data,
hd_id_t hid,
int  format,
char *  buf,
int  buf_size
[static]
 

char * dump_hid2 hd_data_t hd_data,
hd_id_t hid1,
hd_id_t hid2,
char *  buf,
int  buf_size
[static]
 

void dump_normal hd_data_t ,
hd_t ,
FILE * 
[static]
 

void dump_prom hd_data_t ,
hd_t ,
FILE * 
[static]
 

void dump_smbios hd_data_t hd_data,
FILE *  f
[static]
 

void dump_sys hd_data_t ,
hd_t ,
FILE * 
[static]
 

void hd_dump_entry hd_data_t hd_data,
hd_t h,
FILE *  f
 


Variable Documentation

int ind = 0 [static]