diff options
author | David Robillard <d@drobilla.net> | 2011-02-25 04:52:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-25 04:52:22 +0000 |
commit | 7d9fde1f5ddaf0f000bd6e7bcb78365285cd69dc (patch) | |
tree | 2358b28e63f3e955755e2220adfd00e969171f40 /src/sord.c | |
parent | 8b7ce1620fd8049a1a5f8ede70d002e8979aa60e (diff) | |
download | sord-7d9fde1f5ddaf0f000bd6e7bcb78365285cd69dc.tar.gz sord-7d9fde1f5ddaf0f000bd6e7bcb78365285cd69dc.tar.bz2 sord-7d9fde1f5ddaf0f000bd6e7bcb78365285cd69dc.zip |
Update style and switch to 2-clause BSD license.
git-svn-id: http://svn.drobilla.net/sord/trunk@41 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord.c')
-rw-r--r-- | src/sord.c | 49 |
1 files changed, 24 insertions, 25 deletions
@@ -1,28 +1,27 @@ -/* Sord, a lightweight RDF model library. - * Copyright 2010-2011 David Robillard <d@drobilla.net> - * - * Sord is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Sord is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - * License for details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -/** @file - * Sord Implementation. - * - * Quads are represented as simple arrays of SordNode, of length 4, - * which represent statements (RDF triples) with an optional - * context. When contexts are not used, only the first 3 elements - * are considered. - */ +/* + Copyright 2011 David Robillard <http://drobilla.net> + + 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. + + THIS SOFTWARE IS PROVIDED ``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 + AUTHOR 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. +*/ // C99 #include <assert.h> |