Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef DBFZ_H
- #define DBFZ_H
- #define MAGIC "DBFZ"
- typedef struct _record
- {
- char name[50];
- char section[15];
- char address[255];
- } record;
- typedef struct _dbheader
- {
- char magic[4];
- int num_records;
- } dbheader;
- record new_record(char *name, char *section, char *address);
- void write_records(record array[], int num_records);
- void setzero(void *str, int size);
- #endif // DBFZ_H
Add Comment
Please, Sign In to add comment