-/* $Id: regxread.c,v 1.58 2005-03-30 09:25:24 adam Exp $
+/* $Id: regxread.c,v 1.60 2006-04-26 11:12:31 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
}
-void grs_config(void *clientData, Res res, const char *args)
+ZEBRA_RES grs_config(void *clientData, Res res, const char *args)
{
struct lexSpecs *specs = (struct lexSpecs *) clientData;
if (strlen(args) < sizeof(specs->type))
strcpy(specs->type, args);
+ return ZEBRA_OK;
}
data1_node *grs_read_regx (struct grs_read_info *p)
}
static struct recType regx_type = {
+ 0,
"grs.regx",
grs_init,
grs_config,
}
static struct recType tcl_type = {
+ 0,
"grs.tcl",
grs_init,
grs_config,