Top |
lt_relation_db_t *
lt_relation_db_new (void
);
Create a new instance of a lt_relation_db_t.
lt_relation_db_t *
lt_relation_db_ref (lt_relation_db_t *relationdb
);
Increases the reference count of relationdb
.
void
lt_relation_db_unref (lt_relation_db_t *relationdb
);
Decreases the reference count of relationdb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
lt_list_t * lt_relation_db_lookup_lang_from_script (lt_relation_db_t *relationdb
,const lt_script_t *script
);
Look up the languages corresponding to the script script
.
lt_list_t * lt_relation_db_lookup_script_from_lang (lt_relation_db_t *relationdb
,const lt_lang_t *lang
);
Look up the scripts corresponding to the language lang
.
typedef struct _lt_relation_db_t lt_relation_db_t;
All the fields in the lt_relation_db_t structure are private to the lt_relation_db_t implementation.