move everything out of trunk
[lttv.git] / trunk / obsolete / genevent / genevent.h
diff --git a/trunk/obsolete/genevent/genevent.h b/trunk/obsolete/genevent/genevent.h
deleted file mode 100644 (file)
index 4515c75..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/******************************************************************************
- * Genevent
- *
- * Event generator. XML to logging C code converter.
- *
- * Supports : 
- *     - C Alignment
- *     - C types : struct, union, enum, basic types.
- *     - Architectures : LP32, ILP32, ILP64, LLP64, LP64.
- *
- * Additionnal structures supported :
- *     - embedded variable size strings
- *     - embedded variable size arrays
- *     - embedded variable size sequences
- * 
- * Notes :
- * (1)
- * enums are limited to integer type, as this is what is used in C. Note,
- * however, that ISO/IEC 9899:TC2 specify that the type of enum can be char,
- * unsigned int or int. This is implementation defined (compiler). That's why we
- * add a check for sizeof enum.
- *
- * (2)
- * Because of archtecture defined type sizes, we need to ask for ltt_align
- * (which gives the alignment) by passing basic types, not their actual sizes.
- * It's up to ltt_align to determine sizes of types.
- *
- * Note that, from
- * http://www.usenix.org/publications/login/standards/10.data.html
- * (Andrew Josey <a.josey@opengroup.org>) :
- *
- *     Data Type       LP32    ILP32   ILP64   LLP64   LP64
- *     char    8       8       8       8       8
- *     short   16      16      16      16      16
- *     int32                   32
- *     int     16      32      64      32      32
- *     long    32      32      64      32      64
- *     long long (int64)                                       64
- *     pointer 32      32      64      64      64
- *
- * With these constraints :
- * sizeof(char) <= sizeof(short) <= sizeof(int)
- *          <= sizeof(long) = sizeof(size_t)
- * 
- * and therefore sizeof(long) <= sizeof(pointer) <= sizeof(size_t)
- *
- * Which means we only have to remember which is the biggest type in a structure
- * to know the structure's alignment.
- */
-
-
-
-/* Code printing */
-
-/* Type size checking */
-int print_check(int fd);
-
-
-/* Print types */
-int print_types(int fd);
-
-/* Print events */
-int print_events(int fd);
-
-
-
This page took 0.023457 seconds and 4 git commands to generate.