From a8ba784397398fbb6d6ecee17a382ccc52371e03 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 29 Nov 2023 20:39:27 +0300 Subject: [PATCH] add copyright notice --- src/yadisk.h | 21 ++++++++++++++++++--- src/yadisk_api_internal.c | 23 ++++++++++++++++++++--- src/yadisk_api_internal.h | 23 ++++++++++++++++++++--- src/yadisk_get_disk.c | 23 ++++++++++++++++++++--- src/yadisk_get_disk.h | 23 ++++++++++++++++++++--- src/yadisk_get_disk_resources.c | 22 +++++++++++++++++++--- src/yadisk_get_disk_resources.h | 24 +++++++++++++++++++++--- src/yadisk_shared.c | 23 ++++++++++++++++++++--- src/yadisk_shared.h | 23 ++++++++++++++++++++--- tests/app.c | 24 ++++++++++++++++++++---- 10 files changed, 198 insertions(+), 31 deletions(-) diff --git a/src/yadisk.h b/src/yadisk.h index 9ebdfaf..cd4d61e 100644 --- a/src/yadisk.h +++ b/src/yadisk.h @@ -1,6 +1,21 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #ifndef YADISK_YADISK_H #define YADISK_YADISK_H diff --git a/src/yadisk_api_internal.c b/src/yadisk_api_internal.c index 69f5351..5eb86f7 100644 --- a/src/yadisk_api_internal.c +++ b/src/yadisk_api_internal.c @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include diff --git a/src/yadisk_api_internal.h b/src/yadisk_api_internal.h index 94fd858..a4e58ca 100644 --- a/src/yadisk_api_internal.h +++ b/src/yadisk_api_internal.h @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #ifndef YADISK_YADISK_API_INTERNAL_H #define YADISK_YADISK_API_INTERNAL_H diff --git a/src/yadisk_get_disk.c b/src/yadisk_get_disk.c index 87463c1..edd9d5c 100644 --- a/src/yadisk_get_disk.c +++ b/src/yadisk_get_disk.c @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include "yadisk_get_disk.h" #include "yadisk_api_internal.h" diff --git a/src/yadisk_get_disk.h b/src/yadisk_get_disk.h index ff473d7..e9d3407 100644 --- a/src/yadisk_get_disk.h +++ b/src/yadisk_get_disk.h @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #ifndef YADISK_YADISK_GET_DISK_H #define YADISK_YADISK_GET_DISK_H diff --git a/src/yadisk_get_disk_resources.c b/src/yadisk_get_disk_resources.c index 2c566f8..17829a4 100644 --- a/src/yadisk_get_disk_resources.c +++ b/src/yadisk_get_disk_resources.c @@ -1,6 +1,22 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #include "yadisk_get_disk_resources.h" #include "yadisk_api_internal.h" diff --git a/src/yadisk_get_disk_resources.h b/src/yadisk_get_disk_resources.h index 534a2bf..e46f7af 100644 --- a/src/yadisk_get_disk_resources.h +++ b/src/yadisk_get_disk_resources.h @@ -1,6 +1,24 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef YADISK_GET_DISK_RESOURCES_H_INCLUDED #define YADISK_GET_DISK_RESOURCES_H_INCLUDED diff --git a/src/yadisk_shared.c b/src/yadisk_shared.c index afb0c61..e6693b8 100644 --- a/src/yadisk_shared.c +++ b/src/yadisk_shared.c @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include "yadisk_shared.h" diff --git a/src/yadisk_shared.h b/src/yadisk_shared.h index c5826f4..39dc72d 100644 --- a/src/yadisk_shared.h +++ b/src/yadisk_shared.h @@ -1,6 +1,23 @@ -// -// Created by maxim on 27.11.23. -// +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #ifndef YADISK_YADISK_SHARED_H #define YADISK_YADISK_SHARED_H diff --git a/tests/app.c b/tests/app.c index ebb899e..7f4f623 100644 --- a/tests/app.c +++ b/tests/app.c @@ -1,7 +1,23 @@ -// -// Created by maxim on 27.11.23. -// - +/* + * libyadisk - A C library for interacting with Yandex.Disk API + * + * This file is part of libyadisk. + * + * Copyright (C) 2023 Maxim Slipenko + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include