about summary refs log tree commit diff
path: root/cli/add.c
AgeCommit message (Collapse)Author
2012-05-06Add optional label to be associated with torrent.Marq Schneider
If none given, use announce URL as label. Torrents added with previous versions of btpd will show up as "bad torrent entry" Closes GH-26
2010-07-26Add multiple torrents at once.Marq Schneider
Modified patch from savrus and nicm. Allows adding multiple torrents from one 'btcli add' command. Also made minor improvements to add code. Closes GH-9
2009-01-12Don't use the bsd err and warn family of functions. Solaris doesn't have them.Richard Nyberg
2009-01-11Make iobuf more useful for io and use better names in its api.Richard Nyberg
2007-05-23Fix the '--topdir' option for single file torrents without a top directory.Richard Nyberg
Such torrents were saved as 'name/name' instead of 'name'. The option broke in rev253. Patch from borg@uu3.net.
2006-10-14Add and use the function make_abs_path. realpath didn't fit my needs.Richard Nyberg
make_abs_path doesn't need the directories to actually exist in the file system.
2006-10-11A string wasn't properly zero terminated.Richard Nyberg
2006-10-07Help text changes and make del and start take the --help option.Richard Nyberg
2006-09-17btcli add now starts the torrent if not told otherwise. Soem cleanup andRichard Nyberg
improved error output.
2006-09-13Some changes to the iobuf interface. Remove a debug assert from btpd_if.c andRichard Nyberg
make it act properly on iobuf errors.
2006-09-13btpd now has a library of torrents indexed by number and info hash.Richard Nyberg
The add and del commands adds or removes torrents from this library. The start and stop commands are used to active or deactivate torrents. Also, a mechanism for qeurying data on torrents has been added. It's only used by the btcli list and stat commands yet though. btcli has been split into different files for each command. Both btpd and btcli now use misc/btpd_if.h for all ipc definitions. Misc changes: - struct metainfo is gone. Use the new mi_* functions. - Add printf format type checking where appropriate.