Top |
This class provides an interface to access Grandfathered database. which has been registered under RFC 3066 and mostly deprecated.
lt_grandfathered_db_t *
lt_grandfathered_db_new (void
);
Create a new instance of a lt_grandfathered_db_t.
lt_grandfathered_db_t *
lt_grandfathered_db_ref (lt_grandfathered_db_t *grandfathereddb
);
Increases the reference count of grandfathereddb
.
void
lt_grandfathered_db_unref (lt_grandfathered_db_t *grandfathereddb
);
Decreases the reference count of grandfathereddb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
lt_grandfathered_t * lt_grandfathered_db_lookup (lt_grandfathered_db_t *grandfathereddb
,const char *tag
);
Lookup lt_grandfathered_t
if tag
is valid and registered into the database.
typedef struct _lt_grandfathered_db_t lt_grandfathered_db_t;
All the fields in the lt_grandfathered_db_t structure are private to the lt_grandfathered_db_t implementation.