summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorssmith2006-05-16 20:19:20 -0700
committerssmith2006-05-16 20:19:20 -0700
commit03e1da1bb5c5f2cf0ad6daaca6c90a7164c02726 (patch)
treef7ae092927e3d554e2c3fec6f64c61866664e6eb
parent50f599f514e5b025f9ad3a3109b4238b12c2bded (diff)
Add header comments
-rw-r--r--bencode.erl9
-rw-r--r--tests.erl6
2 files changed, 15 insertions, 0 deletions
diff --git a/bencode.erl b/bencode.erl
index a04c3a8..2dd4a13 100644
--- a/bencode.erl
+++ b/bencode.erl
@@ -1,3 +1,12 @@
+%%
+%% Basic Bencode (Bittorrent) encoder. The details of the encoding
+%% are available here: http://bittorrent.org/protocol.html
+%% Technically this probably isn't fully compliant as it's not UTF8,
+%% but probably won't matter in simple cases.
+%%
+%% Author: Steve Smith <tarka@internode.on.net>
+%% License: LGPL 2.1
+%%
-module(bencode).
diff --git a/tests.erl b/tests.erl
index 60b5227..e1e41aa 100644
--- a/tests.erl
+++ b/tests.erl
@@ -1,3 +1,9 @@
+%%
+%% Basic Eunit-based test suite for bencode.erl
+%%
+%% Author: Steve Smith <tarka@internode.on.net>
+%% License: LGPL 2.1
+%%
-module(tests).