3f9f88b7987ece6c2abbfc3017334e26f7f76535
[deliverable/titan.core.git] / compiler2 / encdec.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2014 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 ENCDEC_H
9 #define ENCDEC_H
10
11 #include "datatypes.h"
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 /** Generate code for enc-dec.
18 *
19 * @param[in] p_classname
20 * @param[out] p_classdef
21 * @param[out] p_classsrc
22 * @param[in] ber BER codec needed
23 * @param[in] raw RAW codec needed
24 * @param[in] text TEXT codec needed
25 * @param[in] xer XER codec needed
26 * @param[in] is_leaf
27 * */
28 void def_encdec(const char *p_classname,
29 char **p_classdef, char **p_classsrc,
30 boolean ber, boolean raw, boolean text, boolean xer,
31 boolean json, boolean is_leaf);
32 char *genRawFieldChecker(char *src,
33 const rawAST_coding_taglist *taglist, boolean is_equal);
34 char *genRawTagChecker(char *src, const rawAST_coding_taglist *taglist);
35
36 #ifdef __cplusplus
37 }; /* extern "C" */
38 #endif
39
40 #endif /* ENCDEC_H */
This page took 0.033141 seconds and 5 git commands to generate.