From 93ead0f2d1f8f360eca133d4e51d8fe8ee4329ba Mon Sep 17 00:00:00 2001 From: armatusmiles <akurotych@gmail.com> Date: Thu, 10 Jan 2019 16:50:23 +0700 Subject: [PATCH] [+] license headers --- CMakeLists.txt | 4 ++-- core/dap_common.h | 3 ++- core/dap_config.h | 25 +++++++++++++++++++++++++ core/unix/dap_cpu_monitor.h | 24 ++++++++++++++++++++++++ core/unix/dap_network_monitor.h | 1 + core/unix/dap_process_memory.h | 24 ++++++++++++++++++++++++ crypto/dap_enc.h | 15 ++++++++++----- crypto/dap_enc_base64.h | 25 +++++++++++++++++++++++++ crypto/dap_enc_key.h | 15 ++++++++++----- 9 files changed, 123 insertions(+), 13 deletions(-) create mode 100644 core/unix/dap_network_monitor.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 2008276..96f37dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,10 +6,10 @@ add_definitions ("-D_GNU_SOURCE") set(CMAKE_C_FLAGS "-std=c11 -Wall -Wextra") -if(BUILD_DAP_TESTS) +#if(BUILD_DAP_TESTS) enable_testing() add_subdirectory(test) -endif() +#endif() add_subdirectory(core) add_subdirectory(crypto) diff --git a/core/dap_common.h b/core/dap_common.h index 1ee228c..7027890 100644 --- a/core/dap_common.h +++ b/core/dap_common.h @@ -1,9 +1,10 @@ /* * Authors: * Dmitriy A. Gearasimov <kahovski@gmail.com> + * Anatolii Kurotych <akurotych@gmail.com> * DeM Labs Inc. https://demlabs.net * DeM Labs Open source community https://github.com/demlabsinc - * Copyright (c) 2017-2018 + * Copyright (c) 2017-2019 * All rights reserved. This file is part of DAP (Deus Applications Prototypes) the open source project diff --git a/core/dap_config.h b/core/dap_config.h index 3336d5f..7d64f59 100755 --- a/core/dap_config.h +++ b/core/dap_config.h @@ -1,3 +1,28 @@ +/* + * Authors: + * Dmitriy A. Gearasimov <kahovski@gmail.com> + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. + + This file is part of DAP (Deus Applications Prototypes) the open source project + + DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DAP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. +*/ + #ifndef _DAP_CONFIG_H_ #define _DAP_CONFIG_H_ diff --git a/core/unix/dap_cpu_monitor.h b/core/unix/dap_cpu_monitor.h index 3d1ee22..cc63594 100644 --- a/core/unix/dap_cpu_monitor.h +++ b/core/unix/dap_cpu_monitor.h @@ -1,3 +1,27 @@ +/* + * Authors: + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. + + This file is part of DAP (Deus Applications Prototypes) the open source project + + DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DAP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. +*/ + #pragma once #define MAX_CPU_COUNT 64 diff --git a/core/unix/dap_network_monitor.h b/core/unix/dap_network_monitor.h new file mode 100644 index 0000000..b0ae8cb --- /dev/null +++ b/core/unix/dap_network_monitor.h @@ -0,0 +1 @@ +#include "linux/netlink.h" diff --git a/core/unix/dap_process_memory.h b/core/unix/dap_process_memory.h index 1feae40..d07b318 100644 --- a/core/unix/dap_process_memory.h +++ b/core/unix/dap_process_memory.h @@ -1,3 +1,27 @@ +/* + * Authors: + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. + + This file is part of DAP (Deus Applications Prototypes) the open source project + + DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DAP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. +*/ + #include <stdint.h> #include <sys/types.h> diff --git a/crypto/dap_enc.h b/crypto/dap_enc.h index c0ea8a7..9d808d0 100644 --- a/crypto/dap_enc.h +++ b/crypto/dap_enc.h @@ -1,20 +1,25 @@ /* - Copyright (c) 2017-2018 (c) Project "DeM Labs Inc" https://github.com/demlabsinc - All rights reserved. + * Authors: + * Dmitriy A. Gearasimov <kahovski@gmail.com> + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. This file is part of DAP (Deus Applications Prototypes) the open source project DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by + it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DAP 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. + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public License + You should have received a copy of the GNU General Public License along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/crypto/dap_enc_base64.h b/crypto/dap_enc_base64.h index 427717a..2fc27e4 100755 --- a/crypto/dap_enc_base64.h +++ b/crypto/dap_enc_base64.h @@ -1,3 +1,28 @@ +/* + * Authors: + * Dmitriy A. Gearasimov <kahovski@gmail.com> + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. + + This file is part of DAP (Deus Applications Prototypes) the open source project + + DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + DAP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. +*/ + #ifndef _DAP_ENC_BASE64_H_ #define _DAP_ENC_BASE64_H_ #include <stddef.h> diff --git a/crypto/dap_enc_key.h b/crypto/dap_enc_key.h index 6fe0cd0..0ced830 100755 --- a/crypto/dap_enc_key.h +++ b/crypto/dap_enc_key.h @@ -1,20 +1,25 @@ /* - Copyright (c) 2017-2018 (c) Project "DeM Labs Inc" https://github.com/demlabsinc - All rights reserved. + * Authors: + * Dmitriy A. Gearasimov <kahovski@gmail.com> + * Anatolii Kurotych <akurotych@gmail.com> + * DeM Labs Inc. https://demlabs.net + * DeM Labs Open source community https://github.com/demlabsinc + * Copyright (c) 2017-2019 + * All rights reserved. This file is part of DAP (Deus Applications Prototypes) the open source project DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by + it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DAP 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. + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public License + You should have received a copy of the GNU General Public License along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. */ -- GitLab