⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logging.h

📁 是一个手机功能的模拟程序
💻 H
字号:
/*
 * Copyright (C) Ericsson Mobile Communications AB, 2000.
 * Licensed to AU-System AB.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and AU-System AB, and may be used and copied
 * only in accordance with the terms of the said agreement.
 *
 * Neither Ericsson Mobile Communications AB nor AU-System AB
 * assumes any responsibility or liability for any errors or inaccuracies in
 * this software, or any consequential, incidental or indirect damage arising
 * out of the use of the Generic WAP Client software.
 */
/*
 * Logging.h
 *
 * Created by Anders Edenbrandt, Thu Oct 21 08:55:58 1999.
 *
 *
 * Revision history:
 *   981021, AED:  Created
 *   000119, AED:  New function, LogClose; new argument to LogInit.
 *
 */
#ifndef _Logging_h
#define _Logging_h

#ifdef LOG_WTLS
#include "wtlsdef.h"
#include "logcodes.h"

#define LOG_OUTBOUND   1
#define LOG_INCOMING   2

void
wtls_log_init (char *filename);

void
wtls_log_close (void);

void
wtls_log_msg (int indentationLevel, char *fmt, ...);

void
wtls_log_record (wtls_record_t *rec, BYTE direction);

void
wtls_log_record_brief (wtls_record_t *rec);

void
wtls_log_bytevector (BYTE *buf, UINT16 buflen);

#endif
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -