new_pdb(3)

new_pdb3

Create and destroy palm database structures

Usage

#include <pdb.h>

struct pdb *

new_pdb();

void

free_pdb(struct pdb *db);

Library

libpdb

Overview

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.

Releases

Unchanged in 3 releases since Debian 3.0 (Woody).

  1. 3.0–4.0

From coldsync 3.0+pre3-3 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.