From 638afb438a73eee8efa9dc6179c3cd39572847cf Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 11 Dec 2004 12:13:25 +0000 Subject: [PATCH] Adjust comments in UCW Library modules. --- lib/base224.c | 2 +- lib/base224.h | 2 +- lib/base64.c | 4 +++- lib/base64.h | 2 +- lib/bbuf.h | 2 +- lib/bitarray.h | 2 +- lib/bitsig.c | 2 +- lib/bitsig.h | 2 +- lib/gbuf.h | 5 ++++- lib/hashfunc.c | 4 ++-- lib/hashfunc.h | 4 ++-- lib/md5.h | 6 ++++++ lib/redblack.h | 2 +- lib/sighandler.c | 2 +- lib/wildmatch.c | 2 +- lib/wildmatch.h | 2 +- 16 files changed, 28 insertions(+), 17 deletions(-) diff --git a/lib/base224.c b/lib/base224.c index 0c9f3e9f..70e25bf3 100644 --- a/lib/base224.c +++ b/lib/base224.c @@ -1,5 +1,5 @@ /* - * Base 224 Encoding & Decoding + * UCW Library -- Base 224 Encoding & Decoding * * (c) 2002 Martin Mares * diff --git a/lib/base224.h b/lib/base224.h index 6186c7e8..7ae89739 100644 --- a/lib/base224.h +++ b/lib/base224.h @@ -1,5 +1,5 @@ /* - * Base 224 Encoding & Decoding + * UCW Library -- Base 224 Encoding & Decoding * * (c) 2002 Martin Mares * diff --git a/lib/base64.c b/lib/base64.c index 1e7bc52e..6a06055a 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -1,8 +1,10 @@ /* - * Base 64 Encoding & Decoding + * UCW Library -- Base 64 Encoding & Decoding * * (c) 2002, Robert Spalek * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #undef LOCAL_DEBUG diff --git a/lib/base64.h b/lib/base64.h index 4ff2106e..240ffe0c 100644 --- a/lib/base64.h +++ b/lib/base64.h @@ -1,5 +1,5 @@ /* - * Base 64 Encoding & Decoding + * UCW Library -- Base 64 Encoding & Decoding * * (c) 2002, Robert Spalek * diff --git a/lib/bbuf.h b/lib/bbuf.h index c62511c4..0d17f8cc 100644 --- a/lib/bbuf.h +++ b/lib/bbuf.h @@ -1,5 +1,5 @@ /* - * A simple growing buffer for byte-sized items. + * UCW Library -- A simple growing buffer for byte-sized items. * * (c) 2004 Martin Mares * diff --git a/lib/bitarray.h b/lib/bitarray.h index 216acd98..dc2674b9 100644 --- a/lib/bitarray.h +++ b/lib/bitarray.h @@ -1,5 +1,5 @@ /* - * Bit Array Operations + * UCW Library -- Bit Array Operations * * (c) 2003--2004 Martin Mares * diff --git a/lib/bitsig.c b/lib/bitsig.c index ed510fad..05ad894d 100644 --- a/lib/bitsig.c +++ b/lib/bitsig.c @@ -1,5 +1,5 @@ /* - * Bit Array Signatures -- A Dubious Detector of Duplicates + * UCW Library -- Bit Array Signatures -- A Dubious Detector of Duplicates * * (c) 2002 Martin Mares * diff --git a/lib/bitsig.h b/lib/bitsig.h index 031dcd3d..60a5b147 100644 --- a/lib/bitsig.h +++ b/lib/bitsig.h @@ -1,5 +1,5 @@ /* - * Bit Array Signatures -- A Dubious Detector of Duplicates + * UCW Library -- Bit Array Signatures -- A Dubious Detector of Duplicates * * (c) 2002 Martin Mares * diff --git a/lib/gbuf.h b/lib/gbuf.h index 59cc36a6..b2a60dc8 100644 --- a/lib/gbuf.h +++ b/lib/gbuf.h @@ -1,5 +1,5 @@ /* - * A simple growing buffer + * UCW Library -- A simple growing buffer * * (c) 2004, Robert Spalek * @@ -7,6 +7,9 @@ * * GBUF_TYPE data type of records stored in the buffer * GBUF_PREFIX(x) add a name prefix to all global symbols + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #include diff --git a/lib/hashfunc.c b/lib/hashfunc.c index ad6a6bdf..10c29abd 100644 --- a/lib/hashfunc.c +++ b/lib/hashfunc.c @@ -1,6 +1,6 @@ /* - * Hyper-super-meta-alt-control-shift extra fast str_len() and hash_*() - * routines + * UCW Library -- Hyper-super-meta-alt-control-shift extra fast + * str_len() and hash_*() routines * * It is always at least as fast as the classical strlen() routine and for * strings longer than 100 characters, it is substantially faster. diff --git a/lib/hashfunc.h b/lib/hashfunc.h index ed896e8e..2b2713ea 100644 --- a/lib/hashfunc.h +++ b/lib/hashfunc.h @@ -1,6 +1,6 @@ /* - * Hyper-super-meta-alt-control-shift extra fast str_len() and hash_*() - * routines + * UCW Library -- Hyper-super-meta-alt-control-shift extra fast + * str_len() and hash_*() routines * * (c) 2002, Robert Spalek * diff --git a/lib/md5.h b/lib/md5.h index 7be26a77..e7090958 100644 --- a/lib/md5.h +++ b/lib/md5.h @@ -1,3 +1,9 @@ +/* + * UCW Library -- MD5 Message Digest + * + * This file is in public domain (see lib/md5.c). + */ + #ifndef MD5_H #define MD5_H diff --git a/lib/redblack.h b/lib/redblack.h index 2af759f1..764ca104 100644 --- a/lib/redblack.h +++ b/lib/redblack.h @@ -1,5 +1,5 @@ /* - * Red-black trees + * UCW Library -- Red-black trees * * (c) 2002, Robert Spalek * diff --git a/lib/sighandler.c b/lib/sighandler.c index d6727de8..ca826908 100644 --- a/lib/sighandler.c +++ b/lib/sighandler.c @@ -1,5 +1,5 @@ /* - * Catching of signals and calling callback functions + * UCW Library -- Catching of signals and calling callback functions * * (c) 2004, Robert Spalek */ diff --git a/lib/wildmatch.c b/lib/wildmatch.c index 2a40f537..a5eb76ed 100644 --- a/lib/wildmatch.c +++ b/lib/wildmatch.c @@ -1,5 +1,5 @@ /* - * Fast Pattern Matcher for Short Wildcard Patterns (only `?' and `*' supported) + * UCW Library -- Fast Pattern Matcher for Short Wildcard Patterns (only `?' and `*' supported) * * Traditional NFA -> DFA method with on-the-fly DFA construction. * diff --git a/lib/wildmatch.h b/lib/wildmatch.h index 90a64ce8..4fa77982 100644 --- a/lib/wildmatch.h +++ b/lib/wildmatch.h @@ -1,5 +1,5 @@ /* - * Fast Wildcard Pattern Matcher (only `?' and `*' supported) + * UCW Library -- Fast Wildcard Pattern Matcher (only `?' and `*' supported) * * (c) 1999 Martin Mares * -- 2.39.2