seq-range-array.h revision 86bde2c1838d1ce967fa2b394bb952004a4adcb7
#ifndef SEQ_RANGE_ARRAY_H
#define SEQ_RANGE_ARRAY_H
struct seq_range {
};
struct seq_range_iter {
};
/* Add sequrence to range. If the array isn't created yet, create it with
initial size of init_count. */
/* Like seq_range_array_add(), but reutrn TRUE if seq was already in the
array. */
/* Like seq_range_array_add(), but if the array isn't already initialized do
it with i_array_init(). */
/* Remove given sequrence from range. Returns TRUE if it was found. */
/* Remove a sequence range. Returns number of sequences actually removed. */
/* Remove sequences from dest that don't exist in src.
Returns the number of sequences actually removed. */
unsigned int
/* Returns TRUE if sequence exists in the range. */
/* Returns TRUE if arrays have common sequences. */
/* Return number of sequences in the range. */
/* Invert the sequence range. For example 5:6 -> min_seq:4,7:max_seq. */
/* Get the nth sequence (0 = first). Returns FALSE if idx is too large. */
#endif