home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 16
/
QRZ_16.iso
/
unix
/
next
/
cb.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-23
|
840b
|
55 lines
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <time.h>
#include <string.h>
#define DELIMITER ','
#define CALL 0
#define LNAME 1
#define JR 2
#define FNAME 3
#define MI 4
#define DOB 5
#define EFDATE 6
#define EXPDATE 7
#define MAIL_STR 8
#define MAIL_CITY 9
#define MAIL_ST 10
#define MAIL_ZIP 11
/*
#define LOC_STR xx
#define LOC_CITY xx
#define LOC_ST xx
*/
#define CLASS 12
#define P_CALL 13
#define P_CLASS 14
/*
#define P_DAT xx
*/
typedef struct nind
{
char name[22];
long pos;
}NIND;
typedef struct cind
{
char call[8];
long pos;
}CIND;
int cmp_node();
int cmp_name();
/* NeXTStep has a funky mmap that requires a Mach vm_allocate be
executed to allocate the virtual memory space for mmap. */
#ifdef NeXT
#define mmap next_mmap
#endif