X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fshm_types.h;h=8b01d803e8ad4c2189f8bf40dbbab0bf9188511a;hb=e92f3e285939848f248af08f11a39a04a7fcf852;hp=52348443f4b99549d49ba1ee3dc06007239d94f7;hpb=4e918eab0496b86c6a4f7e46c1b0a78d21a6bb54;p=lttng-ust.git diff --git a/libringbuffer/shm_types.h b/libringbuffer/shm_types.h index 52348443..8b01d803 100644 --- a/libringbuffer/shm_types.h +++ b/libringbuffer/shm_types.h @@ -4,9 +4,21 @@ /* * libringbuffer/shm_types.h * - * Copyright 2011 (c) - Mathieu Desnoyers + * Copyright (C) 2011-2012 Mathieu Desnoyers * - * Dual LGPL v2.1/GPL v2 license. + * 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 */ #include @@ -20,8 +32,8 @@ struct shm_object { int wait_fd[2]; /* fd for wait/wakeup */ char *memory_map; int is_shadow; - uint64_t memory_map_size; - size_t allocated_len; + size_t memory_map_size; + uint64_t allocated_len; }; struct shm_object_table {