Split ctf-writer's stream.h into stream.h and stream-class.h

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Split the CTF-Writer API into IR and Writer-specific parts

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Split the CTF-Writer implementation in IR and Writer parts

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Implement CTF-IR Clock getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Tests: Test CTF-IR Clock's getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add Python bindings for CTF-IR clock's getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add bt_ctf_field_type_enumeration private search functions

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Fix: Check that enumeration container types are integers

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Implement CTF-IR event fields getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Docs: CTF-IR sequence's length field must be unsigned

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Tests: Test CTF-IR event-field's getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Update CTF-Writer and CTF-IR copyrights

Changed the copyrights to stay remain in line with our usual
politic of authors retaining their copyright on the code they
contribute.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add Python bindings for CTF-IR event-field getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Clean-up: Remove unecessary line break

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Implement CTF-IR field types getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Tests: Add event types getter tests

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Tests: Add an array type and field test

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add Python bindings for CTF-IR event-types getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Remove unecessary linking on libbabeltrace-ctf-text

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Fix: Set the stream class' id in the packet header

The stream id was used in the packet header whereas the
stream class' id should be used.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>