42 Commits (11f7e1ce1f76b7c1b04d5cba057f4e22d23b24f2)

Autor SHA1 Nachricht Datum
  Richard Nyberg 3fb4e5a894 Simplify read_whole_file and rename to read_file. vor 18 Jahren
  Richard Nyberg 45bf9f2658 Allow empty files in torrents. Create them in stat_and_adjust and let the vor 18 Jahren
  Richard Nyberg a781e02cd8 Add missing includes. vor 18 Jahren
  Richard Nyberg e652eefa26 Add value queries for total amount up- and downloaded. Use the cached values vor 18 Jahren
  Richard Nyberg ba9ae40fe7 Add command to stop all active torrents. The command is sent by vor 18 Jahren
  Richard Nyberg 30601882e5 Whitespace. vor 18 Jahren
  Richard Nyberg 00db1f1ced Add function benc_strcmp. vor 18 Jahren
  Richard Nyberg ce0ef9d46b Better message for ENOTENT. vor 18 Jahren
  Richard Nyberg a5ae3e120f Some changes to the iobuf interface. Remove a debug assert from btpd_if.c and vor 18 Jahren
  Richard Nyberg 763cbbb59f Hook the new files to the build. vor 18 Jahren
  Richard Nyberg 8695ecdf18 Pointers to different things need not be represented in the same way. vor 18 Jahren
  Richard Nyberg 848de36107 This file contains the definitions of the constants used in the btpd vor 18 Jahren
  Richard Nyberg a162d34982 Moved from ../cli. vor 18 Jahren
  Richard Nyberg 13607e007a Remove unused function bts_hashes. vor 18 Jahren
  Richard Nyberg 334c94db46 There is no spoon^H^H^H^Htruct metainfo. Use struct mi_file instead. vor 18 Jahren
  Richard Nyberg cd0eb82f20 The metainfo code provided a load -> test -> struct metainfo interface. vor 18 Jahren
  Richard Nyberg c41c08adca Moved from ../btpd/queue.h vor 18 Jahren
  Richard Nyberg a27913a47d Add functions for conversions between binary data and ascii hex. vor 18 Jahren
  Richard Nyberg 203d4148e4 Add a hashtable implementation. vor 18 Jahren
  Richard Nyberg c9ea09b1ad Enable printf format type checking for buf_print. vor 18 Jahren
  Richard Nyberg 47358cf420 Add function benc_strlen. vor 18 Jahren
  Richard Nyberg c865aa9254 Use c99 types conservatively to compile on OpenBSD. Also convert to or from vor 19 Jahren
  Richard Nyberg 1a82f0c154 White space. vor 19 Jahren
  Richard Nyberg 634df68e31 Add functions find_btpd_dir. vor 19 Jahren
  Richard Nyberg 8d05b64fa1 Remove unused function canon_path. vor 19 Jahren
  Richard Nyberg 273294989e Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy. vor 19 Jahren
  Richard Nyberg b0c4f58f10 Use strtoul to parse length of strings. vor 19 Jahren
  Richard Nyberg d88c65e982 Added buf_swrite. vor 19 Jahren
  Richard Nyberg 36a68e4b76 Check for failure to allocate memory. vor 19 Jahren
  Richard Nyberg af64140b1f Remove som unused code I commited by mistake. Replace integer parse code vor 19 Jahren
  Richard Nyberg 01c92051d5 o Changed the benc_ api to make it easier to use. vor 19 Jahren
  Richard Nyberg 6559fcb9a4 Make the buf api safe to continue to use even if an error has occured. vor 19 Jahren
  Richard Nyberg 38418fcd2b Add functions read_fully and write_fully. They are simpler alternatives to vor 19 Jahren
  Richard Nyberg 59bed6ca87 Added vfsync and vfopen. vor 19 Jahren
  Richard Nyberg b2a877537a White space. vor 19 Jahren
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them vor 19 Jahren
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. vor 19 Jahren
  Richard Nyberg 2d2f8b0350 o Removed an unused function. vor 19 Jahren
  Richard Nyberg b2bf61dbf7 Add and use rand_between. vor 19 Jahren
  Richard Nyberg c285b374f8 The mega whitespace patch. vor 19 Jahren
  Richard Nyberg c11a57b8cb Fix style. Remove unnecessary check for EINTR. vor 19 Jahren
  Richard Nyberg dd0d462afa Import btpd-0.1. vor 19 Jahren