added copyright notices to source and header files
This commit is contained in:
parent
6742132441
commit
53df45e152
4 changed files with 77 additions and 1 deletions
|
@ -1,3 +1,28 @@
|
||||||
|
/**
|
||||||
|
* Geonames.org lookup routines
|
||||||
|
*
|
||||||
|
* @copyright 2012 Steffen Vogel
|
||||||
|
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
|
||||||
|
* @author Steffen Vogel <post@steffenvogel.de>
|
||||||
|
* @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* This file is part of sun
|
||||||
|
*
|
||||||
|
* sun 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
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* sun 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 sun. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,3 +1,28 @@
|
||||||
|
/**
|
||||||
|
* Header file for Geonames.org lookup
|
||||||
|
*
|
||||||
|
* @copyright 2012 Steffen Vogel
|
||||||
|
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
|
||||||
|
* @author Steffen Vogel <post@steffenvogel.de>
|
||||||
|
* @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* This file is part of sun
|
||||||
|
*
|
||||||
|
* sun 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
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* sun 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 sun. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _GEONAMES_H_
|
#ifndef _GEONAMES_H_
|
||||||
#define _GEONAMES_H_
|
#define _GEONAMES_H_
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,32 @@
|
||||||
|
/**
|
||||||
|
* Geonames.org test
|
||||||
|
*
|
||||||
|
* @copyright 2012 Steffen Vogel
|
||||||
|
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
|
||||||
|
* @author Steffen Vogel <post@steffenvogel.de>
|
||||||
|
* @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* This file is part of sun
|
||||||
|
*
|
||||||
|
* sun 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
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* sun 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 sun. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "../config.h"
|
||||||
#include "geonames.h"
|
#include "geonames.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* Main routine
|
* Main routine
|
||||||
*
|
*
|
||||||
* Does parsing of command line options and start calculation
|
* Does parsing of command line options and start calculation
|
||||||
|
|
Loading…
Add table
Reference in a new issue