C Reference Manual



The C API includes two fundamentally different parts. The first one contains the database routines. The second implements the text mode windows. This reference will maintain that seperation of functionality.
For all user routines, all that needs to be included is either the <dataman/dataman.h> or the <dataman/sort.h> include files. All programs need to be linked with the -ldataman library switch.

Database Functions
    back - move back one record
    clear - 'check in' a record
    delete - remove a record from a data file
    flush - force update of files
    forward - move forward one record
    get - retrieve a key and it's record
    get_current - get last retrieved key and it's record
    get_first - retrieve the first key in an index and it's record
    get_last - retrieve the last key in an index and it's record
    get_next - retrieve the key following the current one
    get_prior - retrieve the key prior to the current one
    iclose - close an index
    include - insert a key into an index
    init_dataman - initialize application programs
    insert - insert a blank record into a data file
    iopen - open an index
    mkidx - initialize index creation programs
    mk_key - build a key to use in get and remove
    protect - 'check out' a record
    release - move to next record in index creation programs
    remove - remove a key from an index
    restore - restore the state of an index
    save - save the stat of an index
    sort - insert a new key in an index in an index creation program
    start_transaction - start a new transaction
    commit - commit a transaction to the database
    rollback - cancel a transaction
Windowing Functions
    accept - positioned, polled input
    cl_win - draw a space on the screen
    grow_win - draw an 'exploding' window
    mask - format output
    new_win - do windows that can be restored
    pause - put up an error message
    pop_win - restore screen saved by new_win
    show - cursort positioned screen writes
    window - paint a new window on the screen
Miscellaneous Functions and Defines
    match - rudimentary pattern matching
    substr - substring
    defines

next