Top |
lt_extlang_db_t * | lt_extlang_db_new () |
lt_extlang_db_t * | lt_extlang_db_ref () |
void | lt_extlang_db_unref () |
lt_extlang_t * | lt_extlang_db_lookup () |
This class provides an interface to access Extlang database. which has been registered as ISO 639 code.
lt_extlang_db_t *
lt_extlang_db_new (void
);
Create a new instance of a lt_extlang_db_t.
lt_extlang_db_t *
lt_extlang_db_ref (lt_extlang_db_t *extlangdb
);
Increases the reference count of extlangdb
.
void
lt_extlang_db_unref (lt_extlang_db_t *extlangdb
);
Decreases the reference count of extlangdb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
lt_extlang_t * lt_extlang_db_lookup (lt_extlang_db_t *extlangdb
,const char *subtag
);
Lookup lt_extlang_t
if subtag
is valid and registered into the database.
typedef struct _lt_extlang_db_t lt_extlang_db_t;
All the fields in the lt_extlang_db_t structure are private to the lt_extlang_db_t implementation.