Top | ![]() |
![]() |
![]() |
![]() |
DhLink * | dh_link_new () |
void | dh_link_free () |
gint | dh_link_compare () |
DhLink * | dh_link_ref () |
void | dh_link_unref () |
const gchar * | dh_link_get_name () |
const gchar * | dh_link_get_book_name () |
const gchar * | dh_link_get_page_name () |
const gchar * | dh_link_get_file_name () |
const gchar * | dh_link_get_book_id () |
gchar * | dh_link_get_uri () |
DhLinkFlags | dh_link_get_flags () |
void | dh_link_set_flags () |
DhLinkType | dh_link_get_link_type () |
const gchar * | dh_link_get_type_as_string () |
DhLink * dh_link_new (DhLinkType type
,const gchar *base
,const gchar *id
,const gchar *name
,DhLink *book
,DhLink *page
,const gchar *filename
);
Create a new DhLink object.
If type is one of DH_LINK_TYPE_BOOK or DH_LINK_TYPE_PAGE then the book
and
page
links have to be provided.
gint dh_link_compare (gconstpointer a
,gconstpointer b
);
Compare the link a
and b
.
const gchar *
dh_link_get_book_name (DhLink *link
);
Get the book name the link is pointing to.
const gchar *
dh_link_get_page_name (DhLink *link
);
Get the page name the link is pointing to.
const gchar *
dh_link_get_file_name (DhLink *link
);
Get the file name of the link.
const gchar *
dh_link_get_book_id (DhLink *link
);
Get the book id the link is pointing to.
void dh_link_set_flags (DhLink *link
,DhLinkFlags flags
);
Set the flags of the link.