move ltt-private.h from public directroy into private directroy
[lttv.git] / ltt / branches / poly / include / ltt / facility.h
CommitLineData
7c6b3cd7 1#ifndef FACILITY_H
2#define FACILITY_H
975e44c7 3
4#include <ltt/ltt.h>
5
1b82f325 6/* Facilities are obtained from an opened trace. The structures associated
7 with a facility are released when the trace is closed. Each facility
8 is characterized by its name and checksum. */
975e44c7 9
290dfc8c 10char *ltt_facility_name(LttFacility *f);
975e44c7 11
290dfc8c 12LttChecksum ltt_facility_checksum(LttFacility *f);
975e44c7 13
a5dcde2f 14/* open facility */
15void ltt_facility_open(LttTrace * t, char * facility_name);
975e44c7 16
17/* Discover the event types within the facility. The event type integer id
1b82f325 18 relative to the trace is from 0 to nb_event_types - 1. The event
19 type id within the trace is the relative id + the facility base event
20 id. */
21
290dfc8c 22unsigned ltt_facility_base_id(LttFacility *f);
975e44c7 23
290dfc8c 24unsigned ltt_facility_eventtype_number(LttFacility *f);
975e44c7 25
290dfc8c 26LttEventType *ltt_facility_eventtype_get(LttFacility *f, unsigned i);
975e44c7 27
290dfc8c 28LttEventType *ltt_facility_eventtype_get_by_name(LttFacility *f, char *name);
975e44c7 29
7c6b3cd7 30#endif // FACILITY_H
This page took 0.027334 seconds and 4 git commands to generate.