/** * rb_source_want_uri: * @source: a #RBSource * @uri: a URI for the source to consider * * Returns an indication of how much the source wants to handle * the specified URI. 100 is the highest usual value, and should * only be used when the URI can only be associated with this source. * 0 should be used when the URI does not match the source at all. * * Return value: value from 0 to 100 indicating how much the * source wants this URI. */ guint rb_source_want_uri (RBSource *source, const char *uri) { RBSourceClass *klass = RB_SOURCE_GET_CLASS (source); if (klass->impl_want_uri) return klass->impl_want_uri (source, uri); return 0; }