summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f4b0c7b)
-#include <lttv/attribute.h>
inline lttv_string_id lttv_string_id_from_string(const char *s) {
return g_quark_from_string(s);
inline lttv_string_id lttv_string_id_from_string(const char *s) {
return g_quark_from_string(s);
typedef struct _lttv_hook_closure {
typedef struct _lttv_hook_closure {
#ifndef LTTV_H
#define LTTV_H
#ifndef LTTV_H
#define LTTV_H
-
-#include <lttv/attribute.h>
-#include <lttv/hook.h>
-#include <lttv/option.h>
-#include <lttv/module.h>
/* Initial draft by Michel Dagenais May 2003
* Reworked by Mathieu Desnoyers, May 2003
*/
/* Initial draft by Michel Dagenais May 2003
* Reworked by Mathieu Desnoyers, May 2003
*/
/* The modules in the visualizer communicate with the main module and
with each other through attributes. There is a global set of attributes as
well as attributes attached to each trace set, trace and tracefile. */
/* The modules in the visualizer communicate with the main module and
with each other through attributes. There is a global set of attributes as
well as attributes attached to each trace set, trace and tracefile. */
lttv_attributes *lttv_global_attributes();
lttv_attributes *lttv_global_attributes();
/* Modules are allowed to define new command line options.
Each option has a long name (--long_name), a short one character
/* Modules are allowed to define new command line options.
Each option has a long name (--long_name), a short one character
-#include <lttv/lttv.h>
-#include <lttv/trace.h>
+#include "lttv.h"
+#include "trace.h"
/* The main program maintains a few central data structures and relies
/* The main program maintains a few central data structures and relies
they are loaded and initialized. */
they are loaded and initialized. */
-lttv_attributes *attributes_global;
+static lttv_attributes *attributes_global;
static lttv_hooks
*hooks_init_after,
static lttv_hooks
*hooks_init_after,
*/
#include <lttv/lttv.h>
*/
#include <lttv/lttv.h>
-#include <lttv/module.h>
#include <popt.h>
/* Table of loaded modules and paths where to search for modules */
#include <popt.h>
/* Table of loaded modules and paths where to search for modules */