Merge pull request #29 from BotondBaranyi/master
[deliverable/titan.core.git] / compiler2 / encdec.h
CommitLineData
d44e3c4f 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 * Baranyi, Botond
11 * Forstner, Matyas
12 * Kovacs, Ferenc
13 * Raduly, Csaba
14 * Szabados, Kristof
15 * Szabo, Janos Zoltan – initial implementation
16 * Szalai, Gabor
17 *
18 ******************************************************************************/
970ed795
EL
19#ifndef ENCDEC_H
20#define ENCDEC_H
21
22#include "datatypes.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28 /** Generate code for enc-dec.
29 *
30 * @param[in] p_classname
31 * @param[out] p_classdef
32 * @param[out] p_classsrc
33 * @param[in] ber BER codec needed
34 * @param[in] raw RAW codec needed
35 * @param[in] text TEXT codec needed
36 * @param[in] xer XER codec needed
37 * @param[in] is_leaf
38 * */
39 void def_encdec(const char *p_classname,
40 char **p_classdef, char **p_classsrc,
41 boolean ber, boolean raw, boolean text, boolean xer,
42 boolean json, boolean is_leaf);
43 char *genRawFieldChecker(char *src,
44 const rawAST_coding_taglist *taglist, boolean is_equal);
45 char *genRawTagChecker(char *src, const rawAST_coding_taglist *taglist);
46
47#ifdef __cplusplus
48}; /* extern "C" */
49#endif
50
51#endif /* ENCDEC_H */
This page took 0.025908 seconds and 5 git commands to generate.