ged_error.h 792 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (C) 2015 MediaTek Inc.
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef __GED_ERROR_H__
  14. #define __GED_ERROR_H__
  15. typedef enum GED_ERROR_TAG
  16. {
  17. GED_OK,
  18. GED_ERROR_FAIL,
  19. GED_ERROR_OOM,
  20. GED_ERROR_OUT_OF_FD,
  21. GED_ERROR_FAIL_WITH_LIMIT,
  22. GED_ERROR_TIMEOUT,
  23. GED_ERROR_CMD_NOT_PROCESSED,
  24. GED_ERROR_INVALID_PARAMS,
  25. GED_INTENTIONAL_BLOCK
  26. } GED_ERROR;
  27. #endif