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
/
csvread.c
diff --git
a/recctrl/csvread.c
b/recctrl/csvread.c
index
db681e7
..
6e2b064
100644
(file)
--- a/
recctrl/csvread.c
+++ b/
recctrl/csvread.c
@@
-1,4
+1,4
@@
-/* $Id: csvread.c,v 1.3 2005-12-06 15:36:38 adam Exp $
+/* $Id: csvread.c,v 1.5 2006-05-10 08:13:28 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-66,7
+66,7
@@
struct csv_t {
};
};
-static void grs_config_csv(void *clientData, Res res, const char *args)
+static ZEBRA_RES grs_config_csv(void *clientData, Res res, const char *args)
{
int i;
struct csv_t *csvp = (struct csv_t*) clientData;
{
int i;
struct csv_t *csvp = (struct csv_t*) clientData;
@@
-91,8
+91,8
@@
static void grs_config_csv(void *clientData, Res res, const char *args)
/* csvp->field_names = 0; */ /*nmem_strdup(csvp->nmem, "a|b|c|d|e");*/
csvp->field_name
/* csvp->field_names = 0; */ /*nmem_strdup(csvp->nmem, "a|b|c|d|e");*/
csvp->field_name
- = nmem_malloc(csvp->nmem,
- sizeof(*(csvp->field_name)) * csvp->max_nr_fields);
+ = nmem_malloc(csvp->nmem,
+ sizeof(*(csvp->field_name)) * csvp->max_nr_fields);
for (i = 0; i < csvp->max_nr_fields; i++){
csvp->field_name[i] = 0;
}
for (i = 0; i < csvp->max_nr_fields; i++){
csvp->field_name[i] = 0;
}
@@
-103,6
+103,7
@@
static void grs_config_csv(void *clientData, Res res, const char *args)
*/
yaz_log (YLOG_LOG, "Ended CSV filter grs_config_csv");
*/
yaz_log (YLOG_LOG, "Ended CSV filter grs_config_csv");
+ return ZEBRA_OK;
}
}
@@
-333,3
+334,11
@@
idzebra_filter
&grs_type_csv,
0,
};
&grs_type_csv,
0,
};
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+