Fix a couple (value) mistakes in value_strings. Found by Martin's patch on the ...
[obnox/wireshark/wip.git] / frame_data_sequence.h
index 8f59cdb20b854066c2af2a404a6194d0648b8573..24bd4ccdedb1e54cc7def96e3c159e98aeca351b 100644 (file)
 #ifndef __FRAME_DATA_SEQUENCE_H__
 #define __FRAME_DATA_SEQUENCE_H__
 
-/*
- * We store the frame_data structures in a radix tree, with 1024
- * elements per level.  The leaf nodes are arrays of 1024 frame_data
- * structures; the nodes above them are arrays of 1024 pointers to
- * the nodes below them.  The capture_file structure has a pointer
- * to the root node.
- *
- * As frame numbers are 32 bits, and as 1024 is 2^10, that gives us
- * up to 4 levels of tree.
- */
-#define LOG2_NODES_PER_LEVEL   10
-#define NODES_PER_LEVEL                (1<<LOG2_NODES_PER_LEVEL)
-
-typedef struct {
-  guint32      count;           /* Total number of frames */
-  void        *ptree_root;      /* Pointer to the root node */
-} frame_data_sequence;
+typedef struct _frame_data_sequence frame_data_sequence;
 
 extern frame_data_sequence *new_frame_data_sequence(void);