projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfixing in progress
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
facility.h
diff --git
a/ltt/branches/poly/ltt/facility.h
b/ltt/branches/poly/ltt/facility.h
index 290dca7b1900efacbe7a6135055fb7beac605211..091d8af22be451a0e21daf83841269dda2ca3e39 100644
(file)
--- 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. */
with a facility are released when the trace is closed. Each facility
is characterized by its name and checksum. */
-
gchar *
ltt_facility_name(LttFacility *f);
+
GQuark
ltt_facility_name(LttFacility *f);
-
LttChecksum
ltt_facility_checksum(LttFacility *f);
+
guint32
ltt_facility_checksum(LttFacility *f);
/* open facility */
/* open facility */
-
void ltt_facility_open(LttTrace * t, gchar * facility_
name);
+
int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * path
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
/* 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
@@
-39,13
+39,17
@@
void ltt_facility_open(LttTrace * t, gchar * facility_name);
unsigned ltt_facility_base_id(LttFacility *f);
unsigned ltt_facility_base_id(LttFacility *f);
-
unsigned
ltt_facility_eventtype_number(LttFacility *f);
+
guint8
ltt_facility_eventtype_number(LttFacility *f);
-LttEventType *ltt_facility_eventtype_get(LttFacility *f,
unsigned
i);
+LttEventType *ltt_facility_eventtype_get(LttFacility *f,
guint8
i);
-LttEventType *ltt_facility_eventtype_get_by_name(LttFacility *f,
gchar *
name);
+LttEventType *ltt_facility_eventtype_get_by_name(LttFacility *f,
GQuark
name);
-int ltt_facility_close(LttFacility *f);
+void ltt_facility_close(LttFacility *f);
+
+/* Reserved facility names */
+
+static const char *ltt_facility_name_core = "core";
#endif // FACILITY_H
#endif // FACILITY_H
This page took
0.022827 seconds
and
4
git commands to generate.