libisdn
|
#include <stdio.h>
#include <stdarg.h>
#include <strings.h>
#include "asn1.h"
#include "asn1_common.h"
#include "asn1_log.h"
Go to the source code of this file.
Functions | |
const char * | asn1_loglevel_name (const asn1_loglevel_t id) |
int | asn1_set_loglevel (const asn1_loglevel_t level) |
int | asn1_set_loglevel_by_name (const char *name) |
asn1_loglevel_t | asn1_get_loglevel (void) |
const char * | asn1_get_loglevel_name (void) |
void | asn1_log (const int level, const char *fmt,...) |
void | asn1_error (const char *fmt,...) |
void | asn1_info (const char *fmt,...) |
void | asn1_debug (const char *fmt,...) |
void | asn1_trace (const char *fmt,...) |
void asn1_debug | ( | const char * | fmt, |
... | |||
) |
Definition at line 106 of file asn1_log.c.
References ASN1_LOG_DEBUG.
Referenced by _asn1_free(), _asn1_malloc(), asn1_decode(), asn1_encode(), and ber_header_size().
void asn1_error | ( | const char * | fmt, |
... | |||
) |
Definition at line 90 of file asn1_log.c.
References ASN1_LOG_ERROR.
Referenced by ____asn1_ptr_check(), _asn1_free(), asn1_decode(), asn1_encode(), and asn1_print().
asn1_loglevel_t asn1_get_loglevel | ( | void | ) |
Definition at line 65 of file asn1_log.c.
const char* asn1_get_loglevel_name | ( | void | ) |
Definition at line 70 of file asn1_log.c.
References asn1_loglevel_name().
void asn1_info | ( | const char * | fmt, |
... | |||
) |
Definition at line 98 of file asn1_log.c.
References ASN1_LOG_INFO.
void asn1_log | ( | const int | level, |
const char * | fmt, | ||
... | |||
) |
Definition at line 82 of file asn1_log.c.
const char* asn1_loglevel_name | ( | const asn1_loglevel_t | id | ) |
Definition at line 36 of file asn1_log.c.
References ARRAY_SIZE.
Referenced by asn1_get_loglevel_name().
int asn1_set_loglevel | ( | const asn1_loglevel_t | level | ) |
Definition at line 45 of file asn1_log.c.
References ASN1_LOG_MAX.
int asn1_set_loglevel_by_name | ( | const char * | name | ) |
Definition at line 54 of file asn1_log.c.
References ARRAY_SIZE.
void asn1_trace | ( | const char * | fmt, |
... | |||
) |
Definition at line 114 of file asn1_log.c.
References ASN1_LOG_TRACE.
Referenced by asn1_decode(), asn1_encode(), and asn1_print().
const asn1_loglevel_t id |
Definition at line 23 of file asn1_log.c.
Referenced by asn1_class_name(), Q931DialectRegister(), Q931MesgErrorsAddIE(), Q931MesgErrorsInit(), and Q931Umes_Generic().
const char* name |
Definition at line 24 of file asn1_log.c.
Referenced by Q931DialectSetName(), and Q931Dmes_Generic().