Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libdigidoc/openssl/crypto/err/err.c
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "cryptlib.h"
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/err.h>

'defines'

#define err_clear_data(p, i)
#define err_clear(p, i)

Funciones

void ERR_put_error (int lib, int func, int reason, const char *file, int line)
void ERR_clear_error (void)
unsigned long ERR_get_error (void)
unsigned long ERR_get_error_line (const char **file, int *line)
unsigned long ERR_get_error_line_data (const char **file, int *line, const char **data, int *flags)
unsigned long ERR_peek_error (void)
unsigned long ERR_peek_error_line (const char **file, int *line)
unsigned long ERR_peek_error_line_data (const char **file, int *line, const char **data, int *flags)
unsigned long ERR_peek_last_error (void)
unsigned long ERR_peek_last_error_line (const char **file, int *line)
unsigned long ERR_peek_last_error_line_data (const char **file, int *line, const char **data, int *flags)
void ERR_set_error_data (char *data, int flags)
void ERR_add_error_data (int num,...)
int ERR_set_mark (void)
int ERR_pop_to_mark (void)

Documentación de los 'defines'

#define err_clear (   p,
 
)
Valor:
do { \
        (p)->err_flags[i]=0; \
        (p)->err_buffer[i]=0; \
        err_clear_data(p,i); \
        (p)->err_file[i]=NULL; \
        (p)->err_line[i]= -1; \
        } while(0)
#define err_clear_data (   p,
 
)
Valor:
do { \
        if (((p)->err_data[i] != NULL) && \
                (p)->err_data_flags[i] & ERR_TXT_MALLOCED) \
                {  \
                OPENSSL_free((p)->err_data[i]); \
                (p)->err_data[i]=NULL; \
                } \
        (p)->err_data_flags[i]=0; \
        } while(0)

Documentación de las funciones

void ERR_add_error_data ( int  num,
  ... 
)
void ERR_clear_error ( void  )
unsigned long ERR_get_error ( void  )
unsigned long ERR_get_error_line ( const char **  file,
int line 
)
unsigned long ERR_get_error_line_data ( const char **  file,
int line,
const char **  data,
int flags 
)
unsigned long ERR_peek_error ( void  )
unsigned long ERR_peek_error_line ( const char **  file,
int line 
)
unsigned long ERR_peek_error_line_data ( const char **  file,
int line,
const char **  data,
int flags 
)
unsigned long ERR_peek_last_error ( void  )
unsigned long ERR_peek_last_error_line ( const char **  file,
int line 
)
unsigned long ERR_peek_last_error_line_data ( const char **  file,
int line,
const char **  data,
int flags 
)
int ERR_pop_to_mark ( void  )
void ERR_put_error ( int  lib,
int  func,
int  reason,
const char *  file,
int  line 
)
void ERR_set_error_data ( char *  data,
int  flags 
)
int ERR_set_mark ( void  )
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'