summaryrefslogtreecommitdiff
path: root/nettle-meta.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2017-10-23 22:05:32 +0200
committerNiels Möller <nisse@lysator.liu.se>2017-10-23 22:05:32 +0200
commit54e1450a0ebdd24cdf6234741e5275bb3d83ebda (patch)
treebc4fc0fdb1e7fa1aa5f74a2d140326f4a68f380d /nettle-meta.h
parentb84dff15db04301e1858e0f80ca1c3bb874b88cc (diff)
downloadnettle-54e1450a0ebdd24cdf6234741e5275bb3d83ebda.tar.gz
Undo added underscores on public symbols.
Diffstat (limited to 'nettle-meta.h')
-rw-r--r--nettle-meta.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/nettle-meta.h b/nettle-meta.h
index 3c13e9b2..0d16a2b8 100644
--- a/nettle-meta.h
+++ b/nettle-meta.h
@@ -60,8 +60,11 @@ struct nettle_cipher
nettle_cipher_func *decrypt;
};
+/* FIXME: Rename with leading underscore, but keep current name (and
+ size!) for now, for ABI compatibility with nettle-3.1, soname
+ libnettle.so.6. */
/* null-terminated list of ciphers implemented by this version of nettle */
-extern const struct nettle_cipher * const _nettle_ciphers[];
+extern const struct nettle_cipher * const nettle_ciphers[];
const struct nettle_cipher * const *
#ifdef __GNUC__
@@ -122,8 +125,11 @@ struct nettle_hash
(nettle_hash_digest_func *) name##_digest \
}
+/* FIXME: Rename with leading underscore, but keep current name (and
+ size!) for now, for ABI compatibility with nettle-3.1, soname
+ libnettle.so.6. */
/* null-terminated list of digests implemented by this version of nettle */
-extern const struct nettle_hash * const _nettle_hashes[];
+extern const struct nettle_hash * const nettle_hashes[];
const struct nettle_hash * const *
#ifdef __GNUC__
@@ -174,9 +180,12 @@ struct nettle_aead
nettle_hash_digest_func *digest;
};
+/* FIXME: Rename with leading underscore, but keep current name (and
+ size!) for now, for ABI compatibility with nettle-3.1, soname
+ libnettle.so.6. */
/* null-terminated list of aead constructions implemented by this
version of nettle */
-extern const struct nettle_aead * const _nettle_aeads[];
+extern const struct nettle_aead * const nettle_aeads[];
const struct nettle_aead * const *
#ifdef __GNUC__
@@ -243,8 +252,11 @@ struct nettle_armor
(nettle_armor_decode_final_func *) name##_decode_final, \
}
+/* FIXME: Rename with leading underscore, but keep current name (and
+ size!) for now, for ABI compatibility with nettle-3.1, soname
+ libnettle.so.6. */
/* null-terminated list of armor schemes implemented by this version of nettle */
-extern const struct nettle_armor * const _nettle_armors[];
+extern const struct nettle_armor * const nettle_armors[];
const struct nettle_armor * const *
#ifdef __GNUC__