Top |
lt_variant_db_t * | lt_variant_db_new () |
lt_variant_db_t * | lt_variant_db_ref () |
void | lt_variant_db_unref () |
lt_variant_t * | lt_variant_db_lookup () |
This class provides an interface to access Variant database. which has been registered with IANA.
lt_variant_db_t *
lt_variant_db_new (void
);
Create a new instance of a lt_variant_db_t.
lt_variant_db_t *
lt_variant_db_ref (lt_variant_db_t *variantdb
);
Increases the reference count of variantdb
.
void
lt_variant_db_unref (lt_variant_db_t *variantdb
);
Decreases the reference count of variantdb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
lt_variant_t * lt_variant_db_lookup (lt_variant_db_t *variantdb
,const char *subtag
);
Lookup lt_variant_t
if subtag
is valid and registered into the database.
typedef struct _lt_variant_db_t lt_variant_db_t;
All the fields in the lt_variant_db_t structure are private to the lt_variant_db_t implementation.