| Libbeagle Reference Manual | ||||
|---|---|---|---|---|
BeagleHit;
BeagleHit* beagle_hit_ref (BeagleHit *hit);
void beagle_hit_unref (BeagleHit *hit);
const char* beagle_hit_get_uri (BeagleHit *hit);
BeagleTimestamp* beagle_hit_get_timestamp (BeagleHit *hit);
const char* beagle_hit_get_type (BeagleHit *hit);
const char* beagle_hit_get_mime_type (BeagleHit *hit);
const char* beagle_hit_get_source (BeagleHit *hit);
double beagle_hit_get_score (BeagleHit *hit);
BeagleHit* beagle_hit_ref (BeagleHit *hit);
Increases the reference count of the BeagleHit.
void beagle_hit_unref (BeagleHit *hit);
Decreases the reference count of the BeagleHit. When its reference count drops to 0, it is freed.
hit : |
a BeagleHit. |
const char* beagle_hit_get_uri (BeagleHit *hit);
Fetches the URI of the given BeagleHit.
BeagleTimestamp* beagle_hit_get_timestamp (BeagleHit *hit);
Fetches the timestamp of the given BeagleHit.
const char* beagle_hit_get_type (BeagleHit *hit);
Fetches the type of the given BeagleHit.
const char* beagle_hit_get_mime_type (BeagleHit *hit);
Fetches the mime type of the given BeagleHit.
const char* beagle_hit_get_source (BeagleHit *hit);
Fetches the source of the given BeagleHit.