This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 043b77e6cd5d7d283cf56c72fd31368d97e7803e
Author: Pepijn Noltes <[email protected]>
AuthorDate: Mon Jul 22 21:01:35 2019 +0200

    For now disables the deprecated attribute on the glocal etcdlib calls.
---
 libs/etcdlib/api/etcd.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libs/etcdlib/api/etcd.h b/libs/etcdlib/api/etcd.h
index 40d1091..4bb901f 100644
--- a/libs/etcdlib/api/etcd.h
+++ b/libs/etcdlib/api/etcd.h
@@ -34,7 +34,7 @@ extern "C"
  * @param int flags. bitwise flags to control etcdlib initialization. 
  * @return 0 on success, non zero otherwise.
  */
-__attribute__((deprecated("use etcdlib_create instead")))
+//__attribute__((deprecated("use etcdlib_create instead")))
 int etcd_init(const char* server, int port, int flags);
 
 /**
@@ -44,7 +44,7 @@ int etcd_init(const char* server, int port, int flags);
  * @param int* modifiedIndex. If not NULL the Etcd-index of the last modified 
value.
  * @return 0 on success, non zero otherwise
  */
-__attribute__((deprecated("use etcdlib_get instead")))
+//__attribute__((deprecated("use etcdlib_get instead")))
 int etcd_get(const char* key, char** value, int* modifiedIndex);
 
 /**
@@ -55,7 +55,7 @@ int etcd_get(const char* key, char** value, int* 
modifiedIndex);
  * @param int* modifiedIndex. If not NULL the Etcd-index of the last modified 
value.
  * @return 0 on success, non zero otherwise
  */
-__attribute__((deprecated("use etcdlib_get_directory instead")))
+//__attribute__((deprecated("use etcdlib_get_directory instead")))
 int etcd_get_directory(const char* directory, etcdlib_key_value_callback 
callback, void *arg, long long* modifiedIndex);
 
 /**
@@ -66,7 +66,7 @@ int etcd_get_directory(const char* directory, 
etcdlib_key_value_callback callbac
  * @param bool prevExist. If true the value is only set when the key already 
exists, if false it is always set
  * @return 0 on success, non zero otherwise
  */
-__attribute__((deprecated("use etcdlib_set instead")))
+//__attribute__((deprecated("use etcdlib_set instead")))
 int etcd_set(const char* key, const char* value, int ttl, bool prevExist);
 
 /**
@@ -75,7 +75,7 @@ int etcd_set(const char* key, const char* value, int ttl, 
bool prevExist);
  * @param ttl the ttl value to use.
  * @return 0 on success, non zero otherwise.
  */
-__attribute__((deprecated("use etcdlib_refesh instead")))
+//__attribute__((deprecated("use etcdlib_refesh instead")))
 int etcd_refresh(const char *key, int ttl);
 
 /**
@@ -86,7 +86,7 @@ int etcd_refresh(const char *key, int ttl);
  * @param bool always_write. If true the value is written, if false only when 
the given value is equal to the value in etcd.
  * @return 0 on success, non zero otherwise
  */
-__attribute__((deprecated("use etcdlib_set_with_check instead")))
+//__attribute__((deprecated("use etcdlib_set_with_check instead")))
 int etcd_set_with_check(const char* key, const char* value, int ttl, bool 
always_write);
 
 /**
@@ -94,7 +94,7 @@ int etcd_set_with_check(const char* key, const char* value, 
int ttl, bool always
  * @param const char* key. The Etcd-key (Note: a leading '/' should be avoided)
  * @return 0 on success, non zero otherwise
  */
-__attribute__((deprecated("use etcdlib_del instead")))
+//__attribute__((deprecated("use etcdlib_del instead")))
 int etcd_del(const char* key);
 
 /**
@@ -108,7 +108,7 @@ int etcd_del(const char* key);
  * @param long long* modifiedIndex. If not NULL, the index of the modification 
is written.
  * @return ETCDLIB_RC_OK (0) on success, non zero otherwise. Note that a 
timeout is signified by a ETCDLIB_RC_TIMEOUT return code.
  */
-__attribute__((deprecated("use etcdlib_watch instead")))
+//__attribute__((deprecated("use etcdlib_watch instead")))
 int etcd_watch(const char* key, long long index, char** action, char** 
prevValue, char** value, char** rkey, long long* modifiedIndex);
 
 #ifdef __cplusplus

Reply via email to