home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / cbase.zip / CBASE10B.ZIP / RLSNOTES.TXT < prev    next >
Text File  |  1989-11-22  |  5KB  |  157 lines

  1. ----------------------------------------------------------------------
  2. | Citadel                                                            |
  3. | 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720     |
  4. |                                               BBS 317-647-2403     |
  5. ----------------------------------------------------------------------
  6.  
  7.                      cbase 1.0 beta Release Notes
  8.                      ----------------------------
  9.  
  10. In this file are summarized the additions and modifications made to
  11. cbase this release.  Owners of previous releases should read it
  12. completely.
  13.  
  14. o The parameter list of the cbcreate and cbopen functions have been
  15.   modified.  The original functions were
  16.  
  17.      int cbcreate(char *cbname, size_t recsize,
  18.                               cbfield_t fields[], size_t fldcnt);
  19.      int cbopen(char *cbname, char *type,
  20.                               cbfield_t fields[], size_t fldcnt);
  21.  
  22.   The new functions are
  23.  
  24.      int cbcreate(char *cbname, size_t recsize,
  25.                               int fldc, cbfield_t fldv[]);
  26.      int cbopen(char *cbname, char *type,
  27.                               int fldc, cbfield_t fldv[]);
  28.  
  29. o The cbfield_t bit flags CBFKEY and CBFUNIQ have been changed to
  30.   CB_FKEY and CB_FUNIQ.
  31.  
  32. o Field numbering now begins at zero.
  33.  
  34. o Because of an enhancement made to the btree library, it is no longer
  35.   necessary to include the record position in the data type comparison
  36.   functions.
  37.  
  38. o The functions cbimport and cbexport have been added to import and
  39.   export data to printable files.  When adding a new data type,
  40.   an import function and an export function must be provided in
  41.   addition to the comparison function.
  42.  
  43. o There is no longer a maximum number of cbase fields.  The fldv array
  44.   is now dynamically allocated when a cbase is opened.
  45.  
  46. o cbclose bug fixed.  Would not close first key file.
  47.  
  48. o function prototypes used if __STDC__ == 1
  49.  
  50. o const used if __STDC__ == 1
  51.  
  52.                                                         Citadel  89-10
  53. o long double data types (t_double, t_doublev) enabled if __STDC__ ==
  54.   1
  55.  
  56. o cblock sets the cursors to null when unlocking.
  57.  
  58. o A pair of functions for converting names between the formats
  59.   last-name-first and first-name-first has been provided.  fmltolfm
  60.   and lfmtofml are located in the file fml.c in the example program
  61.   directory.
  62.  
  63.  
  64.                        btree 1.0 Release Notes
  65.                        -----------------------
  66.  
  67. o The btree library has been enhanced to recognize fields. This has
  68.   required changes in the btcreate and btopen parameter lists.  The
  69.   original functions were
  70.  
  71.      int btcreate(char *filename, size_t m, size_t keysize);
  72.      int btopen(char *filename, char *type,
  73.                 int (*cmp)(const void *p1, const void *p2, size_t n));
  74.  
  75.   The new functions are
  76.  
  77.      int btcreate(char *filename, size_t m, size_t keysize,
  78.                                 int fldc, btfield_t btfldv[]);
  79.      int btopen(char *filename, char *type,
  80.                                 int fldc, btfield_t btfldv[]);
  81.  
  82. o The btfix function has been added to fix corrupt btree files.  This has
  83.   required a slight change in the btree file format.  A utility to
  84.   convert existing btree files from the old format to the new will be
  85.   made available on the Citadel BBS.
  86.  
  87. o btlock sets the cursor to null when unlocking.
  88.  
  89.  
  90.                         lseq 1.0 Release Notes
  91.                         ----------------------
  92.  
  93. o lslock sets the cursor to null when unlocking.
  94.  
  95.  
  96.                        blkio 1.1 Release Notes
  97.                        -----------------------
  98.  
  99. o bpos_t has been changed from size_t to unsigned long.  If size_t is
  100.   not equivalent to unsigned long, existing files containing fields of
  101.   type bpos_t will require conversion.  A utility to convert existing
  102.   cbase files will be made available on the Citadel BBS.
  103.  
  104.                                                         Citadel  89-10
  105. o bopen has been modified to open block files which do not end on a
  106.   block boundary.  This was done to allow blkio to be used to rebuild
  107.   corrupt files.
  108.  
  109. o bsetvbuf bug for connecting user-supplied buffer fixed.
  110.  
  111. o bgethf sets errno to EINVAL instead of BEBOUND if the field extends
  112.   beyond the end of the header.
  113.  
  114. o bgetbf sets errno to EINVAL instead of BEBOUND if the field extends
  115.   beyond the end of the block.
  116.  
  117. o lockb len parameter type changed from size_t to bpos_t.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.                                                         Citadel  89-10
  157.