From d80ed1820a8c156034b58dd9bb78b0f7c9cde08e Mon Sep 17 00:00:00 2001 From: Gergely POLONKAI Date: Fri, 23 Mar 2012 16:45:38 +0100 Subject: [PATCH] Added C file header comments Signed-off-by: Gergely POLONKAI --- src/db.c | 18 ++++++++++++++++++ src/db.h | 18 ++++++++++++++++++ src/interpreter.c | 18 ++++++++++++++++++ src/interpreter.h | 18 ++++++++++++++++++ src/main.c | 18 ++++++++++++++++++ src/networking.c | 18 ++++++++++++++++++ src/networking.h | 18 ++++++++++++++++++ src/players.c | 6 +++--- src/players.h | 6 +++--- src/wmud_types.h | 18 ++++++++++++++++++ 10 files changed, 150 insertions(+), 6 deletions(-) diff --git a/src/db.c b/src/db.c index 64ec7f6..4df3c7c 100644 --- a/src/db.c +++ b/src/db.c @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * db.c: database handling routines + * + * 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 2 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 . + */ #include #include diff --git a/src/db.h b/src/db.h index af77597..c35c01d 100644 --- a/src/db.h +++ b/src/db.h @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * db.h: database handling routine prototypes + * + * 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 2 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 . + */ #ifndef __WMUD_DB_H__ #define __WMUD_DB_H__ diff --git a/src/interpreter.c b/src/interpreter.c index d26bdba..47fbd66 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * interpreter.c: game command interpreter routines + * + * 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 2 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 . + */ #include #include #include diff --git a/src/interpreter.h b/src/interpreter.h index 305cdfb..e479675 100644 --- a/src/interpreter.h +++ b/src/interpreter.h @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * interpreter.h: game command interpreter prototypes and variables + * + * 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 2 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 . + */ #ifndef __WMUD_INTERPRETER_H__ # define __WMUD_INTERPRETER_H__ diff --git a/src/main.c b/src/main.c index 78078fe..a281488 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * main.c: main and uncategorized functions + * + * 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 2 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 . + */ #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/src/networking.c b/src/networking.c index b41dd13..6db7355 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * networking.c: basic networking functions + * + * 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 2 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 . + */ #include #include #include diff --git a/src/networking.h b/src/networking.h index f7d6d2b..874c4d1 100644 --- a/src/networking.h +++ b/src/networking.h @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * networking.h: basic networking function headers, variables and defines + * + * 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 2 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 . + */ #ifndef __WMUD_NETWORKING_H__ # define __WMUD_NETWORKING_H__ diff --git a/src/players.c b/src/players.c index 1e98a83..db06de8 100644 --- a/src/players.c +++ b/src/players.c @@ -1,8 +1,8 @@ -/* - * players.c - * +/* wMUD - Yet another MUD codebase by W00d5t0ck * Copyright (C) 2012 - Gergely POLONKAI * + * players.c: player structure related functions + * * 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 2 of the License, or diff --git a/src/players.h b/src/players.h index b3373bc..991ad94 100644 --- a/src/players.h +++ b/src/players.h @@ -1,8 +1,8 @@ -/* - * players.h - * +/* wMUD - Yet another MUD codebase by W00d5t0ck * Copyright (C) 2012 - Gergely POLONKAI * + * players.h: player structure related prototypes and variables + * * 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 2 of the License, or diff --git a/src/wmud_types.h b/src/wmud_types.h index cef6226..b9b051c 100644 --- a/src/wmud_types.h +++ b/src/wmud_types.h @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * wmud_types.h: Common wMUD data types + * + * 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 2 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 . + */ #ifndef __WMUD_TYPES_H__ #define __WMUD_TYPES_H__