textsrv/textserver.h File Reference
Detailed Description
Text Server function prototypes
Definition in file textserver.h.
#include <itk/mem.h>
#include <textsrv/libtextsrv_exports.h>
#include <textsrv/iman_textserver.h>
#include <textsrv/libtextsrv_undef.h>
Go to the source code of this file.
Defines
- #define txt_text(ts, keyStr) txt_noSubText(ts, keyStr, 0)
- #define txt_texts(ts, keyStr, subStr) txt_subText(ts, keyStr, 0, subStr, NULL, NULL, NULL, NULL)
- #define TC_TRANSLATIONSTATUS_master 'M'
- #define TC_TRANSLATIONSTATUS_approved 'A'
- #define TC_TRANSLATIONSTATUS_pending 'P'
- #define TC_TRANSLATIONSTATUS_in_review 'R'
- #define TC_TRANSLATIONSTATUS_invalid 'I'
- #define TC_TRANSLATIONSTATUS_ghost 'G'
- #define TC_free_text MEM_free
Typedefs
Functions
- TEXTSRV_API txt_t txt_ctor (const char *)
- TEXTSRV_API void txt_destructor (txt_t ts)
- TEXTSRV_API char * txt_subText (txt_t, const char *, int, const char *s1, const char *s2, const char *s3, const char *s4, const char *s5)
- TEXTSRV_API char * txt_noSubText (txt_t, const char *, int)
- TEXTSRV_API char * TC_text (const char *key)
- TEXTSRV_API char * TC_text_arg (const char *key, const char *arg)
- TEXTSRV_API char * TC_text_required (const char *key)
- TEXTSRV_API char * TC_product_text (const char *key)
- TEXTSRV_API char * TC_unsubst_text (const char *key)
- TEXTSRV_API char * TC_hier_text (const char *hierarchy_name, const char *key)
- TEXTSRV_API int TC_text_get_locales_check_message (char **warning_message)
- TEXTSRV_API int TC_text_get_current_W3C_locale (char **current_w3_locale)
- TEXTSRV_API int TC_text_get_current_Java_locale (char **current_java_locale)
- TEXTSRV_API int TXTSRV_get_localized_property_value_display_languages (int *nb_of_languages, char ***language_code_list, char ***language_name_list)
- TEXTSRV_API int TXTSRV_get_localized_property_value_entry_language (char **language_code, char **language_name)
- TEXTSRV_API int TXTSRV_get_search_language (char **language_code, char **language_name)
- TEXTSRV_API int TXTSRV_get_supported_languages_list (int *nb_of_languages, char ***language_code_list, char ***language_name_list)
- TEXTSRV_API int TXTSRV_get_localized_languages_list (int *nb_of_languages, char ***language_code_list, char ***language_name_list)
- TEXTSRV_API int TXTSRV_getTranslationStatusNameAndDescription (char translation_status_code, char **translation_status_name, char **translation_status_description)
- TEXTSRV_API int TXTSRV_getAllTranslationStatusNamesAndDescriptions (int *number_of_statuses, char ***translation_status_names, char ***translation_status_descriptions)
- TEXTSRV_API int TXTSRV_getAllTranslationStatusCodesNamesAndDescriptions (int *number_of_statuses, char **translation_status_codes, char ***translation_status_names, char ***translation_status_descriptions)
- TEXTSRV_API int TXTSRV_convertStatusFromStringToCode (char *translation_status_name, char *translation_status_code)
- TEXTSRV_API int TXTSRV_convertStatusFromCodeToString (char translation_status_code, char **translation_status_name)
- TEXTSRV_API int TXTSRV_get_site_master_language (char **language_code, char **language_name)