diff --git a/LICENSE b/LICENSE index a45eab2..8be3f7c 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/include/mastodont.h b/include/mastodont.h index c017d10..d60eec6 100644 --- a/include/mastodont.h +++ b/include/mastodont.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_H diff --git a/include/mastodont_account.h b/include/mastodont_account.h index 635c5ba..d62147a 100644 --- a/include/mastodont_account.h +++ b/include/mastodont_account.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_ACCOUNT diff --git a/include/mastodont_announcement.h b/include/mastodont_announcement.h index 0dd782e..acdc2ce 100644 --- a/include/mastodont_announcement.h +++ b/include/mastodont_announcement.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_ANNOUNCEMENT_H diff --git a/include/mastodont_application.h b/include/mastodont_application.h index 5a82ea7..7dd65f2 100644 --- a/include/mastodont_application.h +++ b/include/mastodont_application.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_APPLICATION diff --git a/include/mastodont_attachment.h b/include/mastodont_attachment.h index 81f424d..941ddbe 100644 --- a/include/mastodont_attachment.h +++ b/include/mastodont_attachment.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_ATTACHMENT diff --git a/include/mastodont_chats.h b/include/mastodont_chats.h index 3d7a240..be80bd3 100644 --- a/include/mastodont_chats.h +++ b/include/mastodont_chats.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_CHATS_H diff --git a/include/mastodont_codes.h b/include/mastodont_codes.h index a792b02..bb6d0f3 100644 --- a/include/mastodont_codes.h +++ b/include/mastodont_codes.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_CODES_H diff --git a/include/mastodont_emoji.h b/include/mastodont_emoji.h index fe3ffef..b0144a5 100644 --- a/include/mastodont_emoji.h +++ b/include/mastodont_emoji.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_EMOJI diff --git a/include/mastodont_error.h b/include/mastodont_error.h index 4cbb353..d9bdefb 100644 --- a/include/mastodont_error.h +++ b/include/mastodont_error.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_ERROR_H diff --git a/include/mastodont_fetch.h b/include/mastodont_fetch.h index 7afef8b..c5598c3 100644 --- a/include/mastodont_fetch.h +++ b/include/mastodont_fetch.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_FETCH_H diff --git a/include/mastodont_history.h b/include/mastodont_history.h index 27c8a11..49d3512 100644 --- a/include/mastodont_history.h +++ b/include/mastodont_history.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_HISTORY diff --git a/include/mastodont_hooks.h b/include/mastodont_hooks.h index ed13624..59b2ac8 100644 --- a/include/mastodont_hooks.h +++ b/include/mastodont_hooks.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_HOOKS_H diff --git a/include/mastodont_instance.h b/include/mastodont_instance.h index f4363f5..6989fc8 100644 --- a/include/mastodont_instance.h +++ b/include/mastodont_instance.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_INSTANCE_H diff --git a/include/mastodont_json_helper.h b/include/mastodont_json_helper.h index 56372b1..8f13880 100644 --- a/include/mastodont_json_helper.h +++ b/include/mastodont_json_helper.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_JSON_HELPER_H diff --git a/include/mastodont_list.h b/include/mastodont_list.h index 5b00014..63591e8 100644 --- a/include/mastodont_list.h +++ b/include/mastodont_list.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_LIST_H diff --git a/include/mastodont_mention.h b/include/mastodont_mention.h index 2ce0dfa..88d7a36 100644 --- a/include/mastodont_mention.h +++ b/include/mastodont_mention.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_MENTION diff --git a/include/mastodont_nodeinfo.h b/include/mastodont_nodeinfo.h index 453f9bf..55d4a7b 100644 --- a/include/mastodont_nodeinfo.h +++ b/include/mastodont_nodeinfo.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_NODEINFO_H diff --git a/include/mastodont_notif_types.h b/include/mastodont_notif_types.h index c098b8d..c99c95a 100644 --- a/include/mastodont_notif_types.h +++ b/include/mastodont_notif_types.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_NOTIF_TYPES diff --git a/include/mastodont_notification.h b/include/mastodont_notification.h index 2a43160..14639d0 100644 --- a/include/mastodont_notification.h +++ b/include/mastodont_notification.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_NOTIFICATION diff --git a/include/mastodont_pleroma.h b/include/mastodont_pleroma.h index e9082b2..2054379 100644 --- a/include/mastodont_pleroma.h +++ b/include/mastodont_pleroma.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ diff --git a/include/mastodont_query.h b/include/mastodont_query.h index 6f35b8a..cf2d54d 100644 --- a/include/mastodont_query.h +++ b/include/mastodont_query.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_QUERY_H diff --git a/include/mastodont_relationship.h b/include/mastodont_relationship.h index 4d9aa8f..f507c55 100644 --- a/include/mastodont_relationship.h +++ b/include/mastodont_relationship.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_RELATIONSHIP_H diff --git a/include/mastodont_request.h b/include/mastodont_request.h index 28ff19f..9722e89 100644 --- a/include/mastodont_request.h +++ b/include/mastodont_request.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_REQUEST_H diff --git a/include/mastodont_scrobbles.h b/include/mastodont_scrobbles.h index f6bb4f7..01165c6 100644 --- a/include/mastodont_scrobbles.h +++ b/include/mastodont_scrobbles.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_SCROBBLES_H diff --git a/include/mastodont_search.h b/include/mastodont_search.h index c10092b..f0fd623 100644 --- a/include/mastodont_search.h +++ b/include/mastodont_search.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_SEARCH_H diff --git a/include/mastodont_status.h b/include/mastodont_status.h index 863e0e3..1786b84 100644 --- a/include/mastodont_status.h +++ b/include/mastodont_status.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_STATUS diff --git a/include/mastodont_tag.h b/include/mastodont_tag.h index 954be27..505358e 100644 --- a/include/mastodont_tag.h +++ b/include/mastodont_tag.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_TAG diff --git a/include/mastodont_timeline.h b/include/mastodont_timeline.h index d58795e..ae01505 100644 --- a/include/mastodont_timeline.h +++ b/include/mastodont_timeline.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_TIMELINE_H diff --git a/include/mastodont_types.h b/include/mastodont_types.h index 4cbd6f0..29327e5 100644 --- a/include/mastodont_types.h +++ b/include/mastodont_types.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_TYPES_H diff --git a/include/mastodont_uri.h b/include/mastodont_uri.h index a74a2bb..320e29f 100644 --- a/include/mastodont_uri.h +++ b/include/mastodont_uri.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_URI_H diff --git a/include/mastodont_visibility_types.h b/include/mastodont_visibility_types.h index 53fa09c..4129d83 100644 --- a/include/mastodont_visibility_types.h +++ b/include/mastodont_visibility_types.h @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #ifndef MASTODONT_VISIBILITY_TYPES_H diff --git a/src/account.c b/src/account.c index 6b91848..ede0eb9 100644 --- a/src/account.c +++ b/src/account.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/application.c b/src/application.c index 0524edb..441cc27 100644 --- a/src/application.c +++ b/src/application.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/attachment.c b/src/attachment.c index 6cb5990..818889c 100644 --- a/src/attachment.c +++ b/src/attachment.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/chats.c b/src/chats.c index 2dec754..4871ea9 100644 --- a/src/chats.c +++ b/src/chats.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/emoji.c b/src/emoji.c index e61f184..522710a 100644 --- a/src/emoji.c +++ b/src/emoji.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/error.c b/src/error.c index 1ab496a..c4ee3ad 100644 --- a/src/error.c +++ b/src/error.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/fetch.c b/src/fetch.c index 6e7398f..9787e95 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/history.c b/src/history.c index 3461d7f..3526293 100644 --- a/src/history.c +++ b/src/history.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/hooks.c b/src/hooks.c index c4d4b47..c57d1f4 100644 --- a/src/hooks.c +++ b/src/hooks.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/instance.c b/src/instance.c index d7349be..5375a62 100644 --- a/src/instance.c +++ b/src/instance.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/json_helper.c b/src/json_helper.c index 05c59ff..8926be1 100644 --- a/src/json_helper.c +++ b/src/json_helper.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #define _XOPEN_SOURCE diff --git a/src/list.c b/src/list.c index 1370a6e..998932a 100644 --- a/src/list.c +++ b/src/list.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/nodeinfo.c b/src/nodeinfo.c index bea804e..32af40e 100644 --- a/src/nodeinfo.c +++ b/src/nodeinfo.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/notification.c b/src/notification.c index 6a7a461..20f95b7 100644 --- a/src/notification.c +++ b/src/notification.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/pleroma.c b/src/pleroma.c index d517777..1569a4d 100644 --- a/src/pleroma.c +++ b/src/pleroma.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/query.c b/src/query.c index e31499f..df0edfa 100644 --- a/src/query.c +++ b/src/query.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/relationship.c b/src/relationship.c index f20f419..04d0553 100644 --- a/src/relationship.c +++ b/src/relationship.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/request.c b/src/request.c index 89e7fd3..ade2cb4 100644 --- a/src/request.c +++ b/src/request.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/scrobbles.c b/src/scrobbles.c index 7224e45..c1d6e27 100644 --- a/src/scrobbles.c +++ b/src/scrobbles.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/search.c b/src/search.c index ba44c5e..ec249fd 100644 --- a/src/search.c +++ b/src/search.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/status.c b/src/status.c index d23514c..277a306 100644 --- a/src/status.c +++ b/src/status.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/tag.c b/src/tag.c index 1bcf7dc..11f9ddd 100644 --- a/src/tag.c +++ b/src/tag.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/timeline.c b/src/timeline.c index 320de27..9356a18 100644 --- a/src/timeline.c +++ b/src/timeline.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include diff --git a/src/uri.c b/src/uri.c index a6338a9..b94d3ae 100644 --- a/src/uri.c +++ b/src/uri.c @@ -1,5 +1,5 @@ /* - * Licensed under BSD 2-Clause License + * Licensed under BSD 3-Clause License */ #include