summaryrefslogtreecommitdiffhomepage
path: root/src/vector.c
AgeCommit message (Collapse)Author
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2009-08-04vector: remove implicit cast warning in vector_insert() by adding explicit castMichael Adam
Michael
2009-08-04vector: remove implicit cast warning in vector_create()Michael Adam
Michael
2009-08-04change vector_prepend() to take size_t len instead of ssize_t len argument.Michael Adam
Michael
2009-08-04change vector_append() to take size_t len instead of ssize_t len argumentMichael Adam
Michael
2009-08-04vector: change vectore_insert() to take size_t len instead of ssize_t len argMichael Adam
Michael
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
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 Sivaraman
Also fix the type which is passed in from various places.
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman
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 Kaes
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 Kaes
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 Kaes
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 Kaes
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 Kaes
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 Kaes
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 Kaes
accurately indicate that entries are appended to the end of the vector.
2002-05-24Fixed a tonne of spelling mistakes.Robert James Kaes
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes
2002-05-13Added a "tail" pointer to the vector to make insertions more efficient.Robert James Kaes
2002-04-18Replaced the explicit header includes with one call to tinyproxy.h. Also,Robert James Kaes
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 Kaes
2002-04-07Added the vector module which is a vector implementation. I use it in theRobert James Kaes
hashmap implementation.