removed many g_error and exit(1) from the tracefile reader
[lttv.git] / ltt / branches / poly / ltt / trace.h
index 42fff96ff8f7f19bdaab9a8048ad104d66af87a9..ba66c33aa6669f54c6801035db25c543e9d8d959 100644 (file)
    descriptions...).
 
    When a trace is closed, all the associated facilities, types and fields
-   are released as well. */
+   are released as well. 
+   
+   return value is NULL if there is an error when opening the trace.
+   
+   */
 
 LttTrace *ltt_trace_open(const char *pathname);
 
-/* copy reopens a trace */
+/* copy reopens a trace 
+ *
+ * return value NULL if error while opening the trace 
+ */
 LttTrace *ltt_trace_copy(LttTrace *self);
 
 char * ltt_trace_name(LttTrace *t);
@@ -128,7 +135,7 @@ LttTracefile * ltt_tracefile_open(LttTrace *t, char * tracefile_name);
 
 void ltt_tracefile_open_cpu(LttTrace *t, char * tracefile_name);
 
-void ltt_tracefile_open_control(LttTrace *t, char * control_name);
+gint ltt_tracefile_open_control(LttTrace *t, char * control_name);
 
 
 /* obtain the time of an event */
This page took 0.023109 seconds and 4 git commands to generate.