Skip to content

Commit

Permalink
Add copyright notice and BSD license
Browse files Browse the repository at this point in the history
darcs-hash:20061007104348-782ad-1aa84177a266b59fdb99fc530c31505cab361d35.gz
  • Loading branch information
Eric Knauel committed Oct 7, 2006
1 parent ea11fe7 commit 59884da
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 0 deletions.
24 changes: 24 additions & 0 deletions COPYING
@@ -0,0 +1,24 @@
Copyright (c) 2006 Eric Knauel
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the authors may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 2 additions & 0 deletions bytevec-42.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

(define-syntax byte-vector-ec
(syntax-rules ()
((byte-vector-ec etc1 etc ...)
Expand Down
2 changes: 2 additions & 0 deletions mysql.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

(define (msg . args)
(display (apply format args)))

Expand Down
2 changes: 2 additions & 0 deletions net-s48.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

(define (write-string str port)
(do-ec (:string c str)
(write-char c port)))
Expand Down
2 changes: 2 additions & 0 deletions net-scsh.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

(define (to-ip-address string-or-number)
(cond
((string? string-or-number)
Expand Down
2 changes: 2 additions & 0 deletions packages.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

;;; enum-sets
;;; #########

Expand Down
2 changes: 2 additions & 0 deletions sha1.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

;;; make a mask with COUNT 1 bits shifted START bits left
(define (make-extract-mask start count)
(let lp ((count count) (mask 0))
Expand Down
2 changes: 2 additions & 0 deletions util.scm
@@ -1,3 +1,5 @@
;;; Copyright (c) 2006 by Eric Knauel. See file COPYING.

(define (string->byte-vector str)
(byte-vector-ec (:string c str)
(char->ascii c)))
Expand Down

0 comments on commit 59884da

Please sign in to comment.