ucln_in.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // © 2016 and later: Unicode, Inc. and others.
  2. // License & terms of use: http://www.unicode.org/copyright.html
  3. /*
  4. ******************************************************************************
  5. * Copyright (C) 2001-2016, International Business Machines
  6. * Corporation and others. All Rights Reserved.
  7. ******************************************************************************
  8. * file name: ucln_in.h
  9. * encoding: UTF-8
  10. * tab size: 8 (not used)
  11. * indentation:4
  12. *
  13. * created on: 2001July05
  14. * created by: George Rhoten
  15. */
  16. #ifndef __UCLN_IN_H__
  17. #define __UCLN_IN_H__
  18. #include "unicode/utypes.h"
  19. #include "ucln.h"
  20. /*
  21. Please keep the order of enums declared in same order
  22. as the functions are suppose to be called.
  23. It's usually best to have child dependencies called first. */
  24. typedef enum ECleanupI18NType {
  25. UCLN_I18N_START = -1,
  26. UCLN_I18N_UNIT_EXTRAS,
  27. UCLN_I18N_NUMBER_SKELETONS,
  28. UCLN_I18N_CURRENCY_SPACING,
  29. UCLN_I18N_SPOOF,
  30. UCLN_I18N_SPOOFDATA,
  31. UCLN_I18N_TRANSLITERATOR,
  32. UCLN_I18N_REGEX,
  33. UCLN_I18N_JAPANESE_CALENDAR,
  34. UCLN_I18N_ISLAMIC_CALENDAR,
  35. UCLN_I18N_CHINESE_CALENDAR,
  36. UCLN_I18N_HEBREW_CALENDAR,
  37. UCLN_I18N_ASTRO_CALENDAR,
  38. UCLN_I18N_DANGI_CALENDAR,
  39. UCLN_I18N_CALENDAR,
  40. UCLN_I18N_TIMEZONEFORMAT,
  41. UCLN_I18N_TZDBTIMEZONENAMES,
  42. UCLN_I18N_TIMEZONEGENERICNAMES,
  43. UCLN_I18N_TIMEZONENAMES,
  44. UCLN_I18N_ZONEMETA,
  45. UCLN_I18N_TIMEZONE,
  46. UCLN_I18N_DIGITLIST,
  47. UCLN_I18N_DECFMT,
  48. UCLN_I18N_NUMFMT,
  49. UCLN_I18N_ALLOWED_HOUR_FORMATS,
  50. UCLN_I18N_DAYPERIODRULES,
  51. UCLN_I18N_SMPDTFMT,
  52. UCLN_I18N_USEARCH,
  53. UCLN_I18N_COLLATOR,
  54. UCLN_I18N_UCOL_RES,
  55. UCLN_I18N_CSDET,
  56. UCLN_I18N_COLLATION_ROOT,
  57. UCLN_I18N_GENDERINFO,
  58. UCLN_I18N_CDFINFO,
  59. UCLN_I18N_REGION,
  60. UCLN_I18N_LIST_FORMATTER,
  61. UCLN_I18N_NUMSYS,
  62. UCLN_I18N_COUNT /* This must be last */
  63. } ECleanupI18NType;
  64. /* Main library cleanup registration function. */
  65. /* See common/ucln.h for details on adding a cleanup function. */
  66. /* Note: the global mutex must not be held when calling this function. */
  67. U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type,
  68. cleanupFunc *func);
  69. #endif