From bde54d9f32ba6fab8b77901fa960cde7283f80f2 Mon Sep 17 00:00:00 2001 From: Sergey Yakubov <sergey.yakubov@desy.de> Date: Thu, 24 Jun 2021 11:49:10 +0200 Subject: [PATCH] add C header to installation --- consumer/CMakeLists.txt | 1 + consumer/api/c/CMakeLists.txt | 1 + consumer/api/c/include/asapo/consumer_c.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 consumer/api/c/CMakeLists.txt diff --git a/consumer/CMakeLists.txt b/consumer/CMakeLists.txt index 2c16bedfd..46990069b 100644 --- a/consumer/CMakeLists.txt +++ b/consumer/CMakeLists.txt @@ -1,4 +1,5 @@ add_subdirectory(api/cpp) +add_subdirectory(api/c) if (BUILD_PYTHON) diff --git a/consumer/api/c/CMakeLists.txt b/consumer/api/c/CMakeLists.txt new file mode 100644 index 000000000..3aa21699d --- /dev/null +++ b/consumer/api/c/CMakeLists.txt @@ -0,0 +1 @@ +install(DIRECTORY include/ DESTINATION include) diff --git a/consumer/api/c/include/asapo/consumer_c.h b/consumer/api/c/include/asapo/consumer_c.h index 06ef753a4..442e39aa4 100644 --- a/consumer/api/c/include/asapo/consumer_c.h +++ b/consumer/api/c/include/asapo/consumer_c.h @@ -55,7 +55,6 @@ enum AsapoNetworkConnectionType { }; void asapo_error_explain(const AsapoErrorHandle error, char* buf, size_t max_size); enum AsapoConsumerErrorType asapo_error_get_type(const AsapoErrorHandle error); -void asapo_clear_error(AsapoErrorHandle* error); AsapoConsumerHandle asapo_create_consumer(const char* server_name, const char* source_path, -- GitLab