home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #4 / amigaacscoverdisc1998-041998.iso / utilities / shareware / dev / msql / include / clib / msql_protos.h
Encoding:
C/C++ Source or Header  |  1998-03-04  |  1.7 KB  |  49 lines

  1. /*
  2. **      $VER: msql_protos.h 1.1 (26.02.98)
  3. **
  4. **      prototypes for msql.library
  5. **
  6. **      (C) Copyright 1998 Christophe Sollet
  7. **      All Rights Reserved.
  8. */
  9.  
  10. #ifndef CLIB_MSQL_PROTOS_H
  11. #define CLIB_MSQL_PROTOS_H
  12.  
  13. #ifndef MSQL_MSQLBASE_H
  14. #endif
  15.  
  16. #ifndef MSQL_MSQL_H
  17. #include <libraries/msql.h>
  18. #endif
  19.  
  20. struct MsqlConnection *MsqlAllocConnection(void);
  21. void MsqlFreeConnection(struct MsqlConnection *);
  22. char *MsqlGetErrMsg(struct MsqlConnection *);
  23. struct MsqlConnection *MsqlConnect(struct MsqlConnection *, char *);
  24. int    MsqlSelectDB(struct MsqlConnection *, char *);
  25. int    MsqlQuery(struct MsqlConnection *, char *);
  26. int    MsqlCreateDB(struct MsqlConnection *, char *);
  27. int    MsqlDropDB(struct MsqlConnection *, char *);
  28. int    MsqlShutdown(struct MsqlConnection *);
  29. int    MsqlGetProtoInfo(struct MsqlConnection *);
  30. int    MsqlReloadAcls(struct MsqlConnection *);
  31. char *MsqlGetServerInfo(struct MsqlConnection *);
  32. char *MsqlGetHostInfo(struct MsqlConnection *);
  33. void MsqlClose(struct MsqlConnection *);
  34. void MsqlDataSeek(struct MsqlConnection *, m_result *, int);
  35. void MsqlFieldSeek(struct MsqlConnection *, m_result *, int);
  36. void MsqlFreeResult(struct MsqlConnection *,  m_result *);
  37. m_row MsqlFetchRow(struct MsqlConnection *, m_result *);
  38. m_field    *MsqlFetchField(struct MsqlConnection *, m_result *);
  39. m_result *MsqlListDBs(struct MsqlConnection *);
  40. m_result *MsqlListTables(struct MsqlConnection *);
  41. m_result *MsqlListFields(struct MsqlConnection *, char *);
  42. m_result *MsqlListIndex(struct MsqlConnection *, char *, char *);
  43. m_result *MsqlStoreResult(struct MsqlConnection *);
  44. int MsqlLoadConfigFile(struct MsqlConnection *, char *);
  45. int MsqlGetIntConf(struct MsqlConnection *, char *);
  46. char *MsqlGetCharConf(struct MsqlConnection *, char *);
  47.  
  48. #endif
  49.