?? strlog.h
字號:
/***************************************************************************
*
* Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
* All rights reserved. READY SYSTEMS' source code is an unpublished
* work and the use of a copyright notice does not imply otherwise.
* This source code contains confidential, trade secret material of
* READY SYSTEMS. Any attempt or participation in deciphering, decoding,
* reverse engineering or in any way altering the source code is
* strictly prohibited, unless the prior written consent of
* READY SYSTEMS is obtained.
*
*
* Module Name: %M%
*
* Identification: %Z% %I% %M%
*
* Date: %G% %U%
*
****************************************************************************
*/
/*
RCS header identifier - $Id: strlog.h,v 1.3 1993/10/05 18:09:15 robert Exp $
*/
/*
* Copyrighted as an unpublished work.
* (c) Copyright 1992-1993 Lachman Technology, Incorporated
* All rights reserved.
*
* RESTRICTED RIGHTS
*
* These programs are supplied under a license. They may be used,
* disclosed, and/or copied only as permitted under such license
* agreement. Any copy must contain the above copyright notice and
* this restricted rights notice. Use, copying, and/or disclosure
* of the programs is strictly prohibited unless otherwise provided
* in the license agreement.
*/
#ifndef __STRLOG_H
#define __STRLOG_H
#ifdef __cplusplus
extern "C" {
#endif
/*******************************************************************************
* maximum number of arguments allowed in a strlog call
*/
#define NLOGARGS 3
/*******************************************************************************
*
*/
struct log_ctl {
int mid; /* MID of the strlog message */
int sid; /* SID of the strlog message */
int level; /* level of the strlog message */
int flags; /* flags of the strlog message */
long running; /* time in ticks since booting */
long time; /* time in seconds since Jan. 1, 1970 */
int sequence; /* sequence number */
int priority; /* priority information */
};
struct trace_ids {
int ti_mid;
int ti_sid;
int ti_level;
};
/*******************************************************************************
* values for "flags"
*/
#define SL_WARN 0x01
#define SL_ERROR 0x02
#define SL_TRACE 0x04
#define SL_CONSOLE 0x08
#define SL_FATAL 0x10
#define SL_NOTIFY 0x20
/*******************************************************************************
* ic_cmd field values for the strioctl structure
*/
#define I_CONSLOG 0x0301
#define I_ERRLOG 0x0302
#define I_TRCLOG 0x0303
#ifdef __cplusplus
}
#endif
#endif /* __STRLOG_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -