Add project status to readme
[ltt-control.git] / liblttd / liblttdvfs.h
CommitLineData
e4ef128f
MD
1/*
2 * liblttdvfs header file
3 *
4 * Copyright 2010 - Oumarou Dicko <oumarou.dicko@polymtl.ca>
5 * Michael Sills-Lavoie <michael.sills-lavoie@polymtl.ca>
6 * Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef _LIBLTTDVFS_H
24#define _LIBLTTDVFS_H
25
26#include "liblttd.h"
27
28/**
29 * liblttdvfs_new_callbacks - Is a utility function called to create a new
30 * callbacks struct used by liblttd to write trace data to the virtual file
31 * system.
32 *
33 * @trace_name: Directory name of the trace to write to. It will be created.
34 * @append_mode: Append to a possibly existing trace.
35 * @verbose_mode: Verbose mode.
36 *
37 * Returns the callbacks if the function succeeds else NULL.
38 */
39struct liblttd_callbacks*
40liblttdvfs_new_callbacks(char* trace_name, int append_mode, int verbose_mode);
41
42#endif /*_LIBLTTDVFS_H */
This page took 0.023754 seconds and 4 git commands to generate.