callsite: support instruction pointer field
[babeltrace.git] / include / babeltrace / types.h
index 9addebb20e7405c05e65593d785ae535c88be662..a0ad283d1a064831e4f1c2ecee877cd51e8fdbe0 100644 (file)
@@ -34,7 +34,7 @@
 /* Preallocate this many fields for structures */
 #define DEFAULT_NR_STRUCT_FIELDS 8
 
-struct ctf_stream;
+struct ctf_stream_definition;
 struct stream_pos;
 struct format;
 struct definition;
@@ -106,7 +106,7 @@ struct stream_pos {
        /* read/write dispatch table. Specific to plugin used for stream. */
        rw_dispatch *rw_table;  /* rw dispatch table */
        int (*event_cb)(struct stream_pos *pos,
-                       struct ctf_stream *stream);
+                       struct ctf_stream_definition *stream);
 };
 
 static inline
@@ -371,6 +371,7 @@ int64_t get_signed_int(const struct definition *field);
 int get_int_signedness(const struct definition *field);
 int get_int_byte_order(const struct definition *field);
 int get_int_base(const struct definition *field);
+size_t get_int_len(const struct definition *field);    /* in bits */
 enum ctf_string_encoding get_int_encoding(const struct definition *field);
 
 /*
This page took 0.02342 seconds and 4 git commands to generate.