diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1999-05-04 10:15:02 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1999-05-04 10:15:02 +0000 |
commit | dee75ecf9cdc1f607308d13415f410bbb025609e (patch) | |
tree | 5e9406fc70348efb306689251ce2d027d9e3cd01 /crypto/stack/safestack.h | |
parent | 20b85fdd7644aa940e50a158a1b2c8010bb36443 (diff) |
Add missing sk_<type>_unshift() function to safestack.h
Diffstat (limited to 'crypto/stack/safestack.h')
-rw-r--r-- | crypto/stack/safestack.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 48e695fb27..3c9fdba658 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -72,6 +72,7 @@ type *sk_##type##_value(const STACK_OF(type) *sk,int n); \ type *sk_##type##_set(STACK_OF(type) *sk,int n,type *v); \ void sk_##type##_zero(STACK_OF(type) *sk); \ int sk_##type##_push(STACK_OF(type) *sk,type *v); \ +int sk_##type##_unshift(STACK_OF(type) *sk,type *v); \ int sk_##type##_find(STACK_OF(type) *sk,type *v); \ type *sk_##type##_delete(STACK_OF(type) *sk,int n); \ void sk_##type##_delete_ptr(STACK_OF(type) *sk,type *v); \ @@ -100,6 +101,8 @@ void sk_##type##_zero(STACK_OF(type) *sk) \ { sk_zero((STACK *)sk); } \ int sk_##type##_push(STACK_OF(type) *sk,type *v) \ { return sk_push((STACK *)sk,(char *)v); } \ +int sk_##type##_unshift(STACK_OF(type) *sk,type *v) \ + { return sk_unshift((STACK *)sk,(char *)v); } \ int sk_##type##_find(STACK_OF(type) *sk,type *v) \ { return sk_find((STACK *)sk,(char *)v); } \ type *sk_##type##_delete(STACK_OF(type) *sk,int n) \ |