summaryrefslogtreecommitdiff
path: root/src/vector.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2004-02-13Removed unnecessary casts (mostly dealing with memory allocation.) IRobert James Kaes1-3/+3
should never have added them in the first place. They don't really buy anything, and they can hide bugs.
2003-07-31Added appropriate casts from (void*) so that the code will compileRobert James Kaes1-3/+3
cleanly with a C++ compiler. (Tested using GCC 3.3)
2003-05-30(vector_getentry): Changed the API to return the data pointer and haveRobert James Kaes1-12/+11
the length returned in a argument variable pointer. This should be a more natural way of using the function.
2003-05-29# Added a vector_prepend() function and recoded the old vector_insert()Robert James Kaes1-10/+36
to be a general "insert" for both vector_append() and vector_prepend()
2003-05-29(vector_append): Renamed the vector_insert() function to moreRobert James Kaes1-3/+3
accurately indicate that entries are appended to the end of the vector.
2002-05-24Fixed a tonne of spelling mistakes.Robert James Kaes1-5/+5
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes1-2/+2
2002-05-13Added a "tail" pointer to the vector to make insertions more efficient.Robert James Kaes1-11/+16
2002-04-18Replaced the explicit header includes with one call to tinyproxy.h. Also,Robert James Kaes1-17/+10
added the utils.h header and changed all the malloc, calloc, free, and strdup to the appropriate safe variety.
2002-04-09Cleaned up the include lines to be slightly more portable (I hope.)Robert James Kaes1-2/+1
2002-04-07Added the vector module which is a vector implementation. I use it in theRobert James Kaes1-0/+191
hashmap implementation.