Add CYNARA_API_SERVICE_NOT_AVAILABLE
authorRafal Krypa <r.krypa@samsung.com>
Thu, 3 Jul 2014 12:07:35 +0000 (14:07 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 3 Jul 2014 12:19:10 +0000 (14:19 +0200)
This is new external API result code, which is returned, when
Cynara service is not available (a connection to service cannot be
set via UNIX socket)

Change-Id: I53c006f1795c975b1e36a1c20753f090beb603f0

src/include/cynara-client.h

index d07c72b..3ceeaa6 100644 (file)
@@ -43,7 +43,10 @@ enum cynara_api_result
        CYNARA_API_OUT_OF_MEMORY,
 
 /*! \brief   indicating the API's parameter is malformed */
-       CYNARA_API_INVALID_PARAM
+       CYNARA_API_INVALID_PARAM,
+
+/*! \brief   service not available */
+       CYNARA_API_SERVICE_NOT_AVAILABLE
 };
 /** @}*/