change license to LGPL2

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2018-03-03 17:33:49 +08:00
parent 4eb664ca05
commit 379bfd2479
21 changed files with 664 additions and 808 deletions

1086
LICENSE

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
# libuhttpd([中文](/README_ZH.md)) # libuhttpd([中文](/README_ZH.md))
[1]: https://img.shields.io/badge/license-GPLV3-brightgreen.svg?style=plastic [1]: https://img.shields.io/badge/license-GPL2-brightgreen.svg?style=plastic
[2]: /LICENSE [2]: /LICENSE
[3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=plastic [3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=plastic
[4]: https://github.com/zhaojh329/libuhttpd/pulls [4]: https://github.com/zhaojh329/libuhttpd/pulls

View File

@ -1,6 +1,6 @@
# libuhttpd # libuhttpd
[1]: https://img.shields.io/badge/license-GPLV3-brightgreen.svg?style=plastic [1]: https://img.shields.io/badge/license-GPL2-brightgreen.svg?style=plastic
[2]: /LICENSE [2]: /LICENSE
[3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=plastic [3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=plastic
[4]: https://github.com/zhaojh329/libuhttpd/pulls [4]: https://github.com/zhaojh329/libuhttpd/pulls

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,22 +1,20 @@
/* /*
* The Action handler is a simple libuhttpd handler that processes requests
* by invoking registered C functions. The action handler is ideal for
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,22 +1,20 @@
/* /*
* The Action handler is a simple libuhttpd handler that processes requests
* by invoking registered C functions. The action handler is ideal for
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _ACTION_H #ifndef _ACTION_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <ctype.h> #include <ctype.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _CLIENT_H_ #ifndef _CLIENT_H_

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _UHTTPD_CONFIG_H #ifndef _UHTTPD_CONFIG_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _FILE_H #ifndef _FILE_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _LOG_H #ifndef _LOG_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,19 +1,20 @@
/* /*
* 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) 2013 Felix Fietkau <nbd@openwrt.org>
* *
* Permission to use, copy, modify, and/or distribute this software for any * This program is free software; you can redistribute it and/or
* purpose with or without fee is hereby granted, provided that the above * modify it under the terms of the GNU Lesser General Public
* copyright notice and this permission notice appear in all copies. * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * This program is distributed in the hope that it will be useful,
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * Lesser General Public License for more details.
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN *
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * You should have received a copy of the GNU Lesser General Public
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <dlfcn.h> #include <dlfcn.h>

View File

@ -1,19 +1,20 @@
/* /*
* 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) 2013 Felix Fietkau <nbd@openwrt.org>
* *
* Permission to use, copy, modify, and/or distribute this software for any * This program is free software; you can redistribute it and/or
* purpose with or without fee is hereby granted, provided that the above * modify it under the terms of the GNU Lesser General Public
* copyright notice and this permission notice appear in all copies. * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * This program is distributed in the hope that it will be useful,
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * Lesser General Public License for more details.
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN *
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * You should have received a copy of the GNU Lesser General Public
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef __UHTTPD_SSL_H #ifndef __UHTTPD_SSL_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _UHTTPD_H #ifndef _UHTTPD_H

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,18 +1,20 @@
/* /*
* 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
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation, either version 3 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Lesser General Public
* along with this program. If not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*/ */
#ifndef _UTILS_H #ifndef _UTILS_H