compdb.h 637 B

12345678910111213141516171819202122232425262728
  1. #ifndef __COMP_DB_H
  2. #define __COMP_DB_H
  3. #define DB_DENY 0
  4. #define DB_ALLOW 1
  5. #define DB_READ 0
  6. #define DB_WRITE 1
  7. #define DB_DELETE 2
  8. #define DB_GETSCANNER 3
  9. #define DB_DROPINDEX 4
  10. #define DB_ERROR 0
  11. #define DB_SUCCESS 1
  12. #define DB_NOSUCHFIELD 2
  13. #define DB_RECORDNOTFOUND 3
  14. #define DB_UNKNOWNDATATYPE 4
  15. #define DB_DATATYPEMISMATCH 5
  16. #define DB_OPERATIONDENIED 6
  17. #define DB_INVALIDGUID 7
  18. #define DB_EMPTYFIELD 8
  19. #define DB_NOTAVAILABLE 9
  20. #define DB_ENDOFENUM 0
  21. #define DB_FOUND TRUE
  22. #define DB_NOTFOUND FALSE
  23. #endif