Add copyright notices and some comments about status and TODO
[lttv.git] / ltt / branches / poly / include / ltt / ltt.h
index a5f3fee076c84496fd4a783b38a0b6ac45876a93..0aa413bd7e7439fa3641622df630dc687a7317df 100644 (file)
@@ -1,8 +1,26 @@
+/* This file is part of the Linux Trace Toolkit trace reading library
+ * Copyright (C) 2003-2004 Michel Dagenais
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License Version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
 #ifndef LTT_H
 #define LTT_H
 
 #include <ltt/time.h>
-#include <ltt/LTTTypes.h>
+#include <glib.h>
 
 /* A trace is associated with a tracing session run on a single, possibly
    multi-cpu, system. It is defined as a pathname to a directory containing
@@ -83,7 +101,7 @@ typedef struct _TimeInterval{
 } TimeInterval;
 
 
-typedef uint64_t LttCycleCount;
+typedef guint64 LttCycleCount;
 
 
 /* Event positions are used to seek within a tracefile based on
@@ -106,7 +124,10 @@ typedef enum _LttArchEndian
 { LTT_LITTLE_ENDIAN, LTT_BIG_ENDIAN
 } LttArchEndian;
 
-#include <ltt/ltt-private.h>
+typedef enum _LttTypeEnum 
+{ LTT_INT, LTT_UINT, LTT_FLOAT, LTT_STRING, LTT_ENUM, LTT_ARRAY, 
+  LTT_SEQUENCE, LTT_STRUCT, LTT_UNION
+} LttTypeEnum;
 
  
 #endif // LTT_H
This page took 0.024737 seconds and 4 git commands to generate.