Richard Nyberg
|
7b8644dcc1
|
Provide own implementation of asprintf if it's missing.
|
16 vuotta sitten |
Richard Nyberg
|
06bd2a1a21
|
On solaris bcopy and some other useful functions are declared in strings.h.
|
16 vuotta sitten |
Richard Nyberg
|
186113e4ee
|
Add the function memfind. It'll be used by iobuf.
|
16 vuotta sitten |
Richard Nyberg
|
9bd0fc6cdc
|
o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64
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.
|
17 vuotta sitten |
Richard Nyberg
|
cd8a3d5ecd
|
Make mkdirs behave more like 'mkdir -p' and make btpd create the directory
hierarchy to a specified torrent content directory if neccessary.
|
18 vuotta sitten |
Richard Nyberg
|
29495ab53b
|
Add and use the function make_abs_path. realpath didn't fit my needs.
make_abs_path doesn't need the directories to actually exist in the
file system.
|
18 vuotta sitten |
Richard Nyberg
|
3fb4e5a894
|
Simplify read_whole_file and rename to read_file.
|
18 vuotta sitten |
Richard Nyberg
|
a27913a47d
|
Add functions for conversions between binary data and ascii hex.
Add function for reading a whole file.
Enable printf format checking for some functions.
|
18 vuotta sitten |
Richard Nyberg
|
634df68e31
|
Add functions find_btpd_dir.
|
19 vuotta sitten |
Richard Nyberg
|
8d05b64fa1
|
Remove unused function canon_path.
|
19 vuotta sitten |
Richard Nyberg
|
38418fcd2b
|
Add functions read_fully and write_fully. They are simpler alternatives to
read and write on blocking sockets.
|
19 vuotta sitten |
Richard Nyberg
|
59bed6ca87
|
Added vfsync and vfopen.
|
19 vuotta sitten |
Richard Nyberg
|
2d2f8b0350
|
o Removed an unused function.
o Made bit field argument to has_bit const since the function
doesn't modify it.
|
19 vuotta sitten |
Richard Nyberg
|
b2bf61dbf7
|
Add and use rand_between.
|
19 vuotta sitten |
Richard Nyberg
|
c285b374f8
|
The mega whitespace patch.
Tabs have been converted to spaces and trailing whitespace have been removed.
I have fixed my emacs settings now :P
|
19 vuotta sitten |
Richard Nyberg
|
dd0d462afa
|
Import btpd-0.1.
git-svn-id: file:///home/rnyberg/svngit/btpd/releases/0.1@1 76a1f634-46fa-0310-9943-bd1476092a85
|
19 vuotta sitten |