| 1 | /****************************************************************************** |
| 2 | * Copyright (c) 2000-2016 Ericsson Telecom AB |
| 3 | * All rights reserved. This program and the accompanying materials |
| 4 | * are made available under the terms of the Eclipse Public License v1.0 |
| 5 | * which accompanies this distribution, and is available at |
| 6 | * http://www.eclipse.org/legal/epl-v10.html |
| 7 | * |
| 8 | * Contributors: |
| 9 | * Balasko, Jeno |
| 10 | * Forstner, Matyas |
| 11 | * Szabo, Janos Zoltan – initial implementation |
| 12 | * |
| 13 | ******************************************************************************/ |
| 14 | #ifndef _ASN1_HH |
| 15 | #define _ASN1_HH |
| 16 | |
| 17 | /** |
| 18 | * Call this before using ASN stuff. |
| 19 | */ |
| 20 | extern void asn1_init(); |
| 21 | /** |
| 22 | * Call this after finishing using ASN stuff. |
| 23 | */ |
| 24 | extern void asn1_free(); |
| 25 | /** |
| 26 | * Parse the file given by \a filename. |
| 27 | */ |
| 28 | extern int asn1_parse_file(const char* filename, boolean generate_code); |
| 29 | /** |
| 30 | * Set to non-zero to print lof of parsing debug messages to stderr. |
| 31 | */ |
| 32 | extern int asn1_yydebug; |
| 33 | |
| 34 | /* |
| 35 | |
| 36 | #include "../AST.hh" |
| 37 | |
| 38 | extern unsigned verb_level=7; |
| 39 | extern int force_overwrite, parse_only, generate_BER; |
| 40 | extern Common::Modules *modules; |
| 41 | |
| 42 | */ |
| 43 | |
| 44 | #endif // _ASN1_HH |