~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/serialise/edge_conn.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #include <stdio.h>
  2 #include <stdlib.h>
  3 #include <tina/sys.h>
  4 #include <tina/sysfuncs.h>
  5 #include <tina/math.h>
  6 #include <tina/vision.h>
  7 
  8 void    ts_free(void *data);
  9 void    ts_print(void *data);
 10 List   *ts_deserialise(List * lg, void **data);
 11 List   *ts_serialise(List * lg, void *d);
 12 
 13 void    Edge_conn_ts_print(Edge_conn * e)
 14 {
 15     mprintf("struct edge_conn{unsigned short <count>%hu,"
 16             "struct edgel *<c1>0x%x, struct edgel *<c2>0x%x,"
 17             "struct list *<conns>0x%x}edge_conn",
 18             e->count, e->c1, e->c2, e->conns);
 19 }
 20 
 21 List   *Edge_conn_ts_serialise(List * lg, Edge_conn * e)
 22 {
 23     lg = ts_serialise(lg, e);
 24     return lg;
 25 }
 26 
 27 List   *Edge_conn_ts_deserialise(List * lg, Edge_conn ** e)
 28 {
 29 
 30     lg = ts_deserialise(lg, (void **) e);
 31     return lg;
 32 }
 33 
 34 void    Edge_conn_ts_free(List * e)
 35 {
 36     ts_free(e);
 37 }
 38 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.