X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=libustconsumer%2Flowlevel.h;fp=libustconsumer%2Flowlevel.h;h=6ae6476c2688938b6ef0eb3cf9f0785609a73caf;hb=9dc7b7ff797a5cbb1e9ffd59e053a04562f306c4;hp=0000000000000000000000000000000000000000;hpb=28c1bb4003ca120888a1d61d5ec71eac426ae490;p=ust.git diff --git a/libustconsumer/lowlevel.h b/libustconsumer/lowlevel.h new file mode 100644 index 0000000..6ae6476 --- /dev/null +++ b/libustconsumer/lowlevel.h @@ -0,0 +1,35 @@ +/* + * lowlevel libustd header file + * + * Copyright 2005-2010 - + * Mathieu Desnoyers + * Copyright 2010- + * Oumarou Dicko + * Michael Sills-Lavoie + * Alexis Halle + * + * 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; either + * version 2.1 of the License, or (at your option) any later version. + * + * 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 + */ + +#ifndef LOWLEVEL_H +#define LOWLEVEL_H + +#include "ust/ustconsumer.h" + +void finish_consuming_dead_subbuffer(struct ustconsumer_callbacks *callbacks, struct buffer_info *buf); +size_t subbuffer_data_size(void *subbuf); + +#endif /* LOWLEVEL_H */ +