about summary refs log tree commit diff
path: root/misc/metainfo.c
AgeCommit message (Collapse)Author
2010-07-20Don't set a maximum file size. read_file will use the file size.Marq Schneider
There was a hard-coded 2MB file size limit on the .torrent files. Set the limit to 0 so read_file() will use the actual file size. Closes GH-14
2009-01-12On solaris bcopy and some other useful functions are declared in strings.h.Richard Nyberg
2006-10-14Update for the read_whole_file -> read_file change.Richard Nyberg
2006-10-12Allow empty files in torrents. Create them in stat_and_adjust and let theRichard Nyberg
stream abstraction skip past them.
2006-10-12Add missing includes.Richard Nyberg
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-02-10Use c99 types conservatively to compile on OpenBSD. Also convert to or fromRichard Nyberg
time_t via long.
2006-02-08Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy.Richard Nyberg
2006-02-06Check for failure to allocate memory.Richard Nyberg
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-01-04Remove use of the ugly PRI* print macros.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-06-24Import btpd-0.1.Richard Nyberg
git-svn-id: file:///home/rnyberg/svngit/btpd/releases/0.1@1 76a1f634-46fa-0310-9943-bd1476092a85