drake  1.0.0
src/link.c File Reference
#include <stdlib.h>
#include <string.h>
#include <drake/link.h>
#include <drake/platform.h>
#include <pelib/pair.c>
#include <pelib/iterator.c>
#include <pelib/map.c>
#include <pelib/array.c>
Include dependency graph for link.c:

Go to the source code of this file.


#define link_str_chk
#define PAIR_KEY_T   string
#define PAIR_VALUE_T   link_tp
#define ITERATOR_T   pair_t(string, link_tp)
#define MAP_KEY_T   string
#define MAP_VALUE_T   link_tp
#define ARRAY_T   link_tp


link_tp *pelib_alloc_struct() link_tp ()
link_tp *pelib_alloc() link_tp (void *aux)
int pelib_init() link_tp (link_tp *link)
int pelib_copy() link_tp (link_tp src, link_tp *dst)
int pelib_compare() link_tp (link_tp l1, link_tp l2)
FILE *pelib_printf() link_tp (FILE *stream, link_tp link)
FILE *pelib_printf_detail() link_tp (FILE *stream, link_tp link, int level)
size_t pelib_fwrite() link_tp (link_tp link, FILE *file)
size_t pelib_fread() link_tp (link_tp *link, FILE *file)
char *pelib_string() link_tp (link_tp link)
char *pelib_string_detail() link_tp (link_tp link, int level)

Define Documentation

#define ARRAY_T   link_tp

Definition at line 213 of file link.c.

#define ITERATOR_T   pair_t(string, link_tp)

Definition at line 206 of file link.c.

#define link_str_chk

Definition at line 121 of file link.c.

#define MAP_KEY_T   string

Definition at line 209 of file link.c.

#define MAP_VALUE_T   link_tp

Definition at line 210 of file link.c.

#define PAIR_KEY_T   string

Definition at line 202 of file link.c.

#define PAIR_VALUE_T   link_tp

Definition at line 203 of file link.c.

Function Documentation

link_tp* pelib_alloc_struct() link_tp ( )

Definition at line 29 of file link.c.

link_tp* pelib_alloc() link_tp ( void *  aux)

Definition at line 35 of file link.c.

int pelib_init() link_tp ( link_tp link)

Definition at line 41 of file link.c.

int pelib_copy() link_tp ( link_tp  src,
link_tp dst 

Definition at line 63 of file link.c.

int pelib_compare() link_tp ( link_tp  l1,
link_tp  l2 

Definition at line 77 of file link.c.

FILE* pelib_printf() link_tp ( FILE *  stream,
link_tp  link 

Definition at line 83 of file link.c.

FILE* pelib_printf_detail() link_tp ( FILE *  stream,
link_tp  link,
int  level 

Definition at line 95 of file link.c.

size_t pelib_fwrite() link_tp ( link_tp  link,
FILE *  file 

Definition at line 107 of file link.c.

size_t pelib_fread() link_tp ( link_tp link,
FILE *  file 

Definition at line 114 of file link.c.

char* pelib_string() link_tp ( link_tp  link)

Definition at line 123 of file link.c.

char* pelib_string_detail() link_tp ( link_tp  link,
int  level 

Definition at line 130 of file link.c.