3rd clause

FossilOrigin-Name: 8766275cac121ced2142c9dee80f2c21a0337e9eb65501961807aba8fca0f252
This commit is contained in:
nekobit 2022-11-14 15:36:33 +00:00
parent 46d9153d59
commit ded0b83151
85 changed files with 89 additions and 87 deletions

View File

@ -1,5 +1,3 @@
BSD 2-Clause License
Copyright (c) 2022, Nekobit
Redistribution and use in source and binary forms, with or without
@ -12,6 +10,10 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@ -21,4 +23,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under BSD 2-Clause License
* Licensed under BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under BSD 2-Clause License
* Licensed under BSD 3-Clause License
*/
#ifndef ABOUT_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under BSD 2-Clause License
* Licensed under BSD 3-Clause License
*/
#include <string.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef ACCOUNT_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "applications.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef APPLICATIONS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <string.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef ATTACHMENTS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef BASE_PAGE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
/* #ifndef IMPORT_CGI_H */

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef CONVERSATIONS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "cookie.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef COOKIE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <fcgi_stdio.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef EASPRINTF_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "emoji.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef EMOJI_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef EMOJI_INFO_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "../config.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef EMOJI_REACTION_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef ENV_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>
#include "base_page.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef ERROR_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdio.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#if 0

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef GLOBAL_CACHE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "global_perl.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef GLOBAL_PERL_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "math.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef HASHTAG_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "../config.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef HELPERS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "http.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef HTTP_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef INDEX_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "global_perl.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef KEY_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TREEBIRD_L10N_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef LISTS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "global_perl.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef LOCAL_CONFIG_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef LOCAL_CONFIG_SET_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "login.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef LOGIN_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "global_perl.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TREEBIRD_MATH_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
/* Everything seen here is info for the super curious, and does not really

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "memory_page.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef MEMORY_PAGE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <ctype.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef MIME_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <string.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef NOTIFICATIONS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "page_config.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef PAGE_CONFIG_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <string.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef PATH_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "query.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef QUERY_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef REQUEST_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "scrobble.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef SCROBBLE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef SEARCH_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "account.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef SESSION_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef STATUS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#define _XOPEN_SOURCE

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TREE_STRING_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include <fcgi_stdio.h>

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef STRING_HELPERS_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "global_perl.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TIMELINE_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#include "types.h"

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TB_TYPES_H

View File

@ -1,7 +1,7 @@
/*
* Treebird - Lightweight frontend for Pleroma
*
* Licensed under the BSD 2-Clause License
* Licensed under the BSD 3-Clause License
*/
#ifndef TEST_H