Woolz Image Processing
Version 1.7.5
|
Types and constants for the bibtex based file syntax used for serial section data, .... More...
Go to the source code of this file.
Data Structures | |
struct | _BibFileField |
struct | BibFileRecord |
Typedefs | |
typedef struct _BibFileField | BibFileField |
Enumerations | |
enum | BibFileError { BIBFILE_ER_NONE = 0, BIBFILE_ER_MALLOC, BIBFILE_ER_SYNTAX, BIBFILE_ER_WRITE, BIBFILE_ER_READ, BIBFILE_ER_EOF } |
Functions | |
BibFileRecord * | BibFileRecordMake (char *name, char *id, BibFileField *field) |
Given record name and id strings and a field pointer a new record is created. More... | |
BibFileField * | BibFileFieldMake (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. More... | |
BibFileField * | BibFileFieldMakeVa (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. More... | |
BibFileField * | BibFileFieldJoin (BibFileField *field0, BibFileField *field1,...) |
Given a NULL terminated varargs list of fields, these are joined by filling in the appropriate next fields. More... | |
void | BibFileRecordFree (BibFileRecord **record) |
Free's the given record and sets it to NULL. More... | |
void | BibFileFieldFree (BibFileField **field) |
Recursively free's the given field and sets it to NULL. More... | |
char * | BibFileStrDup (const char *s1) |
BibFileError | BibFileRecordRead (BibFileRecord **record, char **eMsg, FILE *fP) |
Read a bibtex style record from the given stream and allocate storage as required. More... | |
BibFileError | BibFileRecordWrite (FILE *fP, char **eMsg, BibFileRecord *record) |
Write a bibtex style record to the given stream. More... | |
BibFileError | BibFileFieldRead (BibFileField **field, char **eMsg, int *endFlag, FILE *fP) |
Read a bibtex style field from the given stream and allocate storage as required. More... | |
BibFileError | BibFileFieldWrite (FILE *fP, char **eMsg, BibFileField *field) |
Write a bibtex style field to the given stream. More... | |
BibFileError | BibFileEscapeRestrictedChar (char *pString, char **outString) |
Replace any special character with ESC+spacial char. More... | |
BibFileError | BibFileUnEscapeRestrictedChar (char *pString, char **outString) |
Replace any special caracter with ESC+spacial char. More... | |
int | BibFileFieldParseFmt (BibFileField *topField, void *value, char *fmt, char *name,...) |
Given the top most field from which to parse fields and a NULL terminated varargs list of field value pointers, format strings (for sscanf) and field name strings. All fields are parsed for all name strings. Parsed values are allowed to overwrite those previously parsed. Note that string values are parsed using a char ** and are AlcStrDup()'d. More... | |
Types and constants for the bibtex based file syntax used for serial section data, ....
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.
typedef struct _BibFileField BibFileField |
enum BibFileError |
char* BibFileStrDup | ( | const char * | s1 | ) |