diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-07-02 07:35:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-07-02 07:35:48 +0000 |
commit | 198202b1b29a1ca490ced75d35659b0b43b31759 (patch) | |
tree | fea8406ff88eba82a92372b0b60b7cf9af1f99d6 /src | |
parent | 08f05c09d67f23bc10eea54ddf58eeeed3a1c8d4 (diff) | |
download | libmicrohttpd-198202b1b29a1ca490ced75d35659b0b43b31759.tar.gz libmicrohttpd-198202b1b29a1ca490ced75d35659b0b43b31759.zip |
addressing Mantis 1384
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/authorization_example.c | 27 | ||||
-rw-r--r-- | src/examples/fileserver_example.c | 23 | ||||
-rw-r--r-- | src/examples/fileserver_example_external_select.c | 24 | ||||
-rw-r--r-- | src/examples/https_server_example.c | 36 | ||||
-rw-r--r-- | src/examples/minimal_example.c | 24 | ||||
-rw-r--r-- | src/examples/querystring_example.c | 24 |
6 files changed, 74 insertions, 84 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c index c24dc878..1e428148 100644 --- a/src/examples/authorization_example.c +++ b/src/examples/authorization_example.c | |||
@@ -1,26 +1,25 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007 Christian Grothoff | 3 | (C) 2008 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | 18 | */ |
20 | 19 | ||
21 | /** | 20 | /** |
22 | * @file minimal_example.c | 21 | * @file authorization_example.c |
23 | * @brief minimal example for how to use libmicrohttpd | 22 | * @brief example for how to use libmicrohttpd with HTTP authentication |
24 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
25 | */ | 24 | */ |
26 | 25 | ||
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c index 1eefff65..139b606d 100644 --- a/src/examples/fileserver_example.c +++ b/src/examples/fileserver_example.c | |||
@@ -1,21 +1,20 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007 Christian Grothoff | 3 | (C) 2007 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | 18 | */ |
20 | 19 | ||
21 | /** | 20 | /** |
diff --git a/src/examples/fileserver_example_external_select.c b/src/examples/fileserver_example_external_select.c index 4ec4a0fb..b4bdc91e 100644 --- a/src/examples/fileserver_example_external_select.c +++ b/src/examples/fileserver_example_external_select.c | |||
@@ -1,23 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007, 2008 Christian Grothoff | 3 | (C) 2007, 2008 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | 18 | */ |
20 | |||
21 | /** | 19 | /** |
22 | * @file fileserver_example_external_select.c | 20 | * @file fileserver_example_external_select.c |
23 | * @brief minimal example for how to use libmicrohttpd to server files | 21 | * @brief minimal example for how to use libmicrohttpd to server files |
diff --git a/src/examples/https_server_example.c b/src/examples/https_server_example.c index c731c7f6..06fa1942 100644 --- a/src/examples/https_server_example.c +++ b/src/examples/https_server_example.c | |||
@@ -1,23 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007 Christian Grothoff | 3 | (C) 2007, 2008 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | 18 | */ |
19 | */ | ||
20 | |||
21 | /** | 19 | /** |
22 | * @file https_server_example.c | 20 | * @file https_server_example.c |
23 | * @brief a simple https file server using TLS. | 21 | * @brief a simple https file server using TLS. |
diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c index 647a4776..4bbbd94e 100644 --- a/src/examples/minimal_example.c +++ b/src/examples/minimal_example.c | |||
@@ -1,23 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007 Christian Grothoff | 3 | (C) 2007 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | 18 | */ |
20 | |||
21 | /** | 19 | /** |
22 | * @file minimal_example.c | 20 | * @file minimal_example.c |
23 | * @brief minimal example for how to use libmicrohttpd | 21 | * @brief minimal example for how to use libmicrohttpd |
diff --git a/src/examples/querystring_example.c b/src/examples/querystring_example.c index 9baf03a8..1e48c2ce 100644 --- a/src/examples/querystring_example.c +++ b/src/examples/querystring_example.c | |||
@@ -1,23 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | (C) 2007, 2008 Christian Grothoff | 3 | (C) 2007, 2008 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 5 | This library is free software; you can redistribute it and/or |
6 | it under the terms of the GNU General Public License as published | 6 | modify it under the terms of the GNU Lesser General Public |
7 | by the Free Software Foundation; either version 2, or (at your | 7 | License as published by the Free Software Foundation; either |
8 | option) any later version. | 8 | version 2.1 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | libmicrohttpd is distributed in the hope that it will be useful, but | 10 | This library is distributed in the hope that it will be useful, |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Lesser General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Lesser General Public |
16 | along with libmicrohttpd; see the file COPYING. If not, write to the | 16 | License along with this library; if not, write to the Free Software |
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | 18 | */ |
20 | |||
21 | /** | 19 | /** |
22 | * @file querystring_example.c | 20 | * @file querystring_example.c |
23 | * @brief example for how to get the query string from libmicrohttpd | 21 | * @brief example for how to get the query string from libmicrohttpd |