diff options
author | Geoff Thorpe <geoff@openssl.org> | 2000-06-01 08:07:19 +0200 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2000-06-01 08:07:19 +0200 |
commit | 7edd20916a35735f809bccd6d595c209814b1c2e (patch) | |
tree | b3e4141c52bcc0e5a3b9126cde30aaebbb27291b /crypto/bio/bio.h | |
parent | This change will cause builds (by default) to not use different STACK (diff) | |
download | openssl-7edd20916a35735f809bccd6d595c209814b1c2e.tar.xz openssl-7edd20916a35735f809bccd6d595c209814b1c2e.zip |
"make update" + stripping the type-specific stack functions out of
libeay.num and ssleay.num.
Diffstat (limited to 'crypto/bio/bio.h')
-rw-r--r-- | crypto/bio/bio.h | 31 |
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 { |