"Fossies" - the Fresh Open Source Software Archive
Member "tin-2.4.1/libcanlock/README" (28 Aug 2013, 1259 Bytes) of archive /linux/misc/tin-2.4.1.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard
) with prefixed line numbers.
Alternatively you can here view
the uninterpreted source code file.
1 libcanlock - a library for creating and verifying cancel locks.
4 Copyright stuff:
6 sha1.c is basically the sample code from RFC 3174 from Donald
7 Eastlake and Paul Jones, and carries a BSD-ish license from the
8 Internet Society.
10 base64.c carries a BSD license from KTH.
12 hmac_sha1.c, canlock.c, hmactest.c and canlocktest.c were written by
13 Greg Andruk, and carry an MIT style license.
16 How to compile it:
18 If you are lucky, it will be enough to unpack the archive, change to
19 it top directory and run make.
21 You can also:
23 make test
24 to insure the library works as Fluffy intended
26 make clean
27 to get rid of stray build gunk
29 make nuke
30 to return the directory to its lovely pristine condition
32 The libcanlock.a that will be produced is what you want to link into
33 your newsreader or whatever.
36 Random blabbage:
38 This version compiled and ran correctly on x86, PowerPC, Itanium,
39 PA-RISC and Alpha, so hopefully it's now reasonably portable.
41 The canlocktest source code should give you a pretty good idea of
42 how the functions work. See the doc directory for relevant RFCs and