3 * Copyright (c) 2011 Jan Schmidt <thaytan@noraisin.net>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
26 #define AMF0_NUMBER_MARKER 0x0
27 #define AMF0_BOOLEAN_MARKER 0x1
28 #define AMF0_STRING_MARKER 0x2
29 #define AMF0_OBJECT_MARKER 0x3
30 #define AMF0_MOVIECLIP_MARKER 0x4 /* Reserved, not supported */
31 #define AMF0_NULL_MARKER 0x5
32 #define AMF0_UNDEFINED_MARKER 0x6
33 #define AMF0_REFERENCE_MARKER 0x7
34 #define AMF0_ECMA_ARRAY_MARKER 0x8
35 #define AMF0_OBJECT_END_MARKER 0x9
36 #define AMF0_STRICT_ARRAY_MARKER 0xA
37 #define AMF0_DATE_MARKER 0xB
38 #define AMF0_LONG_STRING_MARKER 0xC
39 #define AMF0_UNSUPPORTED_MARKER 0xD
40 #define AMF0_RECORDSET_MARKER 0xE /* Reserved, not supported */
41 #define AMF0_XML_DOCUMENT_MARKER 0xF
42 #define AMF0_TYPED_OBJECT_MARKER 0x10