| 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // Copyright (c) 2000-2015 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 | #ifndef _ASN1_HH |
| 9 | #define _ASN1_HH |
| 10 | |
| 11 | /** |
| 12 | * Call this before using ASN stuff. |
| 13 | */ |
| 14 | extern void asn1_init(); |
| 15 | /** |
| 16 | * Call this after finishing using ASN stuff. |
| 17 | */ |
| 18 | extern void asn1_free(); |
| 19 | /** |
| 20 | * Parse the file given by \a filename. |
| 21 | */ |
| 22 | extern int asn1_parse_file(const char* filename, boolean generate_code); |
| 23 | /** |
| 24 | * Set to non-zero to print lof of parsing debug messages to stderr. |
| 25 | */ |
| 26 | extern int asn1_yydebug; |
| 27 | |
| 28 | /* |
| 29 | |
| 30 | #include "../AST.hh" |
| 31 | |
| 32 | extern unsigned verb_level=7; |
| 33 | extern int force_overwrite, parse_only, generate_BER; |
| 34 | extern Common::Modules *modules; |
| 35 | |
| 36 | */ |
| 37 | |
| 38 | #endif // _ASN1_HH |