summaryrefslogtreecommitdiff
path: root/src/vector.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04change vector_append() to take size_t len instead of ssize_t len argumentMichael Adam1-1/+1
Michael
2009-08-04vector: change vectore_insert() to take size_t len instead of ssize_t len argMichael Adam1-1/+1
Michael
2008-12-01Reformat code to GNU coding styleMukund Sivaraman1-88/+96
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman1-1/+1
Also fix the type which is passed in from various places.
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman1-10/+10
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated.
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes1-83/+83
I re-indented the source code using indent with the following options: indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs There are now _no_ tabs in the source files, and all indentation is eight spaces. Lines are 80 characters long, and the procedure type is on it's own line. Read the indent manual for more information about what each option means.
2005-07-12* Updated Copyright Email AddressesRobert James Kaes1-2/+2
Updated the copyright email addresses for Robert James Kaes. The users.sourceforge.net address should always exist.
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.