mirror of
https://github.com/estkme-group/lpac
synced 2025-10-06 01:50:31 +02:00
* Caller can pass FILE* to control where the debug log will output. * Caller can pass NULL to disable debug output. * If the isatty(fp) == true, libeuicc will output color log. Co-authored-by: Coelacanthus <uwu@coelacanthus.name>
17 lines
512 B
C
17 lines
512 B
C
#pragma once
|
|
|
|
#include "derutil.h"
|
|
#include "interface.private.h"
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void euicc_apdu_request_print(FILE *fp, const struct apdu_request *req, uint32_t req_len);
|
|
|
|
void euicc_apdu_response_print(FILE *fp, const struct apdu_response *resp);
|
|
|
|
void euicc_apdu_unhandled_tag_print(FILE *fp, const struct euicc_derutil_node *node);
|
|
|
|
void euicc_http_request_print(FILE *fp, const char *url, const char *tx);
|
|
|
|
void euicc_http_response_print(FILE *fp, uint32_t rcode, const char *rx);
|