Woolz Image Processing Version 1.4.0
bibFileAlloc.c File Reference

Functions for allocation and freeing of the bibtex based record and field data structures. More...

Functions

BibFileRecordBibFileRecordMake (char *name, char *id, BibFileField *field)
 Given record name and id strings and a field pointer a new record is created.
BibFileFieldBibFileFieldMake (char *name, char *value, BibFileField *next)
 Given field name and value strings and a field pointer for the next field, a new field is created.
BibFileFieldBibFileFieldMakeVa (char *name, char *value,...)
 Given a list of field name and value string pairs which is terminated by a NULL. A hierarchy of new fields is created.
BibFileFieldBibFileFieldJoin (BibFileField *field0, BibFileField *field1,...)
 Given a NULL terminated varargs list of fields, these are joined by filling in the appropriate next fields.
void BibFileRecordFree (BibFileRecord **record)
 Free's the given record and sets it to NULL.
void BibFileFieldFree (BibFileField **field)
 Recursively free's the given field and sets it to NULL.

Detailed Description

Functions for allocation and freeing of the bibtex based record and field data structures.

Author:
Bill Hill
Date:
March 1999
Version:
Id:
306c9638019301cd57f7ff1d9fadf5df6bdf4304
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.