about summary refs log tree commit diff
path: root/misc
AgeCommit message (Expand)Author
2006-10-15Make mkdirs behave more like 'mkdir -p' and make btpd create the directoryRichard Nyberg
2006-10-15OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99Richard Nyberg
2006-10-15There's no need to fsync here, so remove the call. This should improveRichard Nyberg
2006-10-14Add and use the function make_abs_path. realpath didn't fit my needs.Richard Nyberg
2006-10-14Update for the read_whole_file -> read_file change.Richard Nyberg
2006-10-14Simplify read_whole_file and rename to read_file.Richard Nyberg
2006-10-12Allow empty files in torrents. Create them in stat_and_adjust and let theRichard Nyberg
2006-10-12Add missing includes.Richard Nyberg
2006-10-07Add value queries for total amount up- and downloaded. Use the cached valuesRichard Nyberg
2006-10-06Add command to stop all active torrents. The command is sent byRichard Nyberg
2006-09-17Whitespace.Richard Nyberg
2006-09-17Add function benc_strcmp.Richard Nyberg
2006-09-17Better message for ENOTENT.Richard Nyberg
2006-09-13Some changes to the iobuf interface. Remove a debug assert from btpd_if.c andRichard Nyberg
2006-09-12Hook the new files to the build.Richard Nyberg
2006-09-12Pointers to different things need not be represented in the same way.Richard Nyberg
2006-09-12This file contains the definitions of the constants used in the btpdRichard Nyberg
2006-09-12Moved from ../cli.Richard Nyberg
2006-09-12Remove unused function bts_hashes.Richard Nyberg
2006-09-12There is no spoon^H^H^H^Htruct metainfo. Use struct mi_file instead.Richard Nyberg
2006-09-12The metainfo code provided a load -> test -> struct metainfo interface.Richard Nyberg
2006-09-12Moved from ../btpd/queue.hRichard Nyberg
2006-09-12Add functions for conversions between binary data and ascii hex.Richard Nyberg
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
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
2006-02-05o Changed the benc_ api to make it easier to use.Richard Nyberg
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
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
2006-01-04Remove use of the ugly PRI* print macros.Richard Nyberg
2006-01-03o Removed an unused function.Richard Nyberg
2005-12-14Add and use rand_between.Richard Nyberg
2005-11-30The mega whitespace patch.Richard Nyberg
2005-07-30Fix style. Remove unnecessary check for EINTR.Richard Nyberg
2005-06-24Import btpd-0.1.Richard Nyberg