cser.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pvm3.h"
#include "cser.h"

Include dependency graph for cser.c:

Go to the source code of this file.

Functions

int _cser_serialize (FILE *file, const char *value, size_t size)
int cser_write_str (FILE *file, const char *name, const char *value)
int cser_write_num (FILE *file, const char *name, long num)
int cser_read (FILE *file, char *buffer, size_t blen, char **name, char **str_value, long *num_value)
int cser_pkstr (char *str)
char * cser_upkstr ()
int sendStruct (int tid, int tag, void *dataStruct, packData_t *packer)
int mcastStruct (int *tids, int tidListSize, int tag, void *dataStruct, packData_t *packer)
void * recvStruct (int tid, int tag, unpackData_t *unpacker)


Function Documentation

int _cser_serialize FILE *  file,
const char *  value,
size_t  size
 

Definition at line 12 of file cser.c.

Referenced by cser_write_str().

int cser_pkstr char *  str  ) 
 

Definition at line 115 of file cser.c.

int cser_read FILE *  file,
char *  buffer,
size_t  blen,
char **  name,
char **  str_value,
long *  num_value
 

Definition at line 48 of file cser.c.

char* cser_upkstr  ) 
 

Definition at line 124 of file cser.c.

int cser_write_num FILE *  file,
const char *  name,
long  num
 

Definition at line 42 of file cser.c.

int cser_write_str FILE *  file,
const char *  name,
const char *  value
 

Definition at line 33 of file cser.c.

References _cser_serialize().

Here is the call graph for this function:

int mcastStruct int *  tids,
int  tidListSize,
int  tag,
void *  dataStruct,
packData_t packer
 

Definition at line 144 of file cser.c.

void* recvStruct int  tid,
int  tag,
unpackData_t unpacker
 

Definition at line 152 of file cser.c.

int sendStruct int  tid,
int  tag,
void *  dataStruct,
packData_t packer
 

Definition at line 136 of file cser.c.


Generated on Tue Jan 17 19:19:33 2006 for Void by  doxygen 1.4.6