/*
- * $Id: HttpHdrRange.cc,v 1.4 1998/03/11 21:10:57 rousskov Exp $
+ * $Id: HttpHdrRange.cc,v 1.5 1998/03/11 21:11:47 rousskov Exp $
*
* DEBUG: section 64 HTTP Range Header
* AUTHOR: Alex Rousskov
}
}
-void
-httpHdrRangeJoinWith(HttpHdrRange * range, const HttpHdrRange * new_range)
-{
- HttpHdrRangePos pos = HttpHdrRangeInitPos;
- HttpHdrRangeSpec spec;
- assert(range && new_range);
- stackPrePush(&range->specs, new_range->specs.count);
- while (httpHdrRangeGetSpec(new_range, &spec, &pos))
- stackPush(&range->specs, httpHdrRangeSpecDup(&spec));
-}
-
/*
* canonizes all range specs within a set preserving the order
* returns true if the set is valid after canonization;