Blame tools/fortopat.h

Packit 022b05
/*
Packit 022b05
 * fortopat.h --
Packit 022b05
 *
Packit 022b05
 *      Header file for format string to xsd pattern conversion.
Packit 022b05
 *
Packit 022b05
 * Copyright (c) 2001 J. Schoenwaelder, Technical University of Braunschweig.
Packit 022b05
 *           (c) 2002 T. Klie, Technical University of Braunschweig.
Packit 022b05
 *           (c) 2002 F. Strauss, Technical University of Braunschweig.
Packit 022b05
 *           (c) 2007 T. Klie, Technical University of Braunschweig.
Packit 022b05
 *	     (c) 2007 J. Schoenwaelder, Jacobs University Bremen.
Packit 022b05
 *
Packit 022b05
 * See the file "COPYING" for information on usage and redistribution
Packit 022b05
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Packit 022b05
 *
Packit 022b05
 * @(#) $Id: rea.h 7289 2007-09-28 06:48:22Z schoenw $
Packit 022b05
 */
Packit 022b05
Packit 022b05
#ifndef _FORTOPAT_H
Packit 022b05
#define _FORTOPAT_H
Packit 022b05
Packit 022b05
#include <config.h>
Packit 022b05
Packit 022b05
#include <stdio.h>
Packit 022b05
#include <stdlib.h>
Packit 022b05
#include <string.h>
Packit 022b05
#include <ctype.h>
Packit 022b05
#ifdef HAVE_WIN_H
Packit 022b05
#include "win.h"
Packit 022b05
#endif
Packit 022b05
Packit 022b05
#include "smi.h"
Packit 022b05
#include "smidump.h"
Packit 022b05
Packit 022b05
/*
Packit 022b05
 * Convert the octet string format string in fmt to an xsd pattern
Packit 022b05
 * with the ranges given by range. The pattern is returned as an
Packit 022b05
 * allocated string and must be xfree()d by the caller. On failure,
Packit 022b05
 * a NULL pointer will be returned.
Packit 022b05
 */
Packit 022b05
Packit 022b05
extern char* smiFormatToPattern(const char *format, SmiRange *range);
Packit 022b05
Packit 022b05
#endif