[med-svn] [libqes] 02/05: Imported Upstream version 0.1.21

Kevin Murray daube-guest at moszumanska.debian.org
Tue Dec 22 00:46:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

daube-guest pushed a commit to branch master
in repository libqes.

commit 7a374bd55fd74ddafa4777f824fc5e65f0cdaf24
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Tue Dec 22 10:59:28 2015 +1100

    Imported Upstream version 0.1.21
---
 cmake-modules/FindLIBQES.cmake | 36 +++++++++++++++++++++++++-----------
 cmake-modules/GitSemVer.cmake  | 22 ++++++++++++++++++++++
 src/CMakeLists.txt             |  1 +
 src/qes.h                      | 16 ++++++++++++++++
 src/qes_compat.c               | 16 ++++++++++++++++
 src/qes_compat.h               | 16 ++++++++++++++++
 src/qes_config.h.in            | 16 ++++++++++++++++
 src/qes_file.c                 | 16 ++++++++++++++++
 src/qes_file.h                 | 16 ++++++++++++++++
 src/qes_libgnu.c               | 16 ++++++++++++++++
 src/qes_libgnu.h               | 16 ++++++++++++++++
 src/qes_log.c                  | 16 ++++++++++++++++
 src/qes_log.h                  | 16 ++++++++++++++++
 src/qes_match.c                | 16 ++++++++++++++++
 src/qes_match.h                | 16 ++++++++++++++++
 src/qes_seq.c                  | 16 ++++++++++++++++
 src/qes_seq.h                  | 16 ++++++++++++++++
 src/qes_seqfile.c              | 16 ++++++++++++++++
 src/qes_seqfile.h              | 16 ++++++++++++++++
 src/qes_sequtil.c              | 18 +++++++++++++++++-
 src/qes_sequtil.h              | 18 +++++++++++++++++-
 src/qes_str.c                  | 16 ++++++++++++++++
 src/qes_str.h                  | 16 ++++++++++++++++
 src/qes_util.c                 | 16 ++++++++++++++++
 src/qes_util.h                 | 16 ++++++++++++++++
 test/benchmarks.c              | 16 ++++++++++++++++
 test/helpers.c                 | 16 ++++++++++++++++
 test/helpers.h                 | 16 ++++++++++++++++
 test/logdemo.c                 | 16 ++++++++++++++++
 test/test.c                    | 16 ++++++++++++++++
 test/test_file.c               | 16 ++++++++++++++++
 test/test_helpers.c            | 16 ++++++++++++++++
 test/test_log.c                | 16 ++++++++++++++++
 test/test_match.c              | 16 ++++++++++++++++
 test/test_seq.c                | 16 ++++++++++++++++
 test/test_seqfile.c            | 16 ++++++++++++++++
 test/test_sequtil.c            | 16 ++++++++++++++++
 test/test_util.c               | 16 ++++++++++++++++
 test/testdata.c                | 16 ++++++++++++++++
 test/testdata.h                | 16 ++++++++++++++++
 40 files changed, 642 insertions(+), 13 deletions(-)

diff --git a/cmake-modules/FindLIBQES.cmake b/cmake-modules/FindLIBQES.cmake
index 295217c..b62fd79 100644
--- a/cmake-modules/FindLIBQES.cmake
+++ b/cmake-modules/FindLIBQES.cmake
@@ -16,18 +16,32 @@
 # An includer may set LIBQES_ROOT to a libqes installation root to tell
 # this module where to look.
 
-#=============================================================================
+# =============================================================================
 # Copyright 2014 Kevin Murray. Adapted from FindZLIB.cmake
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-#  License text for the above reference.)
+# Licensed under the 3-clause BSD license
+# 
+# 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. Neither the name of the University nor the names of its contributors
+#    may be used to endorse or promote products derived from this software
+#    without specific prior written permission.
+# 
+# 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
+# REGENTS OR CONTRIBUTORS 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.
 
 set(_LIBQES_SEARCHES)
 
diff --git a/cmake-modules/GitSemVer.cmake b/cmake-modules/GitSemVer.cmake
index 290b8dd..c112796 100644
--- a/cmake-modules/GitSemVer.cmake
+++ b/cmake-modules/GitSemVer.cmake
@@ -1,3 +1,25 @@
+# Copyright (c) 2014-2015 Kevin Murray <spam at kdmurray.id.au>
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+# 
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
 INCLUDE(GetGitRevisionDescription)
 
 function(GetGitSemVer _var)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9e4e458..bc90804 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,6 +5,7 @@ ADD_LIBRARY(qes_static STATIC ${LIBQES_SOURCES})
 SET_TARGET_PROPERTIES(qes_static PROPERTIES OUTPUT_NAME qes)
 TARGET_LINK_LIBRARIES(qes_static ${LIBQES_DEPENDS_LIBS})
 ADD_LIBRARY(qes SHARED ${LIBQES_SOURCES})
+SET_TARGET_PROPERTIES(qes PROPERTIES SONAME_VERSION 0 VERSION 0)
 TARGET_LINK_LIBRARIES(qes ${LIBQES_DEPENDS_LIBS})
 
 CONFIGURE_FILE(qes_config.h.in ${CMAKE_BINARY_DIR}/qes_config.h)
diff --git a/src/qes.h b/src/qes.h
index 89138f3..cb5e27e 100644
--- a/src/qes.h
+++ b/src/qes.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ==========================================================================
  *
  *       Filename:  qes.h
diff --git a/src/qes_compat.c b/src/qes_compat.c
index 7c5e1b2..4b6538c 100644
--- a/src/qes_compat.c
+++ b/src/qes_compat.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_compat.c
diff --git a/src/qes_compat.h b/src/qes_compat.h
index 33fc07b..b2abdc3 100644
--- a/src/qes_compat.h
+++ b/src/qes_compat.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_compat.h
diff --git a/src/qes_config.h.in b/src/qes_config.h.in
index a8dc840..fc08cd5 100644
--- a/src/qes_config.h.in
+++ b/src/qes_config.h.in
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_config.h.in
diff --git a/src/qes_file.c b/src/qes_file.c
index 220c167..1e14280 100644
--- a/src/qes_file.c
+++ b/src/qes_file.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_file.c
diff --git a/src/qes_file.h b/src/qes_file.h
index c9f17d0..341d39e 100644
--- a/src/qes_file.h
+++ b/src/qes_file.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_file.h
diff --git a/src/qes_libgnu.c b/src/qes_libgnu.c
index 4ac1497..1d6d88a 100644
--- a/src/qes_libgnu.c
+++ b/src/qes_libgnu.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_libgnu.c
diff --git a/src/qes_libgnu.h b/src/qes_libgnu.h
index d422cb3..17b7a78 100644
--- a/src/qes_libgnu.h
+++ b/src/qes_libgnu.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_libgnu.h
diff --git a/src/qes_log.c b/src/qes_log.c
index 6c19a1d..49a2103 100644
--- a/src/qes_log.c
+++ b/src/qes_log.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_log.c
diff --git a/src/qes_log.h b/src/qes_log.h
index a9bc070..7f96e2e 100644
--- a/src/qes_log.h
+++ b/src/qes_log.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_log.h
diff --git a/src/qes_match.c b/src/qes_match.c
index c4688a0..6874734 100644
--- a/src/qes_match.c
+++ b/src/qes_match.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_match.c
diff --git a/src/qes_match.h b/src/qes_match.h
index bfcb035..3098ea4 100644
--- a/src/qes_match.h
+++ b/src/qes_match.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_match.h
diff --git a/src/qes_seq.c b/src/qes_seq.c
index 95cc6d0..726a5df 100644
--- a/src/qes_seq.c
+++ b/src/qes_seq.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_seq.c
diff --git a/src/qes_seq.h b/src/qes_seq.h
index 84dc62a..5555368 100644
--- a/src/qes_seq.h
+++ b/src/qes_seq.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_seq.h
diff --git a/src/qes_seqfile.c b/src/qes_seqfile.c
index b876252..cccdd8d 100644
--- a/src/qes_seqfile.c
+++ b/src/qes_seqfile.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_seqfile.c
diff --git a/src/qes_seqfile.h b/src/qes_seqfile.h
index 9a49687..ce69ad0 100644
--- a/src/qes_seqfile.h
+++ b/src/qes_seqfile.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_seqfile.h
diff --git a/src/qes_sequtil.c b/src/qes_sequtil.c
index f8847d1..124d44b 100644
--- a/src/qes_sequtil.c
+++ b/src/qes_sequtil.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_sequtil.c
@@ -20,7 +36,7 @@
  * ============================================================================
  */
 
-inline char
+inline int
 qes_sequtil_translate_codon (const char *codon)
 {
     if (codon == NULL || strnlen(codon, 4) != 3) {
diff --git a/src/qes_sequtil.h b/src/qes_sequtil.h
index 11873f3..f3369b9 100644
--- a/src/qes_sequtil.h
+++ b/src/qes_sequtil.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_sequtil.h
@@ -16,7 +32,7 @@
 #include <qes_util.h>
 
 
-extern char qes_sequtil_translate_codon(const char *codon);
+extern int qes_sequtil_translate_codon(const char *codon);
 extern char *qes_sequtil_revcomp(const char *seq, size_t len);
 extern void qes_sequtil_revcomp_inplace(char *seq, size_t len);
 
diff --git a/src/qes_str.c b/src/qes_str.c
index 2bf83cf..1483ef7 100644
--- a/src/qes_str.c
+++ b/src/qes_str.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_str.c
diff --git a/src/qes_str.h b/src/qes_str.h
index cbc2f2e..1b55370 100644
--- a/src/qes_str.h
+++ b/src/qes_str.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_str.h
diff --git a/src/qes_util.c b/src/qes_util.c
index bd14340..1586fac 100644
--- a/src/qes_util.c
+++ b/src/qes_util.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  qes_util.c
diff --git a/src/qes_util.h b/src/qes_util.h
index 961c581..30217bb 100644
--- a/src/qes_util.h
+++ b/src/qes_util.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  ============================================================================
  *
  *       Filename:  qes_util.h
diff --git a/test/benchmarks.c b/test/benchmarks.c
index 1367ae5..ec36dc3 100644
--- a/test/benchmarks.c
+++ b/test/benchmarks.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  benchmarks.c
diff --git a/test/helpers.c b/test/helpers.c
index e374bf2..2cb8763 100644
--- a/test/helpers.c
+++ b/test/helpers.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  helpers.c
diff --git a/test/helpers.h b/test/helpers.h
index 111a060..1e9d21d 100644
--- a/test/helpers.h
+++ b/test/helpers.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  helpers.h
diff --git a/test/logdemo.c b/test/logdemo.c
index 82e13ae..b408ced 100644
--- a/test/logdemo.c
+++ b/test/logdemo.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  logdemo.c
diff --git a/test/test.c b/test/test.c
index 4252ef8..c3e1a3c 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test.c
diff --git a/test/test_file.c b/test/test_file.c
index b6a8058..97c604c 100644
--- a/test/test_file.c
+++ b/test/test_file.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_file.c
diff --git a/test/test_helpers.c b/test/test_helpers.c
index 25d477d..f82b1a7 100644
--- a/test/test_helpers.c
+++ b/test/test_helpers.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_helpers.c
diff --git a/test/test_log.c b/test/test_log.c
index 06d3b72..d4cfc96 100644
--- a/test/test_log.c
+++ b/test/test_log.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_log.c
diff --git a/test/test_match.c b/test/test_match.c
index b287368..3ee0966 100644
--- a/test/test_match.c
+++ b/test/test_match.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_match.c
diff --git a/test/test_seq.c b/test/test_seq.c
index 8e8c798..5494aa5 100644
--- a/test/test_seq.c
+++ b/test/test_seq.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_seq.c
diff --git a/test/test_seqfile.c b/test/test_seqfile.c
index 3639d82..759275f 100644
--- a/test/test_seqfile.c
+++ b/test/test_seqfile.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_seqfile.c
diff --git a/test/test_sequtil.c b/test/test_sequtil.c
index bcf4a43..5eabd1c 100644
--- a/test/test_sequtil.c
+++ b/test/test_sequtil.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_sequtil.c
diff --git a/test/test_util.c b/test/test_util.c
index f4c6da7..da8a8c2 100644
--- a/test/test_util.c
+++ b/test/test_util.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  test_util.c
diff --git a/test/testdata.c b/test/testdata.c
index 4a66c85..298abdf 100644
--- a/test/testdata.c
+++ b/test/testdata.c
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  testdata.c
diff --git a/test/testdata.h b/test/testdata.h
index 48c374f..68ab280 100644
--- a/test/testdata.h
+++ b/test/testdata.h
@@ -1,4 +1,20 @@
 /*
+ * Copyright 2015 Kevin Murray <spam at kdmurray.id.au>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/*
  * ============================================================================
  *
  *       Filename:  testdata.h

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libqes.git



More information about the debian-med-commit mailing list