Top |
lt_extlang_t * | lt_extlang_ref () |
void | lt_extlang_unref () |
const char * | lt_extlang_get_tag () |
const char * | lt_extlang_get_preferred_tag () |
const char * | lt_extlang_get_name () |
const char * | lt_extlang_get_macro_language () |
const char * | lt_extlang_get_prefix () |
void | lt_extlang_dump () |
lt_bool_t | lt_extlang_compare () |
lt_extlang_t *
lt_extlang_ref (lt_extlang_t *extlang
);
Increases the reference count of extlang
.
void
lt_extlang_unref (lt_extlang_t *extlang
);
Decreases the reference count of extlang
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
const char *
lt_extlang_get_tag (const lt_extlang_t *extlang
);
Obtains the subtag that is registered as ISO 639 code.
const char *
lt_extlang_get_preferred_tag (const lt_extlang_t *extlang
);
Obtains the preferred-value. this is available only when the subtag is marked as deprecated.
const char *
lt_extlang_get_name (const lt_extlang_t *extlang
);
Obtains the description of the subtag.
const char *
lt_extlang_get_macro_language (const lt_extlang_t *extlang
);
Obtains the macrolanguage being assigned for the subtag. This is available only when the subtag is registered as the macrolanguage in ISO 639-3.
const char *
lt_extlang_get_prefix (const lt_extlang_t *extlang
);
Obtains the prefix being assigned to the subtag. This is available only when the subtag has a particular seqnence of subgtags that form a meaningful tag with the subtag.
void
lt_extlang_dump (const lt_extlang_t *extlang
);
Dumps the container information to the standard output.
lt_bool_t lt_extlang_compare (const lt_extlang_t *v1
,const lt_extlang_t *v2
);
Compares if v1
and v2
is the same object or not.
typedef struct _lt_extlang_t lt_extlang_t;
All the fields in the lt_extlang_t structure are private to the lt_extlang_t implementation.