/*
 * parselib.h
 *
 * Convenienct functions to parse config file lines.
 *
 * History:
 *      27/01/2014 Creation
 *
 * Author: Dario Rodriguez dario@softhome.net
 * This file is licensed under the terms of the GNU LGPL v2+
 */

#ifndef PARSELIB_H
#define PARSELIB_H

char *field_int(char *ptr, int *value);
char *field_long(char *ptr, long *value);
char *field_quotedstr(char *ptr, char *str, long strsize);
char *field_unquotedstr(char *ptr, char *str, long strsize);
char *field_hexint(char *ptr, int *value);

#endif