NDXUTILS.LST 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Listing:
  2. 1 DEFINITION MODULE NdxUtils;
  3. 2 (*
  4. 3 * REPERTOIRE
  5. 4 * Release 1.6
  6. 5 * By Charles Bradford and Cole Brecheen
  7. 6 * (c) Copyright 1985-1992 PMI
  8. 7 * Green Bay, Wisconsin
  9. 8 * All rights reserved
  10. 9 * (414) 468-6040
  11. 10 *
  12. 11 * $Header: D:/logfiles/defs/ndxutils.dev 1.4 30 Dec 1990 18:03:00 coleb $
  13. 12 *
  14. 13 *)
  15. 14
  16. 15
  17. 16 FROM GenLists IMPORT GenList;
  18. 17 FROM NdxTypes IMPORT NdxFileType;
  19. 18
  20. 19 PROCEDURE CopyMatchingFields( NdxF1:
  21. 20 NdxFileType; VAR NdxF2: NdxFileType;
  22. 21 RecName: ARRAY OF CHAR; MatchingFields:
  23. ***** ^ not supported yet
  24. 22 GenList );
  25. 23
  26. 24 PROCEDURE CopyRecord( RecName: ARRAY OF CHAR;
  27. ***** ^ not supported yet
  28. 25 SourceFile, DestFile: NdxFileType ):
  29. 26 BOOLEAN;
  30. 27
  31. 28 PROCEDURE CrunchNdxFile( VAR NdxFile:
  32. 29 NdxFileType );
  33. 30
  34. 31 PROCEDURE ExportToFile( NdxFile: NdxFileType;
  35. 32 RecNameList: GenList; fhandle: CARDINAL );
  36. 33
  37. 34 PROCEDURE GarbageSize( VAR TheNdx: GenList; VAR
  38. 35 GbgSize: LONGINT; VAR NumDataRecs,
  39. 36 NumGbgRecs: CARDINAL);
  40. 37
  41. 38 PROCEDURE GetRecName( NdxFile: NdxFileType;
  42. 39 Which: CARDINAL; VAR RecName: ARRAY OF CHAR
  43. ***** ^ not supported yet
  44. 40 ): BOOLEAN;
  45. 41
  46. 42 PROCEDURE GetRecNames( NdxFile: NdxFileType; VAR
  47. 43 NameList: GenList );
  48. 44
  49. 45 PROCEDURE RebuildNdx( VAR NdxFile: NdxFileType
  50. 46 );
  51. 47
  52. 48 PROCEDURE SizeInfo( VAR NdxFile: NdxFileType;
  53. 49 VAR TotlSize, GbgSize: LONGINT; VAR PctUsed,
  54. 50 NumDataRecs, NumGbgRecs: CARDINAL);
  55. 51
  56. 52 PROCEDURE TransferRecord( RecName: ARRAY OF
  57. 53 CHAR; SourceFile, DestFile: NdxFileType ):
  58. ***** ^ not supported yet
  59. 54 BOOLEAN;
  60. 55
  61. 56 PROCEDURE Init();
  62. 57
  63. 58 END NdxUtils.
  64. ***** ^ not supported yet
  65. 5 errors