![]() |
![]() |
![]() |
liblangtag Documentation | ![]() |
---|---|---|---|---|
Top | Description |
lt_bool_t lt_grandfathered_compare (const lt_grandfathered_t *v1
,const lt_grandfathered_t *v2
); void lt_grandfathered_dump (const lt_grandfathered_t *grandfathered
); const char * lt_grandfathered_get_better_tag (const lt_grandfathered_t *grandfathered
); const char * lt_grandfathered_get_name (const lt_grandfathered_t *grandfathered
); const char * lt_grandfathered_get_preferred_tag (const lt_grandfathered_t *grandfathered
); const char * lt_grandfathered_get_tag (const lt_grandfathered_t *grandfathered
); lt_grandfathered_t * lt_grandfathered_ref (lt_grandfathered_t *grandfathered
); lt_grandfathered_t; void lt_grandfathered_unref (lt_grandfathered_t *grandfathered
);
lt_bool_t lt_grandfathered_compare (const lt_grandfathered_t *v1
,const lt_grandfathered_t *v2
);
Compare if v1
and v2
is the same object or not.
|
a lt_grandfathered_t. |
|
a lt_grandfathered_t. |
Returns : |
TRUE if it's the same. otherwise FALSE . |
void lt_grandfathered_dump (const lt_grandfathered_t *grandfathered
);
Dumps the container information to the standard output.
|
a lt_grandfathered_t. |
const char * lt_grandfathered_get_better_tag (const lt_grandfathered_t *grandfathered
);
Obtains the better tag for use. this is a convenient function to get the preferred-value if available.
|
a lt_grandfathered_t. |
Returns : |
a tag string. |
const char * lt_grandfathered_get_name (const lt_grandfathered_t *grandfathered
);
Obtains the description of the tag.
|
a lt_grandfathered_t. |
Returns : |
a description string. |
const char * lt_grandfathered_get_preferred_tag (const lt_grandfathered_t *grandfathered
);
Obtains the preferred-value. this is available only when the tag is marked as deprecated.
|
a lt_grandfathered_t. |
Returns : |
a preferred-value for the tag or NULL . |
const char * lt_grandfathered_get_tag (const lt_grandfathered_t *grandfathered
);
Obtains the tag name.
|
a lt_grandfathered_t. |
Returns : |
a tag string. |
lt_grandfathered_t * lt_grandfathered_ref (lt_grandfathered_t *grandfathered
);
Increases the reference count of grandfathered
.
|
a lt_grandfathered_t. |
Returns : |
the same grandfathered object. [transfer none]
|
typedef struct _lt_grandfathered_t lt_grandfathered_t;
All the fields in the lt_grandfathered_t structure are private to the lt_grandfathered_t implementation.
void lt_grandfathered_unref (lt_grandfathered_t *grandfathered
);
Decreases the reference count of grandfathered
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
|
a lt_grandfathered_t. |