ucserial.h

Go to the documentation of this file.
00001 /*
00002  *  ucserial.h - Serialization of usecode objects
00003  *
00004  *  Copyright (C) 2002  The Exult Team
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019  */
00020 
00021 #ifndef _UCSERIAL_H
00022 #define _UCSERIAL_H
00023 
00024 #include "objserial.h"
00025 
00026 class Usecode_value;
00027 
00028 extern int Stack_frame_out
00029   (
00030   int fd,       // Socket.
00031   int functionid,
00032   int ip,
00033   int call_chain,
00034   int call_depth,
00035   int eventid,
00036   int caller_item,
00037   int num_args,
00038   int num_vars,
00039   Usecode_value* locals
00040   );
00041 extern bool Stack_frame_in
00042   (
00043   unsigned char *data,    // Data that was read.
00044   int datalen,      // Length of data.
00045   int& functionid,
00046   int& ip,
00047   int& call_chain,
00048   int& call_depth,
00049   int& eventid,
00050   int& caller_item,
00051   int& num_args,
00052   int& num_vars,
00053   Usecode_value*& locals
00054   );
00055 
00056 
00057 #endif

Generated on Mon Jul 9 14:42:52 2007 for ExultEngine by  doxygen 1.5.1