]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/compiler/core/oid.h
Security-54.1.7.tar.gz
[apple/security.git] / SecuritySNACCRuntime / compiler / core / oid.h
1 /*
2 * compiler/core/oid.h - routine for building an ENC_OID from an arc number list
3 *
4 * Copyright (C) 1991, 1992 Michael Sample
5 * and the University of British Columbia
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * $Header: /cvs/root/Security/SecuritySNACCRuntime/compiler/core/Attic/oid.h,v 1.1 2001/06/20 21:27:58 dmitch Exp $
13 * $Log: oid.h,v $
14 * Revision 1.1 2001/06/20 21:27:58 dmitch
15 * Adding missing snacc compiler files.
16 *
17 * Revision 1.1.1.1 1999/03/16 18:06:51 aram
18 * Originals from SMIME Free Library.
19 *
20 * Revision 1.2 1994/10/08 03:48:51 rj
21 * since i was still irritated by cpp standing for c++ and not the C preprocessor, i renamed them to cxx (which is one known suffix for C++ source files). since the standard #define is __cplusplus, cplusplus would have been the more obvious choice, but it is a little too long.
22 *
23 * Revision 1.1 1994/08/28 09:49:27 rj
24 * first check-in. for a list of changes to the snacc-1.1 distribution please refer to the ChangeLog.
25 *
26 */
27
28
29 int OidArcNameToNum PROTO ((char *name));
30 unsigned long EncodedOidLen PROTO ((OID *oid));
31 void BuildEncodedOid PROTO ((OID *oid, AsnOid *result));
32 void UnbuildEncodedOid PROTO ((AsnOid *eoid, OID **result));