summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2000-06-01 06:07:19 +0000
committerGeoff Thorpe <geoff@openssl.org>2000-06-01 06:07:19 +0000
commit7edd20916a35735f809bccd6d595c209814b1c2e (patch)
treeb3e4141c52bcc0e5a3b9126cde30aaebbb27291b /crypto/bio
parente41c8d6ad4d1ffab51865d8cf90baff108bbe4a1 (diff)
"make update" + stripping the type-specific stack functions out of
libeay.num and ssleay.num.
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bio.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index 2e25516cf3..24d1bc8da9 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -262,6 +262,37 @@ struct bio_st
};
DECLARE_STACK_OF(BIO)
+/* This block of defines is updated by a perl script, please do not touch! */
+#ifndef DEBUG_SAFESTACK
+ #define sk_BIO_new(a) sk_new((int (*) \
+ (const char * const *, const char * const *))(a))
+ #define sk_BIO_new_null() sk_new_null()
+ #define sk_BIO_free(a) sk_free(a)
+ #define sk_BIO_num(a) sk_num(a)
+ #define sk_BIO_value(a,b) ((BIO *) \
+ sk_value((a),(b)))
+ #define sk_BIO_set(a,b,c) ((BIO *) \
+ sk_set((a),(b),(char *)(c)))
+ #define sk_BIO_zero(a) sk_zero(a)
+ #define sk_BIO_push(a,b) sk_push((a),(char *)(b))
+ #define sk_BIO_unshift(a,b) sk_unshift((a),(b))
+ #define sk_BIO_find(a,b) sk_find((a), (char *)(b))
+ #define sk_BIO_delete(a,b) ((BIO *) \
+ sk_delete((a),(b)))
+ #define sk_BIO_delete_ptr(a,b) ((BIO *) \
+ sk_delete_ptr((a),(char *)(b)))
+ #define sk_BIO_insert(a,b,c) sk_insert((a),(char *)(b),(c))
+ #define sk_BIO_set_cmp_func(a,b) ((int (*) \
+ (const BIO * const *,const BIO * const *)) \
+ sk_set_cmp_func((a),(int (*) \
+ (const char * const *, const char * const *))(b)))
+ #define sk_BIO_dup(a) sk_dup(a)
+ #define sk_BIO_pop_free(a,b) sk_pop_free((a),(void (*)(void *))(b))
+ #define sk_BIO_shift(a) ((BIO *)sk_shift(a))
+ #define sk_BIO_pop(a) ((BIO *)sk_pop(a))
+ #define sk_BIO_sort(a) sk_sort(a)
+#endif /* !DEBUG_SAFESTACK */
+/* End of perl script block, you may now edit :-) */
typedef struct bio_f_buffer_ctx_struct
{