new_pdb(3)
NAME
- new_pdb free_pdb - create and destroy Palm database struc
- tures
LIBRARY
libpdb
SYNOPSIS
#include <pdb.h> struct pdb * new_pdb(); void free_pdb(struct pdb *db);
DESCRIPTION
- new_pdb allocates and initializes a new, empty struct pdb
- structure.
- free_pdb frees the memory used by a struct pdb previously
- returned by new_pdb, as well as any records, resources, AppInfo
- or sort blocks the database may contain.
RETURN VALUE
- new_pdb returns a pointer to the newly-allocated struct pdb,
- or NULL in case of error.
SEE ALSO
- libpdb(3), pdb_Read(3).
- BSD Aug 16, 2001