X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Frecctrl.c;h=0acba7d92f92d1bf0c7ab389b3ec9ceea217f48b;hb=deff57cfa9d9b39c4a4f1c9b82a64c6e61d821a4;hp=6678a00a96550e5f8229414f3f511cd47fdf8431;hpb=93d44a21d1aa585bb7f68d23a7590fc38ccb62a6;p=idzebra-moved-to-github.git diff --git a/recctrl/recctrl.c b/recctrl/recctrl.c index 6678a00..0acba7d 100644 --- a/recctrl/recctrl.c +++ b/recctrl/recctrl.c @@ -1,6 +1,6 @@ -/* $Id: recctrl.c,v 1.15 2005-01-05 00:10:19 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: recctrl.c,v 1.18 2005-03-30 09:25:24 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -29,7 +29,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #endif #include -#include +#include #include struct recTypeClass { @@ -50,6 +50,9 @@ struct recTypes { struct recTypeInstance *entries; }; +#ifdef IDZEBRA_STATIC_GRS_SGML + extern RecType idzebra_filter_grs_sgml[]; +#endif #ifdef IDZEBRA_STATIC_TEXT extern RecType idzebra_filter_text[]; #endif @@ -80,8 +83,9 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) const char *module_path = res_get_def(res, "modulePath", DEFAULT_MODULE_PATH); - extern RecType idzebra_filter_grs_sgml[]; +#ifdef IDZEBRA_STATIC_GRS_SGML recTypeClass_add (&rts, idzebra_filter_grs_sgml, nmem, 0); +#endif #ifdef IDZEBRA_STATIC_TEXT recTypeClass_add (&rts, idzebra_filter_text, nmem, 0); #endif