1 /* liblttdutils header file
4 * Oumarou Dicko <oumarou.dicko@polymtl.ca>
5 * Michael Sills-Lavoie <michael.sills-lavoie@polymtl.ca>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 #ifndef _LIBLTTDUTILS_H
20 #define _LIBLTTDUTILS_H
25 * liblttdutils_new_callbacks - Is a utility function called to create a new
26 * callbacks struct used by liblttd to write trace data to the disk.
28 * @trace_name: Directory name of the trace to write to. It will be created.
29 * @append_mode: Append to a possibly existing trace.
30 * @verbose_mode: Verbose mode.
32 * Returns the callbacks if the function succeeds else NULL.
34 struct liblttd_callbacks
* liblttdutils_local_new_callbacks(char* trace_name
,
35 int append_mode
, int verbose_mode
);
37 #endif /*_LIBLTTDUTILS_H */
This page took 0.040886 seconds and 4 git commands to generate.