Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
src/strings/testdata/cantenbury/fields.c File Reference
#include <stdio.h>
#include "config.h"
#include "fields.h"
Include dependency graph for fields.c:

Defines

#define strchr   index

Functions

field_t *fieldread P ((FILE *file, char *delims, int flags, int maxf))
field_t *fieldmake P ((char *line, int allocated, char *delims, int flags, int maxf))
static field_t *fieldparse P ((field_t *fieldp, char *line, char *delims, int flags, int maxf))
static int fieldbackch P ((char *str, char **out, int strip))
int fieldwrite P ((FILE *file, field_t *fieldp, int delim))
void fieldfree P ((field_t *fieldp))
void free ()
char * malloc ()
char * realloc ()
char * strchr ()
int strlen ()
field_t * fieldread (FILE *file, char *delims, int flags, int maxf)
field_t * fieldmake (char *line, int allocated, char *delims, int flags, int maxf)
static field_t * fieldparse (field_t *fieldp, char *line, char *delims, int flags, int maxf)
static int fieldbackch (char *str, char **out, int strip)
int fieldwrite (FILE *file, field_t *fieldp, int delim)
void fieldfree (field_t *fieldp)

Variables

static char Rcs_Id [] = "$Id: fields.c,v 1.7 1994/01/06 05:26:37 geoff Exp $"
unsigned int field_field_inc = 20
unsigned int field_line_inc = 512

Define Documentation

#define strchr   index

Function Documentation

static int fieldbackch ( char *  str,
char **  out,
int  strip 
) [static]
void fieldfree ( field_t *  fieldp)
field_t* fieldmake ( char *  line,
int  allocated,
char *  delims,
int  flags,
int  maxf 
)
static field_t* fieldparse ( field_t *  fieldp,
char *  line,
char *  delims,
int  flags,
int  maxf 
) [static]
field_t* fieldread ( FILE *  file,
char *  delims,
int  flags,
int  maxf 
)
int fieldwrite ( FILE *  file,
field_t *  fieldp,
int  delim 
)
void free ( )
char* malloc ( )
field_t* fieldread P ( (FILE *file, char *delims, int flags, int maxf)  )
field_t* fieldmake P ( (char *line, int allocated, char *delims, int flags, int maxf)  )
int fieldwrite P ( (FILE *file, field_t *fieldp, int delim)  )
static int fieldbackch P ( (char *str, char **out, int strip)  ) [static]
static field_t* fieldparse P ( (field_t *fieldp, char *line, char *delims, int flags, int maxf)  ) [static]
void fieldfree P ( (field_t *fieldp)  )
char* realloc ( )
char* strchr ( )
int strlen ( )

Variable Documentation

unsigned int field_field_inc = 20
unsigned int field_line_inc = 512
char Rcs_Id[] = "$Id: fields.c,v 1.7 1994/01/06 05:26:37 geoff Exp $" [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines