27 Commits (cd0eb82f20b4b0186207b8f5653b83dde83ca03c)

Author SHA1 Message Date
  Richard Nyberg cd0eb82f20 The metainfo code provided a load -> test -> struct metainfo interface. 18 years ago
  Richard Nyberg c41c08adca Moved from ../btpd/queue.h 18 years ago
  Richard Nyberg a27913a47d Add functions for conversions between binary data and ascii hex. 18 years ago
  Richard Nyberg 203d4148e4 Add a hashtable implementation. 18 years ago
  Richard Nyberg c9ea09b1ad Enable printf format type checking for buf_print. 18 years ago
  Richard Nyberg 47358cf420 Add function benc_strlen. 18 years ago
  Richard Nyberg c865aa9254 Use c99 types conservatively to compile on OpenBSD. Also convert to or from 19 years ago
  Richard Nyberg 1a82f0c154 White space. 19 years ago
  Richard Nyberg 634df68e31 Add functions find_btpd_dir. 19 years ago
  Richard Nyberg 8d05b64fa1 Remove unused function canon_path. 19 years ago
  Richard Nyberg 273294989e Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy. 19 years ago
  Richard Nyberg b0c4f58f10 Use strtoul to parse length of strings. 19 years ago
  Richard Nyberg d88c65e982 Added buf_swrite. 19 years ago
  Richard Nyberg 36a68e4b76 Check for failure to allocate memory. 19 years ago
  Richard Nyberg af64140b1f Remove som unused code I commited by mistake. Replace integer parse code 19 years ago
  Richard Nyberg 01c92051d5 o Changed the benc_ api to make it easier to use. 19 years ago
  Richard Nyberg 6559fcb9a4 Make the buf api safe to continue to use even if an error has occured. 19 years ago
  Richard Nyberg 38418fcd2b Add functions read_fully and write_fully. They are simpler alternatives to 19 years ago
  Richard Nyberg 59bed6ca87 Added vfsync and vfopen. 19 years ago
  Richard Nyberg b2a877537a White space. 19 years ago
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them 19 years ago
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. 19 years ago
  Richard Nyberg 2d2f8b0350 o Removed an unused function. 19 years ago
  Richard Nyberg b2bf61dbf7 Add and use rand_between. 19 years ago
  Richard Nyberg c285b374f8 The mega whitespace patch. 19 years ago
  Richard Nyberg c11a57b8cb Fix style. Remove unnecessary check for EINTR. 19 years ago
  Richard Nyberg dd0d462afa Import btpd-0.1. 19 years ago