X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ffacility.h;h=290dca7b1900efacbe7a6135055fb7beac605211;hb=45e14832eebe9f25938b2c668d8ef1acd56a2436;hp=8fda81e9b6f0470daf94c287dfec592f577fad8b;hpb=f95bc8309fe113855266f4445874248b6a285062;p=lttv.git diff --git a/ltt/branches/poly/ltt/facility.h b/ltt/branches/poly/ltt/facility.h index 8fda81e9..290dca7b 100644 --- a/ltt/branches/poly/ltt/facility.h +++ b/ltt/branches/poly/ltt/facility.h @@ -25,12 +25,12 @@ with a facility are released when the trace is closed. Each facility is characterized by its name and checksum. */ -char *ltt_facility_name(LttFacility *f); +gchar *ltt_facility_name(LttFacility *f); LttChecksum ltt_facility_checksum(LttFacility *f); /* open facility */ -void ltt_facility_open(LttTrace * t, char * facility_name); +void ltt_facility_open(LttTrace * t, gchar * facility_name); /* Discover the event types within the facility. The event type integer id relative to the trace is from 0 to nb_event_types - 1. The event @@ -43,7 +43,9 @@ unsigned ltt_facility_eventtype_number(LttFacility *f); LttEventType *ltt_facility_eventtype_get(LttFacility *f, unsigned i); -LttEventType *ltt_facility_eventtype_get_by_name(LttFacility *f, char *name); +LttEventType *ltt_facility_eventtype_get_by_name(LttFacility *f, gchar *name); + +int ltt_facility_close(LttFacility *f); #endif // FACILITY_H