siliconBrainSpecification.h
/******************************************** -*-c-*- ***********************************************/
/*                                                                                                  */
/* siliconBrainSpecification.h:                                                                     */
/*                                                                                                  */
/****************************************************************************************************/

#ifndef siliconBrainSpecification_alreadyIncluded
#define siliconBrainSpecification_alreadyIncluded

/****************************************************************************************************/
/*                                                                                                  */
/*     Copyright (C) 2003, 2004 Joerg Kunze                                                         */
/*                                                                                                  */
/*     This file is part of siliconBrain.                                                           */
/*                                                                                                  */
/*     siliconBrain 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.                                                          */
/*                                                                                                  */
/*     siliconBrain 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                    */
/*                                                                                                  */
/****************************************************************************************************/
#include <stdbool.h>

// char *siliconBrainRelease       = "$siliconBrainRelease: 0.2.3 $";
// char *siliconBrainRcsIdentifier = "$Id: siliconBrainSpecification.h,v 1.16 2004/12/14 23:31:26 joerg Exp $";
// char *siliconBrainSaveStamp     = "$siliconBrainSaveStamp: 2004/12/14 22:30:27, Joerg Kunze$";

static const int sbProbe = 42235;

/****************************************************************************************************/
/*                                                                                                  */
/* typedef:                                                                                         */
/*                                                                                                  */
/****************************************************************************************************/
typedef enum {
   optionFlag,
   optionValue
} OptionType;

typedef struct {
   char       *name;
   char       *title;
   char       *shortDescription;
   char       *longDescription;
   const char *release;
   const char *rcsIdentifier;
   const char *saveStamp;
   char       *commandOpen;
   char       *commandClose;
   char       *fileOpen;
   char       *fileClose;
} Specification;

/****************************************************************************************************/
/*                                                                                                  */
/* prototype:                                                                                       */
/*                                                                                                  */
/****************************************************************************************************/
extern void formatHeader(
   const char          *comment,
   const Specification *specification,
   const Specification *generatorSpecification,
   const char          *versionFormat
);

#endif

/*
$Log: siliconBrainSpecification.h,v $
Revision 1.16  2004/12/14 23:31:26  joerg
published for new release 0.2.3

Revision 1.15  2004/12/14 23:17:05  joerg
published for new release 0.2.2

Revision 1.14  2004/12/14 22:42:23  joerg
allFiles: all sources have a Log CVS keyword at the end now.

*/