35 Commits (a1f198624778162b07ca33dbac66c6ee3ca1df1d)

Author SHA1 Message Date
leitner 695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
10 years ago
leitner 214ad3a92e use gcc magic and a #define to convert buffer_puts to buffer_put if the
string argument length is known at compile time (same for
buffer_putsflush)
10 years ago
leitner ed93e203a1 more constness for stralloc and buffer 10 years ago
leitner 4a04c40595 get rid of more -Wconversion warnings 11 years ago
leitner 24d8e81116 add buffer_fromarray, buffer_frombuf 11 years ago
leitner 4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
13 years ago
leitner 928bfe5c09 for installed header files, add comment saying where they came from 15 years ago
leitner e2f9fa232e remove buffer_copy prototype 16 years ago
leitner 02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 16 years ago
leitner 3004b518ef switch to size_t and ssize_t 18 years ago
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
20 years ago
leitner c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 20 years ago
leitner 34df761a0a add buffer_mmapread 20 years ago
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
20 years ago
leitner 38ef27207a add buffer_putm and buffer_putmflush 20 years ago
leitner 5dfea5617e add buffer_putsaflush 20 years ago
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
20 years ago
leitner aeb609627b add "extern" before variables 21 years ago
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
21 years ago
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc) 22 years ago
leitner 558c6128fe better and more predication, improved documentation 22 years ago
leitner 734b248bdc fix typo in buffer_GETC 22 years ago
leitner 053aadde58 add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
22 years ago
leitner e8d842791b remove buffer_init argument warning when passing read or write 22 years ago
leitner 5950f0c5ae add some man pages 22 years ago
leitner 75a033e481 add buffer_putnlflush 23 years ago
leitner 12fbaf7c9c make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
23 years ago
leitner f6d554da10 Fixed input buffers, thanks to David Lichteblau. 23 years ago
leitner 05b4cf85f7 some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
24 years ago
leitner 1093f1c267 oops 24 years ago
sanjiyan 647dd96943 added a macro buffer_getline 24 years ago
sanjiyan 6838f0f0bb aded buffer_getc, buffer_getn get n bytes less only if EOF and
buffer_get_token for getting n bytes till finding a termination char or
EOF/error.
24 years ago
leitner 03209de7f0 und noch nen commit ;-) 24 years ago
leitner 1a3d6ebe8e add routines to put number in buffer. 24 years ago
leitner fec092cda1 forgot buffer.h 24 years ago