apps/speed: replace list of #define by enums declarations.
[openssl.git] / engines / e_afalg_err.h
index bd1dd1545496ef1c1293fb660e2016745f8fac09..557df5d4017fb0ea8d949fb7ec0676f3971aa788 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -8,21 +8,27 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_AFALGERR_H
-# define HEADER_AFALGERR_H
+#ifndef OSSL_ENGINES_E_AFALG_ERR_H
+# define OSSL_ENGINES_E_AFALG_ERR_H
 
-# define AFALGerr(f, r) ERR_AFALG_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
+# define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
 
 
 /*
  * AFALG function codes.
  */
-# define AFALG_F_AFALG_CHK_PLATFORM                       100
-# define AFALG_F_AFALG_CREATE_SK                          101
-# define AFALG_F_AFALG_INIT_AIO                           102
-# define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION     103
-# define AFALG_F_AFALG_SET_KEY                            104
-# define AFALG_F_BIND_AFALG                               105
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define AFALG_F_AFALG_CHK_PLATFORM                       0
+#  define AFALG_F_AFALG_CREATE_SK                          0
+#  define AFALG_F_AFALG_INIT_AIO                           0
+#  define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION     0
+#  define AFALG_F_AFALG_SET_KEY                            0
+#  define AFALG_F_BIND_AFALG                               0
+# endif
 
 /*
  * AFALG reason codes.