summary refs log tree commit diff
path: root/misc
AgeCommit message (Expand)Author
2007-05-19Fix problem introduced in r345. A call to http_get could cause theRichard Nyberg
2007-05-19Don't try to resolve the host if it is already given as an ip address.Richard Nyberg
2007-05-18o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64Richard Nyberg
2006-11-08Update the build scripts for the following events:Richard Nyberg
2006-11-06Remove a couple of forgotten debug printfs.Richard Nyberg
2006-11-02Add bts_filename which gets the current filename from a bt_stream.Richard Nyberg
2006-10-31Some cleanup. Use names for some numeric constants.Richard Nyberg
2006-10-31Rename callback type, add timeouts and and allow any http version in theRichard Nyberg
2006-10-31Add max(x, y) macro.Richard Nyberg
2006-10-29Add a simple http client. Since it uses libevent it's a better fit for btpdRichard Nyberg
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