Home | History | Annotate | Download | only in bio

Lines Matching refs:bio

1 /* crypto/bio/bio_cb.c */
63 #include <openssl/bio.h>
66 long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp,
69 BIO *b;
78 BIO_snprintf(buf,sizeof buf,"BIO[%08lX]:",(unsigned long)bio);
84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name);
87 if (bio->method->type & BIO_TYPE_DESCRIPTOR)
89 bio->num,(unsigned long)argi,
90 bio->method->name,bio->num);
93 bio->num,(unsigned long)argi,
94 bio->method->name);
97 if (bio->method->type & BIO_TYPE_DESCRIPTOR)
99 bio->num,(unsigned long)argi,
100 bio->method->name,bio->num);
103 bio->num,(unsigned long)argi,
104 bio->method->name);
107 BIO_snprintf(p,p_maxlen,"puts() - %s\n",bio->method->name);
110 BIO_snprintf(p,p_maxlen,"gets(%lu) - %s\n",(unsigned long)argi,bio->method->name);
113 BIO_snprintf(p,p_maxlen,"ctrl(%lu) - %s\n",(unsigned long)argi,bio->method->name);
131 BIO_snprintf(p,p_maxlen,"bio callback - unknown type (%d)\n",cmd);
135 b=(BIO *)bio->cb_arg;