asn_octs.h

来自「ATM 网 络 协 议 实 现 源 代 码」· C头文件 代码 · 共 54 行

H
54
字号
/* * asn_octs.h * * MS 92 * Copyright (C) 1992 Michael Sample and the University of British Columbia * * This library is free software; you can redistribute it and/or * modify it provided that this copyright/license information is retained * in original form. * * If you modify this file, you must clearly indicate your changes. * * This source code is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */#ifndef _asn_octs_h_#define _asn_octs_h_typedef struct AsnOcts{    unsigned long int octetLen;    char* octs;} AsnOcts;#define ASNOCTS_PRESENT(aocts) ((aocts)->octs != NULL)AsnLen BEncAsnOcts PROTO((BUF_TYPE b, AsnOcts* data));void BDecAsnOcts PROTO((BUF_TYPE b, AsnOcts* result, AsnLen* bytesDecoded,                       ENV_TYPE env));AsnLen BEncAsnOctsContent PROTO((BUF_TYPE b, AsnOcts* octs));void BDecAsnOctsContent PROTO((BUF_TYPE b,                               AsnLen len,                               AsnTag tagId,                               AsnOcts* result,                               AsnLen* bytesDecoded,                               ENV_TYPE env));void FreeAsnOcts PROTO((AsnOcts* o));void PrintAsnOcts PROTO((FILE* f, AsnOcts *o, unsigned short int indent));int AsnOctsEquiv PROTO((AsnOcts* o1, AsnOcts* o2));#endif /* conditional include */

⌨️ 快捷键说明

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