diff --git a/CMakeLists.txt b/CMakeLists.txt index 200827637cb0ddedd8562308e44f9cf9b7c9dcbd..96f37dceec99638ed6185e635c7485876e5908da 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 1ee228c099cb2bba816530e05b0f75d63427ecf0..7027890e299fa28bc77033cea870782d0b9f2aac 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 3336d5f3f02f947ccca45f76d35d6fa2bb682cfe..7d64f59b38234d34ab12dc7459c87899535aff00 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 3d1ee22533e848563f85cc8c9637148d7bb7bada..cc6359400bc3701eb8ec6d8ca3e9af9f01da53c7 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 0000000000000000000000000000000000000000..b0ae8cb541d43197d7644de3aa80f4ebd402faa5 --- /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 1feae403c60c3297130e8ecc695473c1ab5da3eb..d07b3181da25416b307c6ed27fce51b4c00b7ec8 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 c0ea8a767d50c4fed2475c859b8b316b159b4aa8..9d808d079b5b2567ac3ed2c500f8458c28504a18 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 427717acb3d9fd78892aa82895b0ee877937b6c0..2fc27e454fc717a1cb97166e3beeb71c1e3d8596 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 6fe0cd04686b300c884c77ad4e38946f40b326ee..0ced83097685d51410249d3ddcfae11f4d2e61dc 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/>. */