📄 utils.p
字号:
/***************************************************************************
*
* 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: utils.p
*
* Identification: @(#) 1.7 utils.p
*
* Date: 1/12/94 11:51:41
*
****************************************************************************
*/
/*
* $Id: utils.p,v 1.10 1994/01/06 19:21:00 robert Exp $
*
* Copyrighted as an unpublished work.
* (c) Copyright Lachman Technology, Inc. 1993
* 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.
*/
/* sys/utils.p */
struct qband *swk_getbandp(struct queue *q,unsigned char band);
int swk_msgsize(struct msgb *mp);
int adjmsg(struct msgb *mp,int len);
struct msgb *allocb(int size,unsigned int pri);
struct queue *backq(struct queue *q);
int bcanput(struct queue *q,unsigned char band);
void swk_checkbufcall(void);
int bufcall(unsigned int size,int pri,void (*func)(),long arg);
int canput(struct queue *q);
struct msgb *copyb(struct msgb *mp);
struct msgb *copymsg(struct msgb *mp);
struct msgb *dupb(struct msgb *mp);
struct msgb *dupmsg(struct msgb *mp);
struct msgb *esballoc(unsigned char *base,int size,int pri,struct free_rtn *fr_rtn);
void flushband(struct queue *q,unsigned char band,int flag);
void flushq(struct queue *q,int flag);
void freeb(struct msgb *bp);
void freemsg(struct msgb *bp);
int (*getadmin(unsigned short mid))();
unsigned short getmid(char *name);
struct msgb *getq(struct queue *q);
int insq(struct queue *q,struct msgb *emp,struct msgb *mp);
int msgdsize(struct msgb *mp);
int pullupmsg(struct msgb *mp,int len);
int putbq(struct queue *q,struct msgb *mp);
int putctl(struct queue *q,int type);
int putctl1(struct queue *q,int type,int param);
int putq(struct queue *q,struct msgb *mp);
void qenable(struct queue *q);
void qreply(struct queue *q,struct msgb *bp);
int qsize(struct queue *q);
struct msgb *rmvb(struct msgb *mp,struct msgb *bp);
void rmvq(struct queue *q,struct msgb *mp);
int SH_STRLOG(short mid,short sid,char level,unsigned short flags,char *fmt,...);
#ifdef DEBUG
#define STRLOG strlog
#else /* DEBUG */
#undef STRLOG
#define STRLOG 0 && strlog
#endif /* DEBUG */
int strlog(short mid,short sid,char level,unsigned short flags,char *fmt,...);
int strqget (queue_t *q, qfields_t what, uchar band, long *valp);
int strqset (queue_t *q, qfields_t what, uchar band, long val);
int testb(int size,unsigned int pri);
void unbufcall(int id);
struct msgb *unlinkb(struct msgb *bp);
int swk_ckband(queue_t *q, int band);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -