about summary refs log tree commit diff
path: root/misc
AgeCommit message (Collapse)Author
2006-09-12The metainfo code provided a load -> test -> struct metainfo interface.Richard Nyberg
The metainfo struct has been replaced by functions for qeurying specific items from the torrent. In addition, the tests of the torrent data has been improved.
2006-09-12Moved from ../btpd/queue.hRichard Nyberg
2006-09-12Add functions for conversions between binary data and ascii hex.Richard Nyberg
Add function for reading a whole file. Enable printf format checking for some functions.
2006-09-12Add a hashtable implementation.Richard Nyberg
2006-09-12Enable printf format type checking for buf_print.Richard Nyberg
2006-09-12Add function benc_strlen.Richard Nyberg
2006-02-10Use c99 types conservatively to compile on OpenBSD. Also convert to or fromRichard Nyberg
time_t via long.
2006-02-08White space.Richard Nyberg
2006-02-08Add functions find_btpd_dir.Richard Nyberg
2006-02-08Remove unused function canon_path.Richard Nyberg
2006-02-08Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy.Richard Nyberg
2006-02-08Use strtoul to parse length of strings.Richard Nyberg
2006-02-08Added buf_swrite.Richard Nyberg
2006-02-06Check for failure to allocate memory.Richard Nyberg
2006-02-06Remove som unused code I commited by mistake. Replace integer parse codeRichard Nyberg
in benc_int with a call to strtoll.
2006-02-05o Changed the benc_ api to make it easier to use.Richard Nyberg
o Lot of work on the cli and its communication with btpd.
2006-02-05Make the buf api safe to continue to use even if an error has occured.Richard Nyberg
2006-02-05Add functions read_fully and write_fully. They are simpler alternatives toRichard Nyberg
read and write on blocking sockets.
2006-01-22Added vfsync and vfopen.Richard Nyberg
2006-01-17White space.Richard Nyberg
2006-01-16Unify the write and read structs. There was no good reason to keep themRichard Nyberg
separate. Improve the bts_seek so that it only calls close or lseek if necessary. Otherwise it's a nop. Hide bts_seek and instead make the offset explicit in calls to bts_get or bts_put.
2006-01-04Remove use of the ugly PRI* print macros.Richard Nyberg
2006-01-03o Removed an unused function.Richard Nyberg
o Made bit field argument to has_bit const since the function doesn't modify it.
2005-12-14Add and use rand_between.Richard Nyberg
2005-11-30The mega whitespace patch.Richard Nyberg
Tabs have been converted to spaces and trailing whitespace have been removed. I have fixed my emacs settings now :P
2005-07-30Fix style. Remove unnecessary check for EINTR.Richard Nyberg
2005-06-24Import btpd-0.1.Richard Nyberg
git-svn-id: file:///home/rnyberg/svngit/btpd/releases/0.1@1 76a1f634-46fa-0310-9943-bd1476092a85