projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put local variables footer in all c, h files.
[idzebra-moved-to-github.git]
/
recctrl
/
regxread.c
diff --git
a/recctrl/regxread.c
b/recctrl/regxread.c
index
f6f74c8
..
5658f65
100644
(file)
--- a/
recctrl/regxread.c
+++ b/
recctrl/regxread.c
@@
-1,6
+1,6
@@
-/* $Id: regxread.c,v 1.55 2004-11-19 10:27:13 heikki Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: regxread.c,v 1.61 2006-05-10 08:13:30 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-20,14
+20,14
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
02111-1307, USA.
*/
-
#include <stdio.h>
#include <stdio.h>
+#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <yaz/tpath.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <yaz/tpath.h>
-#include <zebrautl.h>
+#include <idzebra/util.h>
#include <dfa.h>
#include <idzebra/recgrs.h>
#include <dfa.h>
#include <idzebra/recgrs.h>
@@
-1866,11
+1866,12
@@
void *grs_init(Res res, RecType recType)
}
}
-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);
{
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)
}
data1_node *grs_read_regx (struct grs_read_info *p)
@@
-1920,6
+1921,7
@@
static int retrieve_regx(void *clientData, struct recRetrieveCtrl *ctrl)
}
static struct recType regx_type = {
}
static struct recType regx_type = {
+ 0,
"grs.regx",
grs_init,
grs_config,
"grs.regx",
grs_init,
grs_config,
@@
-1986,6
+1988,7
@@
static int retrieve_tcl(void *clientData, struct recRetrieveCtrl *ctrl)
}
static struct recType tcl_type = {
}
static struct recType tcl_type = {
+ 0,
"grs.tcl",
grs_init,
grs_config,
"grs.tcl",
grs_init,
grs_config,
@@
-2010,3
+2013,11
@@
idzebra_filter
#endif
0,
};
#endif
0,
};
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+