X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fapi.h;h=ec4f52295bbc7332cdc33e9b476eef79d83c23c0;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=f8a1145b10fe4fcee1c7bfe9bacd396784af741a;hpb=852c29366c62c78f78af261f0287afcd92eae6b5;p=lttng-ust.git diff --git a/libringbuffer/api.h b/libringbuffer/api.h index f8a1145b..ec4f5229 100644 --- a/libringbuffer/api.h +++ b/libringbuffer/api.h @@ -1,25 +1,23 @@ -#ifndef _LINUX_RING_BUFFER_API_H -#define _LINUX_RING_BUFFER_API_H - /* - * linux/ringbuffer/api.h + * SPDX-License-Identifier: LGPL-2.1-only * - * Copyright (C) 2010 - Mathieu Desnoyers "mathieu.desnoyers@efficios.com" + * Copyright (C) 2010-2012 Mathieu Desnoyers * * Ring Buffer API. - * - * Dual LGPL v2.1/GPL v2 license. */ -#include "../../wrapper/ringbuffer/backend.h" -#include "../../wrapper/ringbuffer/frontend.h" -#include "../../wrapper/ringbuffer/vfs.h" +#ifndef _LTTNG_RING_BUFFER_API_H +#define _LTTNG_RING_BUFFER_API_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 */