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
12 ******************************************************************************/
15 type record of integer Ints with { encode "JSON" };
17 type set of universal charstring Strings;
21 type record of Ints Intses with { variant "JSON:extend(alias):(RoRoI)"; };
23 type record of bitstring Bits;
25 type record of hexstring Hexes;
27 type set of octetstring Octets with { variant "JSON: extend(comment):(set of octetstrings)"; };
29 type charstring Two__Strings[2];
31 type record of verdicttype Verdicts with { variant([-]) "JSON: extend (comment) : (verdict type)"; };
33 type integer PosInt (0..infinity);
35 type record of PosInt PosInts;
37 external function f_dec_ints(in octetstring os, out Ints x)
38 with { extension "prototype(fast) decode(JSON)" }