X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fiterator.h;h=4bfd816391c70c1cf49c8ed0212bf214437fb253;hb=886d51a3d7ed5fa6b41d7f19b3e14ae6c535a44c;hp=f2bd50dd592764d6089f23af47ecc325f613f98d;hpb=bbda3a00431e819ecfbe0056eaa598100c848e0c;p=lttng-modules.git diff --git a/lib/ringbuffer/iterator.h b/lib/ringbuffer/iterator.h index f2bd50dd..4bfd8163 100644 --- a/lib/ringbuffer/iterator.h +++ b/lib/ringbuffer/iterator.h @@ -1,17 +1,29 @@ -#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" @@ -67,4 +79,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 */