![]() |
![]() |
![]() |
liblangtag Documentation | ![]() |
---|---|---|---|---|
Top | Description |
lt_redundant_t * lt_redundant_db_lookup (lt_redundant_db_t *redundantdb
,const char *tag
); lt_redundant_db_t * lt_redundant_db_new (void
); lt_redundant_db_t * lt_redundant_db_ref (lt_redundant_db_t *redundantdb
); lt_redundant_db_t; void lt_redundant_db_unref (lt_redundant_db_t *redundantdb
);
This class provides an interface to access Redundant database. which were mostly made redundant by the advent of either RFC 4646 or RFC 5646.
lt_redundant_t * lt_redundant_db_lookup (lt_redundant_db_t *redundantdb
,const char *tag
);
Lookup lt_redundant_t
if tag
is valid and registered into the database.
|
a lt_redundant_db_t. |
|
a tag name to lookup. |
Returns : |
a lt_redundant_t that meets with tag .
otherwise NULL . [transfer full]
|
lt_redundant_db_t * lt_redundant_db_new (void
);
Create a new instance of a lt_redundant_db_t.
Returns : |
a new instance of lt_redundant_db_t. [transfer full] |
lt_redundant_db_t * lt_redundant_db_ref (lt_redundant_db_t *redundantdb
);
Increases the reference count of redundantdb
.
|
a lt_redundant_db_t. |
Returns : |
the same redundantdb object. [transfer none]
|
typedef struct _lt_redundant_db_t lt_redundant_db_t;
All the fields in the lt_redundant_db_t structure are private to the lt_redundant_db_t implementation.
void lt_redundant_db_unref (lt_redundant_db_t *redundantdb
);
Decreases the reference count of redundantdb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
|
a lt_redundant_db_t. |