1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
/* PARSER.H (c) Copyright Leland Lucius, 2001 */
/* Simple parameter parser */
#if !defined( _PARSER_H_ )
#define _PARSER_H_
#include "hercules.h"
#ifndef _PARSER_C_
#ifndef _HUTIL_DLL_
#define PAR_DLL_IMPORT DLL_IMPORT
#else /* _HUTIL_DLL_ */
#define PAR_DLL_IMPORT extern
#endif /* _HUTIL_DLL_ */
#else
#define PAR_DLL_IMPORT DLL_EXPORT
#endif
typedef struct _parser
{
char *key;
char *fmt;
} PARSER;
PAR_DLL_IMPORT int parser( PARSER *, char *, void * );
#endif /* !defined( _PARSER_H_ ) */
|