CORE: ossl_namemap_add_names(): new function to add multiple names
[openssl.git] / include / openssl / buffererr.h
index 9007586d604a5111eaff98bd0446b7d84e61f3a5..1a5de3a65deaf959ead15805152a5b061b928a47 100644 (file)
@@ -1,30 +1,39 @@
 /*
  * 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 OpenSSL license (the "License").  You may not use
+ * 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
  * in the file LICENSE in the source distribution or at
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_BUFERR_H
-# define HEADER_BUFERR_H
+#ifndef OPENSSL_BUFFERERR_H
+# define OPENSSL_BUFFERERR_H
+# pragma once
 
-# ifdef  __cplusplus
-extern "C" {
+# include <openssl/macros.h>
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define HEADER_BUFERR_H
 # endif
-int ERR_load_BUF_strings(void);
+
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
 # ifdef  __cplusplus
-}
+extern "C"
 # endif
+int ERR_load_BUF_strings(void);
 
 /*
  * BUF function codes.
  */
-# define BUF_F_BUF_MEM_GROW                               100
-# define BUF_F_BUF_MEM_GROW_CLEAN                         105
-# define BUF_F_BUF_MEM_NEW                                101
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define BUF_F_BUF_MEM_GROW                               0
+#  define BUF_F_BUF_MEM_GROW_CLEAN                         0
+#  define BUF_F_BUF_MEM_NEW                                0
+# endif
 
 /*
  * BUF reason codes.