parent
b8ae313e0a
commit
3aa5d2aeed
|
@ -1,3 +1,20 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <uhttpd.h>
|
#include <uhttpd.h>
|
||||||
|
|
||||||
#define port "8000"
|
#define port "8000"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* by invoking registered C functions. The action handler is ideal for
|
* by invoking registered C functions. The action handler is ideal for
|
||||||
* situations when you want to generate a simple response using C code.
|
* situations when you want to generate a simple response using C code.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* by invoking registered C functions. The action handler is ideal for
|
* by invoking registered C functions. The action handler is ideal for
|
||||||
* situations when you want to generate a simple response using C code.
|
* situations when you want to generate a simple response using C code.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
17
src/common.h
17
src/common.h
|
@ -1,3 +1,20 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _COMMON_H
|
#ifndef _COMMON_H
|
||||||
#define _COMMON_H
|
#define _COMMON_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,20 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _UHTTPD_CONFIG_H
|
#ifndef _UHTTPD_CONFIG_H
|
||||||
#define _UHTTPD_CONFIG_H
|
#define _UHTTPD_CONFIG_H
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
* Copyright (C) 2010-2013 Jo-Philipp Wich <xm@subsignal.org>
|
* Copyright (C) 2010-2013 Jo-Philipp Wich <xm@subsignal.org>
|
||||||
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
* Copyright (C) 2010-2013 Jo-Philipp Wich <xm@subsignal.org>
|
* Copyright (C) 2010-2013 Jo-Philipp Wich <xm@subsignal.org>
|
||||||
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
* Copyright (C) 2017 Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Reference in New Issue