X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=perl%2Fopenssl.h;h=2712324a302a3d60fa21e4cbfea67f02718080ad;hp=299d10e3722dac09b12e8fe98921536c08bbbb43;hb=86a921af06f52d1b16fbc8a76d8f0ff1950d1c8a;hpb=8073036dd62848b616c6a817c155c3255074ec83 diff --git a/perl/openssl.h b/perl/openssl.h index 299d10e372..2712324a30 100644 --- a/perl/openssl.h +++ b/perl/openssl.h @@ -58,31 +58,32 @@ #ifdef __cplusplus extern "C" { #endif + #include "EXTERN.h" #include "perl.h" #include "XSUB.h" + #ifdef __cplusplus } #endif -typedef struct datum_st - { - char *dptr; - int dsize; - } datum; +typedef struct datum_st { + char *dptr; + int dsize; +} datum; -#include "crypto.h" -#include "buffer.h" -#include "bio.h" -#include "evp.h" -#include "err.h" -#include "x509.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include -#if 0 -#define pr_name(name) printf("%s\n",name) -#define pr_name_d(name,p2) printf("%s %d\n",name,p2) -#define pr_name_dd(name,p2,p3) printf("%s %d %d\n",name,p2,p3) +#ifdef DEBUG +#define pr_name(name) printf("%s\n",name) +#define pr_name_d(name,p2) printf("%s %d\n",name,p2) +#define pr_name_dd(name,p2,p3) printf("%s %d %d\n",name,p2,p3) #else #define pr_name(name) #define pr_name_d(name,p2) @@ -90,7 +91,6 @@ typedef struct datum_st #endif SV *new_ref(char *type, char *obj, int mort); -int ex_new(char *obj,SV *data,CRYPTO_EX_DATA *ad,int idx,long argl,char *argp); -void ex_cleanup(char *obj,SV *data,CRYPTO_EX_DATA *ad,int idx, - long argl,char *argp); +int ex_new(char *obj, SV *data, CRYPTO_EX_DATA *ad, int idx, long argl, char *argp); +void ex_cleanup(char *obj, SV *data, CRYPTO_EX_DATA *ad, int idx, long argl, char *argp);