X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-writer%2Fwriter.h;h=0705b05f01ed4cf11471b2a03cfb467c54fcf5c0;hb=cbd6a07147526c161645ce4f5f0db50a10445a75;hp=68031ac3fce2b52facc099925975e9728f5b94f3;hpb=46bd0f2b6f3056aa85ac827a85fd8c878f261313;p=babeltrace.git diff --git a/include/babeltrace/ctf-writer/writer.h b/include/babeltrace/ctf-writer/writer.h index 68031ac3..0705b05f 100644 --- a/include/babeltrace/ctf-writer/writer.h +++ b/include/babeltrace/ctf-writer/writer.h @@ -4,7 +4,7 @@ /* * BabelTrace - CTF Writer: Writer * - * Copyright 2013 EfficiOS Inc. + * Copyright 2013, 2014 Jérémie Galarneau * * Author: Jérémie Galarneau * @@ -30,6 +30,8 @@ * http://www.efficios.com/ctf */ +#include + #ifdef __cplusplus extern "C" { #endif @@ -39,13 +41,6 @@ struct bt_ctf_stream; struct bt_ctf_stream_class; struct bt_ctf_clock; -enum bt_ctf_byte_order { - BT_CTF_BYTE_ORDER_NATIVE = 0, - BT_CTF_BYTE_ORDER_LITTLE_ENDIAN, - BT_CTF_BYTE_ORDER_BIG_ENDIAN, - BT_CTF_BYTE_ORDER_NETWORK, -}; - /* * bt_ctf_writer_create: create a writer instance. * @@ -67,7 +62,7 @@ extern struct bt_ctf_writer *bt_ctf_writer_create(const char *path); * @param writer Writer instance. * @param stream_class Stream class to instantiate. * - * Returns an allocated writer on success, NULL on error. + * Returns an allocated stream on success, NULL on error. */ extern struct bt_ctf_stream *bt_ctf_writer_create_stream( struct bt_ctf_writer *writer,