Add prefix to header guards to avoid conflicts. 89/69489/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 13 May 2016 10:45:55 +0000 (12:45 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Mon, 16 May 2016 08:02:22 +0000 (01:02 -0700)
Change-Id: I1e96b8ca538d61da8d4ae34ab9ee632472e192ce

api/yaca/crypto.h
api/yaca/digest.h
api/yaca/encrypt.h
api/yaca/error.h
api/yaca/key.h
api/yaca/seal.h
api/yaca/sign.h
api/yaca/simple.h
api/yaca/types.h
src/internal.h

index 20b444a..205cce2 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef CRYPTO_H
-#define CRYPTO_H
+#ifndef YACA_CRYPTO_H
+#define YACA_CRYPTO_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -192,4 +192,4 @@ int yaca_get_output_length(const yaca_ctx_h ctx, size_t input_len);
 } /* extern */
 #endif
 
-#endif /* CRYPTO_H */
+#endif /* YACA_CRYPTO_H */
index 0ea17d4..5e3aa0d 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef DIGEST_H
-#define DIGEST_H
+#ifndef YACA_DIGEST_H
+#define YACA_DIGEST_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -81,4 +81,4 @@ int yaca_digest_final(yaca_ctx_h ctx, char *digest, size_t *digest_len);
 } /* extern */
 #endif
 
-#endif /* DIGEST_H */
+#endif /* YACA_DIGEST_H */
index 23351cf..7806e16 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef ENCRYPT_H
-#define ENCRYPT_H
+#ifndef YACA_ENCRYPT_H
+#define YACA_ENCRYPT_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -164,4 +164,4 @@ int yaca_get_iv_bits(yaca_enc_algo_e algo,
 } /* extern */
 #endif
 
-#endif /* ENCRYPT_H */
+#endif /* YACA_ENCRYPT_H */
index 15addf0..55656bd 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef ERROR_H
-#define ERROR_H
+#ifndef YACA_ERROR_H
+#define YACA_ERROR_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -68,4 +68,4 @@ void yaca_error_set_debug_func(yaca_debug_func fn);
 } /* extern */
 #endif
 
-#endif /* ERROR_H */
+#endif /* YACA_ERROR_H */
index f97d6df..ce69f21 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef KEY_H
-#define KEY_H
+#ifndef YACA_KEY_H
+#define YACA_KEY_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -224,4 +224,4 @@ int yaca_key_derive_pbkdf2(const char *password,
 } /* extern */
 #endif
 
-#endif /* KEY_H */
+#endif /* YACA_KEY_H */
index 4786ebe..4f7b2fa 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef SEAL_H
-#define SEAL_H
+#ifndef YACA_SEAL_H
+#define YACA_SEAL_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -161,4 +161,4 @@ int yaca_open_final(yaca_ctx_h ctx,
 } /* extern */
 #endif
 
-#endif /* SEAL_H */
+#endif /* YACA_SEAL_H */
index a5feb21..f018a31 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef SIGN_H
-#define SIGN_H
+#ifndef YACA_SIGN_H
+#define YACA_SIGN_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -131,4 +131,4 @@ int yaca_verify_final(yaca_ctx_h ctx,
 } /* extern */
 #endif
 
-#endif /* SIGN_H */
+#endif /* YACA_SIGN_H */
index 42a7545..ec1e333 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef SIMPLE_H
-#define SIMPLE_H
+#ifndef YACA_SIMPLE_H
+#define YACA_SIMPLE_H
 
 #include <stddef.h>
 #include <yaca/types.h>
@@ -124,4 +124,4 @@ int yaca_decrypt(yaca_enc_algo_e algo,
 } /* extern */
 #endif
 
-#endif /* SIMPLE_H */
+#endif /* YACA_SIMPLE_H */
index ea9b2bd..d069fc2 100644 (file)
@@ -21,8 +21,8 @@
  * @brief
  */
 
-#ifndef TYPES_H
-#define TYPES_H
+#ifndef YACA_TYPES_H
+#define YACA_TYPES_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -289,4 +289,4 @@ typedef enum {
 } /* extern */
 #endif
 
-#endif /* TYPES_H */
+#endif /* YACA_TYPES_H */
index 119728f..5d1f49a 100644 (file)
@@ -21,8 +21,8 @@
  * @brief Internal API
  */
 
-#ifndef INTERNAL_H
-#define INTERNAL_H
+#ifndef YACA_INTERNAL_H
+#define YACA_INTERNAL_H
 
 #include <stddef.h>
 #include <openssl/ossl_typ.h>
@@ -103,4 +103,4 @@ struct yaca_key_evp_s *key_get_evp(const yaca_key_h key);
 void error_dump(const char *file, int line, const char *function, int code);
 #define ERROR_DUMP(code) error_dump(__FILE__, __LINE__, __func__, (code))
 
-#endif
+#endif /* YACA_INTERNAL_H */