allow link_callback in more places
Merge pull request #16 from jensadne/link_callback_argument

allow specifying link_callback