Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.1 KiB

  1. //============== DAE: OS/2 Database Access Engine ===================
  2. //============== fileapi.h: File Manager API ===================
  3. ERR VTAPI ErrIsamCreateTable(
  4. PIB *ppib,
  5. ULONG_PTR vdbid,
  6. char *szName,
  7. ULONG ulPages,
  8. ULONG ulDensity,
  9. FUCB **ppfucb );
  10. ERR VTAPI ErrIsamDeleteTable( PIB *ppib, ULONG_PTR vdbid, CHAR *szName );
  11. ERR VTAPI ErrIsamRenameTable( PIB *ppib, ULONG_PTR uldbid, CHAR *szName, CHAR *szNameNew );
  12. ERR VTAPI ErrIsamRenameColumn( PIB *ppib, FUCB *pfucb, CHAR *szName, CHAR *szNameNew );
  13. ERR VTAPI ErrIsamRenameIndex( PIB *ppib, FUCB *pfucb, CHAR *szName, CHAR *szNameNew );
  14. ERR VTAPI ErrIsamAddColumn(
  15. PIB *ppib,
  16. FUCB *pfucb,
  17. CHAR *szName,
  18. JET_COLUMNDEF *pcolumndef,
  19. BYTE *pbDefault,
  20. ULONG cbDefault,
  21. JET_COLUMNID *pcolumnid );
  22. ERR VTAPI ErrIsamCreateIndex(
  23. PIB *ppib,
  24. FUCB *pfucb,
  25. CHAR *szName,
  26. ULONG ulFlags,
  27. CHAR *szKey,
  28. ULONG cchKey,
  29. ULONG ulDensity );
  30. ERR ErrFILEBuildIndex( PIB *ppib, FUCB *pfucb, CHAR *szIndex );
  31. ERR VTAPI ErrIsamDeleteColumn( PIB *ppib, FUCB *pfucb, CHAR *szName);
  32. ERR VTAPI ErrIsamDeleteIndex( PIB *ppib, FUCB *pfucb, CHAR *szName );
  33. ERR VTAPI ErrIsamGetBookmark( PIB *ppib, FUCB *pfucb, BYTE *pb, ULONG cbMax, ULONG *pcbActual );
  34. // Open/Close
  35. ERR VTAPI ErrIsamOpenTable( PIB *ppib,
  36. ULONG uldbid,
  37. FUCB **ppfucb,
  38. CHAR *szPath,
  39. ULONG grbit );
  40. ERR VTAPI ErrIsamCloseTable( PIB *ppib, FUCB *pfucb );
  41. // Sessions
  42. ERR ErrBeginSession( PIB ** );
  43. // Miscellaneous
  44. ERR VTAPI ErrIsamCapability(PIB*, ULONG, ULONG, ULONG, ULONG*);
  45. ERR VTAPI ErrIsamVersion(PIB*, int*, int*, CHAR*, ULONG);
  46. // Internal Calls for Create, Open and Close Table
  47. ERR ErrFILECreateTable( PIB *ppib, DBID dbid, const CHAR *szName,
  48. ULONG ulPages, ULONG ulDensity, FUCB **ppfucb );
  49. ERR ErrFILEOpenTable( PIB *ppib, DBID dbid,
  50. FUCB **ppfucb, const CHAR *szName, ULONG grbit );
  51. ERR ErrFILECloseTable( PIB *ppib, FUCB *pfucb );
  52. ERR ISAMAPI ErrIsamTerm( VOID );
  53. ERR ISAMAPI ErrIsamInit( INT itib );
  54. // Debug
  55. ERR ErrFILEDumpTable( PIB *ppib, DBID dbid, CHAR *szTable );