ce_err.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
  24. /*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
  25. /*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
  26. /*%% (c) Copyright 1993, 1994 Novell, Inc. */
  27. /*%% $XConsortium: ce_err.h /main/3 1995/10/23 11:48:51 rswiston $ */
  28. /* @(#)ce_err.h 1.2 @(#)
  29. * See ce.h in this directory for an explanation of why this piece of
  30. * the Classing Engine is in the ToolTalk directory.
  31. */
  32. /*
  33. * Error messages used by the CE
  34. */
  35. #ifndef ce_err_h
  36. #define ce_err_h
  37. #define CE_ERR_INTERNAL_ERROR -1
  38. #define CE_ERR_ERROR_READING_DB 1
  39. #define CE_ERR_WRITE_IN_PROGRESS 2
  40. #define CE_ERR_DB_NOT_LOADED 3
  41. #define CE_ERR_WRITE_NOT_STARTED 4
  42. #define CE_ERR_NAMESPACE_EXISTS 5
  43. #define CE_ERR_NAMESPACE_NOT_EMPTY 6
  44. #define CE_ERR_NAMESPACE_DOES_NOT_EXIST 7
  45. #define CE_ERR_NS_ENTRY_EXISTS 8
  46. #define CE_ERR_ENTRY_NOT_ALLOCED 9
  47. #define CE_ERR_ATTRIBUTE_EXISTS 10
  48. #define CE_ERR_NO_MEMORY 11
  49. #define CE_ERR_NO_PERMISSION_TO_WRITE 12
  50. #define CE_ERR_WRONG_ARGUMENTS 13
  51. #define CE_ERR_ERROR_WRITING_DB 14
  52. #define CE_ERR_OPENING_DB 15
  53. #define CE_ERR_DB_LOCKED 16
  54. #define CE_ERR_ERROR_OPENING_FILE 17
  55. #define CE_ERR_WRONG_DATABASE_VERSION 18
  56. #define CE_ERR_UNKNOWN_DATABASE_NAME 19
  57. #define CE_ERR_BAD_DATABASE_FILE 20
  58. #endif ce_err_h