From 7581239bbbd5d43fa71da699c64e54a5475f808e Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Sun, 9 Jan 2011 09:23:48 -0500 Subject: [PATCH] Add license header to every file --- configscan.c | 8 ++++++++ configscan.h | 8 ++++++++ general.c | 8 ++++++++ general.h | 8 ++++++++ globdefs.c | 8 ++++++++ main.c | 8 ++++++++ rcodump.c | 8 ++++++++ rcodump.h | 8 ++++++++ rcofile.h | 8 ++++++++ rcomain.c | 8 ++++++++ rcomain.h | 8 ++++++++ rcoreader.c | 8 ++++++++ rcowriter.c | 9 +++++++++ rlzpack.c | 8 ++++++++ rlzpack.h | 9 +++++++++ strfuncs.h | 9 +++++++++ vaghandler.c | 8 ++++++++ vaghandler.h | 9 +++++++++ vsmx.c | 8 ++++++++ vsmx.h | 8 ++++++++ xml.h | 8 ++++++++ xmlread.c | 9 +++++++++ xmlwrite.c | 8 ++++++++ 23 files changed, 189 insertions(+) diff --git a/configscan.c b/configscan.c index ede2df4..d313242 100644 --- a/configscan.c +++ b/configscan.c @@ -1,3 +1,11 @@ +/* + * configscan.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/configscan.h b/configscan.h index 9802a86..4b5314f 100644 --- a/configscan.h +++ b/configscan.h @@ -1,3 +1,11 @@ +/* + * configscan.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __CONFIGSCAN_H__ #define __CONFIGSCAN_H__ diff --git a/general.c b/general.c index 385f3c6..0b7de9a 100644 --- a/general.c +++ b/general.c @@ -1,3 +1,11 @@ +/* + * general.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include // memset() #include diff --git a/general.h b/general.h index 61cf62d..943cc37 100644 --- a/general.h +++ b/general.h @@ -1,3 +1,11 @@ +/* + * general.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __RCOGENERAL_H__ #define __RCOGENERAL_H__ diff --git a/globdefs.c b/globdefs.c index 75ff52f..7f2e499 100644 --- a/globdefs.c +++ b/globdefs.c @@ -1,3 +1,11 @@ +/* + * globaldefs.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ /*** For rcomain.h ***/ #include "rcomain.h" diff --git a/main.c b/main.c index 6fe4ae6..bf9db53 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,11 @@ +/* + * main.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/rcodump.c b/rcodump.c index 2efe3f6..df1962f 100644 --- a/rcodump.c +++ b/rcodump.c @@ -1,3 +1,11 @@ +/* + * rcodump.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/rcodump.h b/rcodump.h index 1892628..d846c48 100644 --- a/rcodump.h +++ b/rcodump.h @@ -1,3 +1,11 @@ +/* + * rcodump.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __RCODUMP_H__ #define __RCODUMP_H__ diff --git a/rcofile.h b/rcofile.h index 78bc0b9..9408e37 100644 --- a/rcofile.h +++ b/rcofile.h @@ -1,3 +1,11 @@ +/* + * rcofile.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __RCOFILE_H__ #define __RCOFILE_H__ diff --git a/rcomain.c b/rcomain.c index df1a4f1..f4d0817 100644 --- a/rcomain.c +++ b/rcomain.c @@ -1,3 +1,11 @@ +/* + * rcomain.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/rcomain.h b/rcomain.h index 794c4ae..74a72a9 100644 --- a/rcomain.h +++ b/rcomain.h @@ -1,3 +1,11 @@ +/* + * rcomain.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __RCOMAIN_H__ #define __RCOMAIN_H__ diff --git a/rcoreader.c b/rcoreader.c index 93240dd..d3a2482 100644 --- a/rcoreader.c +++ b/rcoreader.c @@ -1,3 +1,11 @@ +/* + * rcoreader.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/rcowriter.c b/rcowriter.c index 3204d2c..73c7cd2 100644 --- a/rcowriter.c +++ b/rcowriter.c @@ -1,3 +1,12 @@ +/* + * rcowriter.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ + // main todos: src duplication checker in rco_write_resource() #include // malloc & free diff --git a/rlzpack.c b/rlzpack.c index 8c93855..80b60f0 100644 --- a/rlzpack.c +++ b/rlzpack.c @@ -1,3 +1,11 @@ +/* + * rlzpack.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/rlzpack.h b/rlzpack.h index 42fd886..68553e6 100644 --- a/rlzpack.h +++ b/rlzpack.h @@ -1,3 +1,12 @@ +/* + * rlzpack.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ + #ifndef __RLZPACK__ #define __RLZPACK__ int rlzcompress (void *output, int inlen, void *input, unsigned char mode); diff --git a/strfuncs.h b/strfuncs.h index e8c5f4e..b322d23 100644 --- a/strfuncs.h +++ b/strfuncs.h @@ -1,3 +1,12 @@ +/* + * strfuncs.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ + // stupid MSVC #include #ifdef WIN32 diff --git a/vaghandler.c b/vaghandler.c index ee1a907..258b4de 100644 --- a/vaghandler.c +++ b/vaghandler.c @@ -1,3 +1,11 @@ +/* + * vaghandler.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ /** ** A big thanks goes to highboy for his VAG <-> WAV sample code, which this file is based upon diff --git a/vaghandler.h b/vaghandler.h index 46e20ab..0c3d8c1 100644 --- a/vaghandler.h +++ b/vaghandler.h @@ -1,3 +1,12 @@ +/* + * vaghandler.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ + #include "general.h" uint8_t vag2wav (const char *fWav, int numChannels, int *vagLen, void **vagData); int wav2vag (const char *fWav, uint32_t * len, void **vagData, const char *vagName); diff --git a/vsmx.c b/vsmx.c index 8250ec0..c6806d3 100644 --- a/vsmx.c +++ b/vsmx.c @@ -1,3 +1,11 @@ +/* + * vsmx.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #include #include diff --git a/vsmx.h b/vsmx.h index 72109db..fc0862b 100644 --- a/vsmx.h +++ b/vsmx.h @@ -1,3 +1,11 @@ +/* + * vsmx.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __VSMX_H__ #define __VSMX_H__ diff --git a/xml.h b/xml.h index b72cd09..74b6a24 100644 --- a/xml.h +++ b/xml.h @@ -1,3 +1,11 @@ +/* + * xml.h - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ #ifndef __RCOXML_H__ #define __RCOXML_H__ diff --git a/xmlread.c b/xmlread.c index 9b5c41f..42f0b48 100644 --- a/xmlread.c +++ b/xmlread.c @@ -1,3 +1,12 @@ +/* + * xmlread.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ + // TODO: replace xmlstrcmp with strcasecmp #define LIBXML_STATIC diff --git a/xmlwrite.c b/xmlwrite.c index ab196bb..d156a87 100644 --- a/xmlwrite.c +++ b/xmlwrite.c @@ -1,3 +1,11 @@ +/* + * xmlwrite.c - This file is part of RCOMage + * + * Copyright (C) ZiNgA BuRgA + * + * This software is distributed under the terms of the GNU Lesser General Public + * License ("LGPL") version 2.1, as published by the Free Software Foundation. + */ // TODO: htmlspecialchars anywhere? -- 2.39.5