64 Commits (708e34ab7fa923ac082613803465afa2bf4c42bc)

Author SHA1 Message Date
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h> 8 years ago
leitner 6cd198cb98 remove unnecessary x86intrin.h include 8 years ago
leitner a1f1986247 include <foo> -> include "foo" 9 years ago
leitner 9cfa19396e special case buffer_get_token with token length 1 through memccpy 9 years ago
leitner 774a4b6714 add unistd.h 9 years ago
leitner 685ebdfb80 oops, did not actually flush the buffer 9 years ago
leitner a0cde0fee9 slight optimization for buffer_flush 9 years ago
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 7c5d119f9a fix buffer_get 10 years ago
leitner 8b3eb0be7c documented wrong return type 10 years ago
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner cf3dc34288 actually increase stralloc.len 11 years ago
leitner 53e2af7389 never close fd 0, 1 or 2 in buffer_close 11 years ago
leitner 4a04c40595 get rid of more -Wconversion warnings 11 years ago
leitner ee4a2c0cdb add man pages for buffer_from* 11 years ago
leitner 24d8e81116 add buffer_fromarray, buffer_frombuf 11 years ago
leitner bb1bebe517 stralloc* not const char* 16 years ago
leitner 1e549e9ee2 add man page 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 83bf636b86 add RETURN VALUE section 19 years ago
leitner 25c57a0b1b implement Nikola's idea to remove limit number of strings in errmsg 19 years ago
leitner 636cfb70b0 make sure buffer_get tries to get all the bytes it was asked for 20 years ago
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
20 years ago
leitner 6196f771cd remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
20 years ago
leitner c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 20 years ago
leitner 20c994bf59 fix a few man pages 20 years ago
leitner 9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
20 years ago
leitner 34df761a0a add buffer_mmapread 20 years ago
leitner b617d63d1e update dependencies
add errmsg_info and msg
20 years ago
leitner 77c5e333db signal EOF properly 20 years ago
leitner b48ce77792 add iob_write (to write an io batch through a callback) 20 years ago
leitner ccba2abe9b add RETURN VALUE to man page 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 9e598be7e5 add sys/types.h 21 years ago
leitner a6a00edd75 add errmsg API 21 years ago
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
21 years ago
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
22 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 053aadde58 add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
22 years ago
leitner 5950f0c5ae add some man pages 23 years ago
leitner ac331f66f6 duh, cut-and-paste error 23 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