D_WRCURR

SUMMARY
d_wrcurr(currbuff)
DB_ADDR *currbuff;

ARGUMENTS
currbuff A pointer to a d_rdcurr-allocated buffer which contains the
currency table.


DESCRIPTION
Function d_wrcurr will restore the currency tables (and timestamps, if
used) from currff and then free allocated memory.

This functions is intended to be used whit d_rdcurr to save and restore
the state of a database routine before or after other routines are called
for which it is unknown how the currency changed.

CURRENCY CHANGES
All currency.

RETURN CODES

No special codes.

EXAMPLE

DB_ADDR *ctab; /*save currency table*/
int csize; /*size of saved currency table */
..
/* save currency tables */
d_rdcurr(&ctab,&csize);
.. /* do some other processing */
/* restore currency tables */
d_wrcurr(ctab);