Return gboolean instead of lrRc.
Automatically call lr_global_init() so client programs don't have to
Update c example
yum: Fix return value