|  |  |  | liblangtag Documentation |  | 
|---|---|---|---|---|
| Top | Description | ||||
lt_bool_t lt_redundant_compare (const lt_redundant_t *v1,const lt_redundant_t *v2); void lt_redundant_dump (const lt_redundant_t *redundant); const char * lt_redundant_get_better_tag (const lt_redundant_t *redundant); const char * lt_redundant_get_name (const lt_redundant_t *redundant); const char * lt_redundant_get_preferred_tag (const lt_redundant_t *redundant); const char * lt_redundant_get_tag (const lt_redundant_t *redundant); lt_redundant_t * lt_redundant_ref (lt_redundant_t *redundant); lt_redundant_t; void lt_redundant_unref (lt_redundant_t *redundant);
lt_bool_t lt_redundant_compare (const lt_redundant_t *v1,const lt_redundant_t *v2);
Compare if v1 and v2 is the same object or not.
| 
 | a lt_redundant_t. | 
| 
 | a lt_redundant_t. | 
| Returns : | TRUEif it's the same. otherwiseFALSE. | 
void                lt_redundant_dump                   (const lt_redundant_t *redundant);
Dumps the container information to the standard output.
| 
 | a lt_redundant_t. | 
const char *        lt_redundant_get_better_tag         (const lt_redundant_t *redundant);
Obtains the better tag for use. this is a convenient function to get the preferred-value if available.
| 
 | a lt_redundant_t. | 
| Returns : | a tag string. | 
const char *        lt_redundant_get_name               (const lt_redundant_t *redundant);
Obtains the description of the tag.
| 
 | a lt_redundant_t. | 
| Returns : | a description string. | 
const char *        lt_redundant_get_preferred_tag      (const lt_redundant_t *redundant);
Obtains the preferred-value. this is available only when the tag is marked as deprecated.
| 
 | a lt_redundant_t. | 
| Returns : | a preferred-value for the tag or NULL. | 
const char *        lt_redundant_get_tag                (const lt_redundant_t *redundant);
Obtains the tag name.
| 
 | a lt_redundant_t. | 
| Returns : | a tag string. | 
lt_redundant_t *    lt_redundant_ref                    (lt_redundant_t *redundant);
Increases the reference count of redundant.
| 
 | a lt_redundant_t. | 
| Returns : | the same redundantobject. [transfer none] | 
typedef struct _lt_redundant_t lt_redundant_t;
All the fields in the lt_redundant_t structure are private to the lt_redundant_t implementation.
void                lt_redundant_unref                  (lt_redundant_t *redundant);
Decreases the reference count of redundant. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
| 
 | a lt_redundant_t. |