Move some functions around to improve overall structure
[lttv.git] / lttv / lttv / sync / graph_functions.h
index 85e53a7aaa99a8966183ebb81ca8079773313cf2..65517088556b71b85e0a5defa3bed737e472dbdc 100644 (file)
 
 struct _SyncState;
 
+typedef void (GraphVariableFunction)(struct _SyncState* const syncState, const
+       unsigned int i);
 typedef void (GraphFunction)(struct _SyncState* const syncState, const
        unsigned int i, const unsigned int j);
 
 typedef struct
 {
+       GraphVariableFunction* writeVariables;
        /* This is for graphs where the data on both axis is in the range of
         * timestamps */
-       GraphFunction* writeTraceTracePlots;
+       GraphFunction* writeTraceTraceForePlots;
+       GraphFunction* writeTraceTraceBackPlots;
        GraphFunction* writeTraceTraceOptions;
        /* This is for graphs where the data on the abscissa is in the range of
         * timestamps and the ordinates is in the range of timestamp deltas */
-       GraphFunction* writeTraceTimePlots;
+       GraphFunction* writeTraceTimeForePlots;
+       GraphFunction* writeTraceTimeBackPlots;
        GraphFunction* writeTraceTimeOptions;
 } GraphFunctions;
 
 
+FILE* createGraphsDir(const char* const graphsDir);
+char* changeToGraphsDir(const char* const graphsDir);
 void writeGraphsScript(struct _SyncState* const syncState);
 
 #endif
This page took 0.02218 seconds and 4 git commands to generate.