Code

RRTimeslice: Added rrtimeslice_cmp().
authorSebastian Harl <sh@tokkee.org>
Wed, 7 Nov 2012 20:25:58 +0000 (21:25 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 7 Nov 2012 20:25:58 +0000 (21:25 +0100)
commit165932d9926ca1b6510e10a728d35d40a2ff7c2d
tree82ee0c74d3e744260f895967d0b19697641c05b2
parentc0e946b974e557e8274f4d7706633dbf0ff4041c
RRTimeslice: Added rrtimeslice_cmp().

This function compares two timeslices by timestamp. It returns values less
than zero, zero or greater than zero if the first timestamp is smaller than,
equal to or greater than the second.

Values -2 / 2 indicate that the sequence numbers don't match while values
-1 / 1 indicate that they do match.
src/postrr.h.in
src/postrr.sql.in
src/rrtimeslice.c