Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

Marshal.c File Reference

#include <string.h>
#include "debug.h"
#include "types.h"
#include "Tag.h"
#include "Endian.h"
#include "Memory.h"
#include "Marshal.h"

Include dependency graph for Marshal.c:

Include dependency graph

Go to the source code of this file.

Functions

u8marshal_PutLong (u8 *msg, u32 value)
u8marshal_PutLongC (u8 *msg, u32 value)
u8marshal_PutString (u8 *msg, char *value)
u8marshal_PutStringC (u8 *msg, char *value)
u8marshal_PutBinary (u8 *msg, u8 *value, u32 len)
u8marshal_PutBinaryC (u8 *msg, u8 *value, u32 len)
u8marshal_PutTaglist (u8 *msg, tag *taglist)
u8marshal_PutTaglistC (u8 *msg, tag *taglist)
u32 marshal_GetLong (u8 **msg)
u32 marshal_GetLongC (u8 **msg)
char * marshal_GetString (u8 **msg)
char * marshal_GetStringC (u8 **msg)
u8marshal_GetBinary (u8 **msg, u32 *len)
u8marshal_GetBinaryC (u8 **msg, u32 *len)
u32 marshal_GetBinaryLen (u8 **msg)
u32 marshal_GetBinaryLenC (u8 **msg)
tagmarshal_GetTaglist (u8 **msg)
tagmarshal_GetTaglistC (u8 **msg)
void marshal_FreeTaglist (tag *taglist)
int marshal_GetStringMsgLen (char *str)
int marshal_GetTaglistMsgLen (tag *taglist)


Function Documentation

void marshal_FreeTaglist tag   taglist
 

Definition at line 441 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, mem_free, tag::Name, NULL, TAG_DONE, tag_GetNextTag, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, and TAGT_VECTOR.

u8* marshal_GetBinary u8 **    msg,
u32   len
[inline]
 

Definition at line 272 of file Marshal.c.

References debug_Begin, debug_End, mem_malloc, NULL, u32, and u8.

u8* marshal_GetBinaryC u8 **    msg,
u32   len
[inline]
 

Definition at line 291 of file Marshal.c.

References debug_Begin, debug_End, endian_FromAlien32, mem_malloc, NULL, u32, and u8.

u32 marshal_GetBinaryLen u8 **    msg
 

Definition at line 312 of file Marshal.c.

References debug_Begin, debug_End, u32, and u8.

u32 marshal_GetBinaryLenC u8 **    msg
 

Definition at line 324 of file Marshal.c.

References debug_Begin, debug_End, endian_FromAlien32, u32, and u8.

u32 marshal_GetLong u8 **    msg [inline]
 

Definition at line 204 of file Marshal.c.

References debug_Begin, debug_End, u32, and u8.

u32 marshal_GetLongC u8 **    msg [inline]
 

Definition at line 217 of file Marshal.c.

References debug_Begin, debug_End, endian_FromAlien32, u32, and u8.

char* marshal_GetString u8 **    msg [inline]
 

Definition at line 232 of file Marshal.c.

References debug_Begin, debug_End, mem_malloc, NULL, u32, and u8.

char* marshal_GetStringC u8 **    msg [inline]
 

Definition at line 251 of file Marshal.c.

References debug_Begin, debug_End, endian_FromAlien32, mem_malloc, NULL, u32, and u8.

int marshal_GetStringMsgLen char *    str [inline]
 

Definition at line 466 of file Marshal.c.

References debug_Begin, debug_End, and NULL.

tag* marshal_GetTaglist u8 **    msg
 

Definition at line 339 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, marshal_GetBinary, marshal_GetLong, marshal_GetString, mem_malloc, tag::Name, NULL, TAG_DONE, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, TAGT_VECTOR, u32, and u8.

tag* marshal_GetTaglistC u8 **    msg
 

Definition at line 389 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, marshal_GetBinaryC, marshal_GetLongC, marshal_GetStringC, mem_malloc, tag::Name, NULL, TAG_DONE, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, TAGT_VECTOR, u32, and u8.

int marshal_GetTaglistMsgLen tag   taglist
 

Definition at line 480 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, marshal_GetBinaryMsgLen, marshal_GetStringMsgLen, tag::Name, TAG_DONE, tag_GetNextTag, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, and TAGT_VECTOR.

u8* marshal_PutBinary u8   msg,
u8   value,
u32    len
[inline]
 

Definition at line 92 of file Marshal.c.

References debug_Begin, debug_End, u32, and u8.

u8* marshal_PutBinaryC u8   msg,
u8   value,
u32    len
[inline]
 

Definition at line 106 of file Marshal.c.

References debug_Begin, debug_End, endian_ToAlien32, u32, and u8.

u8* marshal_PutLong u8   msg,
u32    value
[inline]
 

Definition at line 36 of file Marshal.c.

References debug_Begin, debug_End, u32, and u8.

u8* marshal_PutLongC u8   msg,
u32    value
[inline]
 

Definition at line 46 of file Marshal.c.

References debug_Begin, debug_End, endian_ToAlien32, u32, and u8.

u8* marshal_PutString u8   msg,
char *    value
[inline]
 

Definition at line 58 of file Marshal.c.

References debug_Begin, debug_End, u32, and u8.

u8* marshal_PutStringC u8   msg,
char *    value
[inline]
 

Definition at line 74 of file Marshal.c.

References debug_Begin, debug_End, endian_ToAlien32, u32, and u8.

u8* marshal_PutTaglist u8   msg,
tag   taglist
 

Definition at line 122 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, marshal_PutBinary, marshal_PutLong, marshal_PutString, tag::Name, TAG_DONE, tag_GetNextTag, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, TAGT_VECTOR, u32, and u8.

u8* marshal_PutTaglistC u8   msg,
tag   taglist
 

Definition at line 163 of file Marshal.c.

References tag::Data, debug_Begin, debug_End, marshal_PutBinaryC, marshal_PutLongC, marshal_PutStringC, tag::Name, TAG_DONE, tag_GetNextTag, TAGT_PIXELS, TAGT_RECT, TAGT_STRING, TAGT_VECTOR, u32, and u8.


Generated on Tue Jan 7 12:12:33 2003 for THEGUI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002