• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List
  • File Members

amfutf8.h

Go to the documentation of this file.
00001 // 
00002 //   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
00003 //   Foundation, Inc
00004 // 
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or
00008 // (at your option) any later version.
00009 // 
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 
00019 #ifndef _AMFUTF8_H_
00020 #define _AMFUTF8_H_
00021 
00022 #include <vector>
00023 
00024 namespace cygnal
00025 {
00026 
00027 // This represents an regular UTF8 type in an AMF message
00028 typedef struct {
00029     short length;
00030     char  *data;
00031 } amfutf8_t;
00032 
00033 // This represents an Long UTF8 type in an AMF message
00034 typedef struct {
00035     int length;
00036     char  *data;
00037 } amflongutf8_t;
00038 
00039 typedef std::vector<char> utf8_t;
00040 typedef std::vector<char> longutf8_t;
00041 
00042 } // end of amf namespace
00043 
00044 // end of _AMFUTF8_H_
00045 #endif

Generated on Fri Mar 16 2012 15:46:08 for Gnash by  doxygen 1.7.1