X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fapi.h;h=2ceae50409c55711f9e1eb9ea5c4fad10f4c5bf5;hb=70f9f7f95a5a36231e4a71191bcd88d582c3ca81;hp=f8a1145b10fe4fcee1c7bfe9bacd396784af741a;hpb=852c29366c62c78f78af261f0287afcd92eae6b5;p=lttng-ust.git diff --git a/libringbuffer/api.h b/libringbuffer/api.h index f8a1145b..2ceae504 100644 --- a/libringbuffer/api.h +++ b/libringbuffer/api.h @@ -1,25 +1,37 @@ -#ifndef _LINUX_RING_BUFFER_API_H -#define _LINUX_RING_BUFFER_API_H +#ifndef _LTTNG_RING_BUFFER_API_H +#define _LTTNG_RING_BUFFER_API_H /* - * linux/ringbuffer/api.h - * - * Copyright (C) 2010 - Mathieu Desnoyers "mathieu.desnoyers@efficios.com" + * libringbuffer/api.h * * Ring Buffer API. * - * Dual LGPL v2.1/GPL v2 license. + * 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 */ -#include "../../wrapper/ringbuffer/backend.h" -#include "../../wrapper/ringbuffer/frontend.h" -#include "../../wrapper/ringbuffer/vfs.h" +#include "backend.h" +#include "frontend.h" +#include /* * ring_buffer_frontend_api.h contains static inline functions that depend on * client static inlines. Hence the inclusion of this "api" header only * within the client. */ -#include "../../wrapper/ringbuffer/frontend_api.h" +#include "frontend_api.h" -#endif /* _LINUX_RING_BUFFER_API_H */ +#endif /* _LTTNG_RING_BUFFER_API_H */