summary refs log tree commit diff
path: root/misc/subr.c
AgeCommit message (Collapse)Author
2009-01-12Provide own implementation of asprintf if it's missing.Richard Nyberg
2009-01-12On solaris bcopy and some other useful functions are declared in strings.h.Richard Nyberg
2009-01-11Add the function memfind. It'll be used by iobuf.Richard Nyberg
2007-05-18o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64Richard Nyberg
bits as well. Implement them in libmisc instead of in btpd. o Change resume file format and related APIs. The resume files are now memory mapped.
2006-10-15Make mkdirs behave more like 'mkdir -p' and make btpd create the directoryRichard Nyberg
hierarchy to a specified torrent content directory if neccessary.
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-14Simplify read_whole_file and rename to read_file.Richard Nyberg
2006-09-12Add functions for conversions between binary data and ascii hex.Richard Nyberg
Add function for reading a whole file. Enable printf format checking for some functions.
2006-02-08Add functions find_btpd_dir.Richard Nyberg
2006-02-08Remove unused function canon_path.Richard Nyberg
2006-02-05Add functions read_fully and write_fully. They are simpler alternatives toRichard Nyberg
read and write on blocking sockets.
2006-01-22Added vfsync and vfopen.Richard Nyberg
2006-01-03o Removed an unused function.Richard Nyberg
o Made bit field argument to has_bit const since the function doesn't modify it.
2005-12-14Add and use rand_between.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