X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fiterator.h;h=6ed5b3b64f70230733abc227c3850b51e1aa984b;hb=1b25fe5879436a90fd22a731e9d3371807e78ba1;hp=f2bd50dd592764d6089f23af47ecc325f613f98d;hpb=f3bc08c50e1b302bceea699027d889fd6d9af525;p=lttng-modules.git diff --git a/lib/ringbuffer/iterator.h b/lib/ringbuffer/iterator.h index f2bd50dd..6ed5b3b6 100644 --- a/lib/ringbuffer/iterator.h +++ b/lib/ringbuffer/iterator.h @@ -1,21 +1,34 @@ -#ifndef _LINUX_RING_BUFFER_ITERATOR_H -#define _LINUX_RING_BUFFER_ITERATOR_H +#ifndef _LIB_RING_BUFFER_ITERATOR_H +#define _LIB_RING_BUFFER_ITERATOR_H /* - * linux/ringbuffer/iterator.h - * - * (C) Copyright 2010 - Mathieu Desnoyers + * lib/ringbuffer/iterator.h * * Ring buffer and channel iterators. * + * Copyright (C) 2010-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * * Author: * Mathieu Desnoyers - * - * Dual LGPL v2.1/GPL v2 license. */ -#include "../../wrapper/ringbuffer/backend.h" -#include "../../wrapper/ringbuffer/frontend.h" +#include +#include +#include /* * lib_ring_buffer_get_next_record advances the buffer read position to the next @@ -67,4 +80,4 @@ void channel_iterator_free(struct channel *chan); void channel_iterator_reset(struct channel *chan); void lib_ring_buffer_iterator_reset(struct lib_ring_buffer *buf); -#endif /* _LINUX_RING_BUFFER_ITERATOR_H */ +#endif /* _LIB_RING_BUFFER_ITERATOR_H */