OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
b_dump.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include "bio_lcl.h"

Go to the source code of this file.

Macros

#define TRUNCATE
 
#define DUMP_WIDTH   16
 
#define DUMP_WIDTH_LESS_INDENT(i)   (DUMP_WIDTH-((i-(i>6?6:i)+3)/4))
 

Functions

int BIO_dump_cb (int(*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len)
 
int BIO_dump_indent_cb (int(*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len, int indent)
 
int BIO_dump_fp (FILE *fp, const char *s, int len)
 
int BIO_dump_indent_fp (FILE *fp, const char *s, int len, int indent)
 
int BIO_dump (BIO *bp, const char *s, int len)
 
int BIO_dump_indent (BIO *bp, const char *s, int len, int indent)
 

Macro Definition Documentation

#define DUMP_WIDTH   16

Definition at line 68 of file b_dump.c.

#define DUMP_WIDTH_LESS_INDENT (   i)    (DUMP_WIDTH-((i-(i>6?6:i)+3)/4))

Definition at line 69 of file b_dump.c.

#define TRUNCATE

Definition at line 67 of file b_dump.c.

Function Documentation

int BIO_dump ( BIO bp,
const char *  s,
int  len 
)

Definition at line 179 of file b_dump.c.

int BIO_dump_cb ( int(*)(const void *data, size_t len, void *u cb,
void u,
const char *  s,
int  len 
)

Definition at line 71 of file b_dump.c.

int BIO_dump_fp ( FILE *  fp,
const char *  s,
int  len 
)

Definition at line 165 of file b_dump.c.

int BIO_dump_indent ( BIO bp,
const char *  s,
int  len,
int  indent 
)

Definition at line 183 of file b_dump.c.

int BIO_dump_indent_cb ( int(*)(const void *data, size_t len, void *u cb,
void u,
const char *  s,
int  len,
int  indent 
)

Definition at line 77 of file b_dump.c.

int BIO_dump_indent_fp ( FILE *  fp,
const char *  s,
int  len,
int  indent 
)

Definition at line 169 of file b_dump.c.