X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmsg-iter%2Fmsg-iter.h;h=9fecf72889e9e7ce795dee236b9a56459c625a8b;hb=9a4c10a7ffe8c63592898e108b02afa125d893d1;hp=cc5313b1f54eac7a01b555c3e4b6498feb2472cb;hpb=3baf7da04dd683c808b0f478cf2322c79766778b;p=babeltrace.git diff --git a/src/plugins/ctf/common/msg-iter/msg-iter.h b/src/plugins/ctf/common/msg-iter/msg-iter.h index cc5313b1..9fecf728 100644 --- a/src/plugins/ctf/common/msg-iter/msg-iter.h +++ b/src/plugins/ctf/common/msg-iter/msg-iter.h @@ -110,17 +110,6 @@ enum ctf_msg_iter_status { CTF_MSG_ITER_STATUS_OK = CTF_MSG_ITER_MEDIUM_STATUS_OK, }; -/** - * CTF message iterator seek operation directives. - */ -enum ctf_msg_iter_seek_whence { - /** - * Set the iterator's position to an absolute offset in the underlying - * medium. - */ - CTF_MSG_ITER_SEEK_WHENCE_SET, -}; - /** * Medium operations. * @@ -201,17 +190,13 @@ struct ctf_msg_iter_medium_ops { * Repositions the underlying stream's position. * * This *optional* method repositions the underlying stream - * to a given absolute or relative position, as indicated by - * the whence directive. + * to a given absolute position in the medium. * - * @param whence One of #ctf_msg_iter_seek_whence values * @param offset Offset to use for the given directive * @param data User data * @returns One of #ctf_msg_iter_medium_status values */ - enum ctf_msg_iter_medium_status (* seek)( - enum ctf_msg_iter_seek_whence whence, - off_t offset, void *data); + enum ctf_msg_iter_medium_status (* seek)(off_t offset, void *data); /** * Returns a stream instance (weak reference) for the given