home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
cbase.zip
/
CBASE10B.ZIP
/
RLSNOTES.TXT
< prev
next >
Wrap
Text File
|
1989-11-22
|
5KB
|
157 lines
----------------------------------------------------------------------
| Citadel |
| 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720 |
| BBS 317-647-2403 |
----------------------------------------------------------------------
cbase 1.0 beta Release Notes
----------------------------
In this file are summarized the additions and modifications made to
cbase this release. Owners of previous releases should read it
completely.
o The parameter list of the cbcreate and cbopen functions have been
modified. The original functions were
int cbcreate(char *cbname, size_t recsize,
cbfield_t fields[], size_t fldcnt);
int cbopen(char *cbname, char *type,
cbfield_t fields[], size_t fldcnt);
The new functions are
int cbcreate(char *cbname, size_t recsize,
int fldc, cbfield_t fldv[]);
int cbopen(char *cbname, char *type,
int fldc, cbfield_t fldv[]);
o The cbfield_t bit flags CBFKEY and CBFUNIQ have been changed to
CB_FKEY and CB_FUNIQ.
o Field numbering now begins at zero.
o Because of an enhancement made to the btree library, it is no longer
necessary to include the record position in the data type comparison
functions.
o The functions cbimport and cbexport have been added to import and
export data to printable files. When adding a new data type,
an import function and an export function must be provided in
addition to the comparison function.
o There is no longer a maximum number of cbase fields. The fldv array
is now dynamically allocated when a cbase is opened.
o cbclose bug fixed. Would not close first key file.
o function prototypes used if __STDC__ == 1
o const used if __STDC__ == 1
Citadel 89-10
o long double data types (t_double, t_doublev) enabled if __STDC__ ==
1
o cblock sets the cursors to null when unlocking.
o A pair of functions for converting names between the formats
last-name-first and first-name-first has been provided. fmltolfm
and lfmtofml are located in the file fml.c in the example program
directory.
btree 1.0 Release Notes
-----------------------
o The btree library has been enhanced to recognize fields. This has
required changes in the btcreate and btopen parameter lists. The
original functions were
int btcreate(char *filename, size_t m, size_t keysize);
int btopen(char *filename, char *type,
int (*cmp)(const void *p1, const void *p2, size_t n));
The new functions are
int btcreate(char *filename, size_t m, size_t keysize,
int fldc, btfield_t btfldv[]);
int btopen(char *filename, char *type,
int fldc, btfield_t btfldv[]);
o The btfix function has been added to fix corrupt btree files. This has
required a slight change in the btree file format. A utility to
convert existing btree files from the old format to the new will be
made available on the Citadel BBS.
o btlock sets the cursor to null when unlocking.
lseq 1.0 Release Notes
----------------------
o lslock sets the cursor to null when unlocking.
blkio 1.1 Release Notes
-----------------------
o bpos_t has been changed from size_t to unsigned long. If size_t is
not equivalent to unsigned long, existing files containing fields of
type bpos_t will require conversion. A utility to convert existing
cbase files will be made available on the Citadel BBS.
Citadel 89-10
o bopen has been modified to open block files which do not end on a
block boundary. This was done to allow blkio to be used to rebuild
corrupt files.
o bsetvbuf bug for connecting user-supplied buffer fixed.
o bgethf sets errno to EINVAL instead of BEBOUND if the field extends
beyond the end of the header.
o bgetbf sets errno to EINVAL instead of BEBOUND if the field extends
beyond the end of the block.
o lockb len parameter type changed from size_t to bpos_t.
Citadel 89-10