Output a warning if packets are lost
[babeltrace.git] / include / babeltrace / ctf-ir / clock.h
index dea3f2b6c5d0b2a970c48724618809100ab464d7..1ac8ca9e36d99693d312914ec82e6dc80a767cb0 100644 (file)
@@ -159,7 +159,7 @@ extern int bt_ctf_clock_set_offset_s(struct bt_ctf_clock *clock,
                uint64_t offset_s);
 
 /*
- * bt_ctf_clock_get_offset_s: get a clock's offset in ticks.
+ * bt_ctf_clock_get_offset: get a clock's offset in ticks.
  *
  * Get the clock's offset in ticks from Epoch + offset_t.
  *
@@ -231,7 +231,7 @@ extern const unsigned char *bt_ctf_clock_get_uuid(struct bt_ctf_clock *clock);
  * Returns 0 on success, a negative value on error.
  */
 extern int bt_ctf_clock_set_uuid(struct bt_ctf_clock *clock,
-                const unsigned char *uuid);
+               const unsigned char *uuid);
 
 /*
  * bt_ctf_clock_get_time: get a clock's current time value.
@@ -258,6 +258,8 @@ extern int bt_ctf_clock_set_time(struct bt_ctf_clock *clock,
  * bt_ctf_clock_get and bt_ctf_clock_put: increment and decrement the
  * refcount of the clock
  *
+ * You may also use bt_ctf_get() and bt_ctf_put() with clock objects.
+ *
  * These functions ensure that the clock won't be destroyed when it
  * is in use. The same number of get and put (plus one extra put to
  * release the initial reference done at creation) has to be done to
This page took 0.0255 seconds and 4 git commands to generate.