亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? asn1.h

?? eCos操作系統源碼
?? H
字號:
//==========================================================================////      ./lib/current/include/asn1.h//////==========================================================================//####ECOSGPLCOPYRIGHTBEGIN####// -------------------------------------------// This file is part of eCos, the Embedded Configurable Operating System.// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.//// eCos is free software; you can redistribute it and/or modify it under// the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 or (at your option) any later version.//// eCos 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.  See the GNU General Public License// for more details.//// You should have received a copy of the GNU General Public License along// with eCos; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.//// As a special exception, if other files instantiate templates or use macros// or inline functions from this file, or you compile this file and link it// with other works to produce a work based on this file, this file does not// by itself cause the resulting work to be covered by the GNU General Public// License. However the source code for this file must still be made available// in accordance with section (3) of the GNU General Public License.//// This exception does not invalidate any other reasons why a work based on// this file might be covered by the GNU General Public License.//// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.// at http://sources.redhat.com/ecos/ecos-license/// -------------------------------------------//####ECOSGPLCOPYRIGHTEND####//####UCDSNMPCOPYRIGHTBEGIN####//// -------------------------------------------//// Portions of this software may have been derived from the UCD-SNMP// project,  <http://ucd-snmp.ucdavis.edu/>  from the University of// California at Davis, which was originally based on the Carnegie Mellon// University SNMP implementation.  Portions of this software are therefore// covered by the appropriate copyright disclaimers included herein.//// The release used was version 4.1.2 of May 2000.  "ucd-snmp-4.1.2"// -------------------------------------------////####UCDSNMPCOPYRIGHTEND####//==========================================================================//#####DESCRIPTIONBEGIN####//// Author(s):    hmt// Contributors: hmt// Date:         2000-05-30// Purpose:      Port of UCD-SNMP distribution to eCos.// Description:  //              ////####DESCRIPTIONEND####////==========================================================================/********************************************************************       Copyright 1989, 1991, 1992 by Carnegie Mellon University			  Derivative Work -Copyright 1996, 1998, 1999, 2000 The Regents of the University of California			 All Rights ReservedPermission to use, copy, modify and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appears in all copies andthat both that copyright notice and this permission notice appear insupporting documentation, and that the name of CMU and The Regents ofthe University of California not be used in advertising or publicitypertaining to distribution of the software without specific writtenpermission.CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALLWARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL CMU ORTHE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL,INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTINGFROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OFCONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR INCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.*********************************************************************/#ifndef ASN1_H#define ASN1_H#ifdef __cplusplusextern "C" {#endif#define PARSE_PACKET	0#define DUMP_PACKET	1/* * Definitions for Abstract Syntax Notation One, ASN.1 * As defined in ISO/IS 8824 and ISO/IS 8825 * * *//***********************************************************	Copyright 1988, 1989 by Carnegie Mellon University                      All Rights ReservedPermission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear in supporting documentation, and that the name of CMU not beused in advertising or publicity pertaining to distribution of thesoftware without specific, written prior permission.  CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDINGALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALLCMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ORANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THISSOFTWARE.******************************************************************/#ifndef EIGHTBIT_SUBIDStypedef u_long	oid;#define MAX_SUBID   0xFFFFFFFF#elsetypedef u_char	oid;#define MAX_SUBID   0xFF#endif#define MIN_OID_LEN	    2#define MAX_OID_LEN	    128	/* max subid's in an oid */#ifndef MAX_NAME_LEN                      /* conflicts with some libraries */#define MAX_NAME_LEN	    MAX_OID_LEN   /* obsolete. use MAX_OID_LEN */#endif#define ASN_BOOLEAN	    ((u_char)0x01)#define ASN_INTEGER	    ((u_char)0x02)#define ASN_BIT_STR	    ((u_char)0x03)#define ASN_OCTET_STR	    ((u_char)0x04)#define ASN_NULL	    ((u_char)0x05)#define ASN_OBJECT_ID	    ((u_char)0x06)#define ASN_SEQUENCE	    ((u_char)0x10)#define ASN_SET		    ((u_char)0x11)#define ASN_UNIVERSAL	    ((u_char)0x00)#define ASN_APPLICATION     ((u_char)0x40)#define ASN_CONTEXT	    ((u_char)0x80)#define ASN_PRIVATE	    ((u_char)0xC0)#define ASN_PRIMITIVE	    ((u_char)0x00)#define ASN_CONSTRUCTOR	    ((u_char)0x20)#define ASN_LONG_LEN	    (0x80)#define ASN_EXTENSION_ID    (0x1F)#define ASN_BIT8	    (0x80)#define IS_CONSTRUCTOR(byte)	((byte) & ASN_CONSTRUCTOR)#define IS_EXTENSION_ID(byte)	(((byte) & ASN_EXTENSION_ID) == ASN_EXTENSION_ID)struct counter64 {    u_long high;    u_long low;};#ifdef OPAQUE_SPECIAL_TYPEStypedef struct counter64 integer64;typedef struct counter64 unsigned64;/* The BER inside an OPAQUE is an context specific with a value of 48 (0x30)   plus the "normal" tag. For a Counter64, the tag is 0x46 (i.e., an   applications specific tag with value 6). So the value for a 64 bit   counter is 0x46 + 0x30, or 0x76 (118 base 10). However, values   greater than 30 can not be encoded in one octet. So the first octet   has the class, in this case context specific (ASN_CONTEXT), and   the special value (i.e., 31) to indicate that the real value follows   in one or more octets. The high order bit of each following octet   indicates if the value is encoded in additional octets. A high order   bit of zero, indicates the last. For this "hack", only one octet   will be used for the value. */  /* first octet of the tag */#define ASN_OPAQUE_TAG1 (ASN_CONTEXT | ASN_EXTENSION_ID)/* base value for the second octet of the tag - the   second octet was the value for the tag */#define ASN_OPAQUE_TAG2 ((u_char)0x30) #define ASN_OPAQUE_TAG2U ((u_char)0x2f) /* second octet of tag for union *//* All the ASN.1 types for SNMP "should have been" defined in this file,   but they were not. (They are defined in snmp_impl.h)  Thus, the tag for   Opaque and Counter64 is defined, again, here with a different names. */#define ASN_APP_OPAQUE (ASN_APPLICATION | 4)#define ASN_APP_COUNTER64 (ASN_APPLICATION | 6)#define ASN_APP_FLOAT (ASN_APPLICATION | 8)#define ASN_APP_DOUBLE (ASN_APPLICATION | 9)#define ASN_APP_I64 (ASN_APPLICATION | 10)#define ASN_APP_U64 (ASN_APPLICATION | 11)#define ASN_APP_UNION (ASN_PRIVATE | 1)		/* or ASN_PRIV_UNION ? *//* value for Counter64 */#define ASN_OPAQUE_COUNTER64 (ASN_OPAQUE_TAG2 + ASN_APP_COUNTER64)/* max size of BER encoding of Counter64 */#define ASN_OPAQUE_COUNTER64_MX_BER_LEN 12  /* value for Float */#define ASN_OPAQUE_FLOAT (ASN_OPAQUE_TAG2 + ASN_APP_FLOAT)/* size of BER encoding of Float */#define ASN_OPAQUE_FLOAT_BER_LEN 7    /* value for Double */#define ASN_OPAQUE_DOUBLE (ASN_OPAQUE_TAG2 + ASN_APP_DOUBLE)/* size of BER encoding of Double */#define ASN_OPAQUE_DOUBLE_BER_LEN 11  /* value for Integer64 */#define ASN_OPAQUE_I64 (ASN_OPAQUE_TAG2 + ASN_APP_I64)/* max size of BER encoding of Integer64 */#define ASN_OPAQUE_I64_MX_BER_LEN 11/* value for Unsigned64 */#define ASN_OPAQUE_U64 (ASN_OPAQUE_TAG2 + ASN_APP_U64) /* max size of BER encoding of Unsigned64 */#define ASN_OPAQUE_U64_MX_BER_LEN 12#endif /* OPAQUE_SPECIAL_TYPES */#define ASN_PRIV_INCL_RANGE (ASN_PRIVATE | 2)#define ASN_PRIV_EXCL_RANGE (ASN_PRIVATE | 3)#define ASN_PRIV_DELEGATED  (ASN_PRIVATE | 4)#define IS_DELEGATED(x)   ((x) == ASN_PRIV_DELEGATED)int	 asn_check_packet (u_char *, size_t);u_char	*asn_parse_int (u_char *, size_t *, u_char *, long *, size_t);u_char	*asn_build_int (u_char *, size_t *, u_char, long *, size_t);u_char	*asn_parse_unsigned_int (u_char *, size_t *, u_char *, u_long *, size_t);u_char	*asn_build_unsigned_int (u_char *, size_t *, u_char, u_long *, size_t);u_char	*asn_parse_string (u_char *, size_t *, u_char *, u_char *, size_t *);u_char	*asn_build_string (u_char *, size_t *, u_char, const u_char *, size_t);u_char	*asn_parse_header (u_char *, size_t *, u_char *);u_char	*asn_parse_sequence(u_char *, size_t *, u_char *,		 u_char	expected_type,	/* must be this type */		 const char *estr);	/* error message prefix */u_char	*asn_build_header (u_char *, size_t *, u_char, size_t);u_char	*asn_build_sequence (u_char *, size_t *, u_char, size_t);u_char	*asn_parse_length (u_char *, u_long *);u_char	*asn_build_length (u_char *, size_t *, size_t);u_char	*asn_parse_objid (u_char *, size_t *, u_char *, oid *, size_t *);u_char	*asn_build_objid (u_char *, size_t *, u_char, oid *, size_t);u_char	*asn_parse_null (u_char *, size_t *, u_char *);u_char	*asn_build_null (u_char *, size_t *, u_char);u_char	*asn_parse_bitstring (u_char *, size_t *, u_char *, u_char *, size_t *);u_char	*asn_build_bitstring (u_char *, size_t *, u_char, u_char *, size_t);u_char	*asn_parse_unsigned_int64 (u_char *, size_t *, u_char *,                                       struct counter64 *, size_t);u_char	*asn_build_unsigned_int64 (u_char *, size_t *, u_char,                                       struct counter64 *, size_t);u_char	*asn_parse_signed_int64 (u_char *, size_t *, u_char *,                                       struct counter64 *, size_t);u_char	*asn_build_signed_int64 (u_char *, size_t *, u_char,                                       struct counter64 *, size_t);u_char	*asn_build_float (u_char *, size_t *, u_char, float *,                              size_t);u_char	*asn_parse_float (u_char *, size_t *, u_char *, float *, size_t);u_char	*asn_build_double (u_char *, size_t *, u_char, double *,                               size_t);u_char	*asn_parse_double (u_char *, size_t *, u_char *, double *, size_t);#ifdef __cplusplus}#endif#endif /* ASN1_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区视频在线观看| 日韩二区三区在线观看| 欧美美女网站色| 成人av网在线| 久久国产免费看| 午夜影院久久久| 中文字幕乱码亚洲精品一区| 欧美一区二视频| 91久久精品一区二区| 国产成人综合网| 免费观看在线综合| 亚洲美女淫视频| 欧美激情一区二区三区不卡| 欧美一区二区三区在线电影| 91国产视频在线观看| 国产成人av自拍| 精品一区二区三区在线观看| 污片在线观看一区二区| 一区二区三区在线不卡| 国产精品久久久久久一区二区三区| 日韩一级黄色片| 欧美日韩精品二区第二页| 91在线视频免费观看| 成人黄色在线视频| 成人做爰69片免费看网站| 国产精品一区二区果冻传媒| 老司机精品视频导航| 日韩va欧美va亚洲va久久| 午夜视黄欧洲亚洲| 亚洲国产精品久久一线不卡| 亚洲免费观看视频| 亚洲精品乱码久久久久久黑人| 中国av一区二区三区| 亚洲国产精华液网站w | 久久亚洲二区三区| 日韩欧美激情在线| 精品久久99ma| 精品福利二区三区| 国产视频一区二区在线| 国产欧美久久久精品影院| 国产欧美日韩精品在线| 欧美国产精品一区二区| 国产日韩欧美高清在线| 国产精品久久久久久户外露出 | 欧美一级国产精品| 日韩精品一区二区三区中文精品| 欧美久久免费观看| 91麻豆精品91久久久久同性| 欧美精品久久99| 欧美一区二区三级| 精品噜噜噜噜久久久久久久久试看 | 国产日本欧洲亚洲| 日本一区二区三区在线不卡| 国产精品乱人伦中文| 中文字幕制服丝袜一区二区三区| 亚洲日本欧美天堂| 亚洲成av人片| 国产在线播放一区二区三区| 成人永久免费视频| 91麻豆免费视频| 宅男噜噜噜66一区二区66| 日韩精品一区二区三区swag | 亚洲综合成人在线| 美女脱光内衣内裤视频久久网站| 国产资源在线一区| 99国产精品国产精品久久| 欧美日韩亚洲综合一区| 日韩天堂在线观看| 国产精品天美传媒沈樵| 亚洲欧美另类久久久精品| 视频一区二区三区在线| 国产精品自在欧美一区| 色88888久久久久久影院野外 | 久久日韩粉嫩一区二区三区| 亚洲欧美怡红院| 日韩黄色小视频| 国产白丝精品91爽爽久久| 欧美在线视频全部完| 欧美成人精品1314www| 国产精品久久久久桃色tv| 婷婷成人激情在线网| 国产露脸91国语对白| 欧美视频你懂的| 久久久噜噜噜久噜久久综合| 亚洲激情六月丁香| 国产一区二区看久久| 欧美色倩网站大全免费| 国产欧美一区在线| 日韩精品视频网站| av电影在线观看不卡| 精品欧美一区二区久久| 亚洲自拍与偷拍| 大胆亚洲人体视频| 日韩视频一区二区三区在线播放| 亚洲天堂精品在线观看| 精品一区二区免费看| 欧洲av一区二区嗯嗯嗯啊| 欧美国产精品一区| 久久福利视频一区二区| 欧美综合欧美视频| 一色桃子久久精品亚洲| 国产精品一级片| 日韩午夜在线观看视频| 亚洲丰满少妇videoshd| 99久久精品国产观看| 久久精品亚洲国产奇米99| 日本成人中文字幕| 欧美影院午夜播放| 亚洲手机成人高清视频| 国产成人精品免费在线| 精品久久国产97色综合| 日本不卡123| 欧美午夜精品理论片a级按摩| 中文av一区二区| 国产精品一区二区久激情瑜伽 | 欧美成人一区二区三区在线观看| 亚洲综合视频在线| 成人免费精品视频| 欧美激情一区在线| 成人在线综合网站| 国产精品你懂的在线欣赏| 国产麻豆视频精品| 久久精品亚洲国产奇米99| 韩国视频一区二区| 精品国产三级电影在线观看| 免费观看成人av| 日韩女优毛片在线| 久久精品国产77777蜜臀| 91麻豆精品国产91久久久久 | 中文字幕人成不卡一区| 不卡视频一二三| 亚洲欧美视频一区| 欧洲人成人精品| 午夜久久久久久| 91精品国产色综合久久| 麻豆精品国产传媒mv男同| 欧美一卡2卡三卡4卡5免费| 日韩精品成人一区二区在线| 91精品国产乱码| 久久国产乱子精品免费女| 精品剧情在线观看| 国产精品中文字幕欧美| 日本一区二区免费在线观看视频| 国产成人精品一区二区三区四区| 国产三级精品在线| 99久久99久久精品免费看蜜桃| 日韩精品一二三| 欧美一区二区在线观看| 国产一区二区三区最好精华液| 国产亲近乱来精品视频| 99久久er热在这里只有精品15| 亚洲欧美日韩系列| 欧美精品tushy高清| 九色综合国产一区二区三区| 久久久久久久久久美女| jlzzjlzz亚洲日本少妇| 一区二区三区鲁丝不卡| 欧美精品丝袜中出| 国产一区二区三区综合| 亚洲欧洲日韩在线| 91精选在线观看| 粉嫩嫩av羞羞动漫久久久| 亚洲一区二区欧美| 久久综合色天天久久综合图片| 成人av影视在线观看| 亚洲成人综合在线| 久久综合九色欧美综合狠狠 | 日韩视频在线永久播放| 国产精品12区| 亚洲一区二区三区四区五区中文| 日韩一二三四区| 色综合天天综合在线视频| 奇米精品一区二区三区在线观看一| 久久久久国产成人精品亚洲午夜| 91网站最新网址| 久久99精品国产麻豆婷婷| 国产精品天干天干在观线| 欧美日韩精品系列| 成人午夜激情视频| 免费在线观看一区| 亚洲另类中文字| www一区二区| 欧美日韩在线三区| 菠萝蜜视频在线观看一区| 麻豆91免费观看| 一区2区3区在线看| 国产校园另类小说区| 91精品国产欧美一区二区成人| 成人久久18免费网站麻豆| 美女一区二区三区在线观看| 日韩美女视频一区| 久久综合久久综合亚洲| 在线观看视频一区二区欧美日韩| 国产麻豆日韩欧美久久| 天堂午夜影视日韩欧美一区二区| 国产欧美久久久精品影院| 欧美电影免费观看高清完整版在 | 在线精品视频一区二区| 国产v日产∨综合v精品视频| 日本vs亚洲vs韩国一区三区二区|