home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
DOOG
/
CBASE09.ZIP
/
CBASE.ZIP
/
ROLO.H
< prev
Wrap
Text File
|
1989-08-31
|
2KB
|
52 lines
/* Copyright (c) 1989 Citadel */
/* All Rights Reserved */
/* #ident "rolo.h 1.1 - 89/08/31" */
#ifndef ROLO_H /* prevent multiple includes */
#define ROLO_H
/* cbase name */
#define ROLO ("rolo.dat")
/* record definition */
typedef struct {
char rl_contact[81]; /* contact name */
char rl_title[81]; /* contact job title */
char rl_company[81]; /* company name */
char rl_addr[4][81]; /* company address */
char rl_phone[20]; /* phone number */
char rl_fax[11]; /* fax number */
char rl_notes[5][81]; /* notes */
} rolo_t;
/* field numbers */
#define RL_CONTACT (1)
#define RL_TITLE (2)
#define RL_COMPANY (3)
#define RL_ADDR (4)
#define RL_PHONE (5)
#define RL_FAX (6)
#define RL_NOTES (7)
#define RL_FLDCNT (7)
/* field definitions */
cbfield_t rl_fields[] = {
{offsetof(rolo_t, rl_contact[0]), sizeofm(rolo_t, rl_contact), t_string,
CBFKEY | CBFUNIQ, "rl_cont.key"},
{offsetof(rolo_t, rl_title[0]), sizeofm(rolo_t, rl_title), t_string,
0, ""},
{offsetof(rolo_t, rl_company[0]), sizeofm(rolo_t, rl_company), t_string,
CBFKEY, "rl_comp.key"},
{offsetof(rolo_t, rl_addr[0][0]), sizeofm(rolo_t, rl_addr), t_string,
0, ""},
{offsetof(rolo_t, rl_phone[0]), sizeofm(rolo_t, rl_phone), t_string,
0, ""},
{offsetof(rolo_t, rl_fax[0]), sizeofm(rolo_t, rl_fax), t_string,
0, ""},
{offsetof(rolo_t, rl_notes[0][0]),sizeofm(rolo_t, rl_notes), t_string,
0, ""}
};
#endif /* #ifdef ROLO_H */