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
Added include stdlib.h a few places to get prototype for atoi/exit/..
[idzebra-moved-to-github.git]
/
include
/
idzebra
/
recgrs.h
diff --git
a/include/idzebra/recgrs.h
b/include/idzebra/recgrs.h
index
8658ddd
..
2e0b3a3
100644
(file)
--- a/
include/idzebra/recgrs.h
+++ b/
include/idzebra/recgrs.h
@@
-1,6
+1,6
@@
-/* $Id: recgrs.h,v 1.1 2004-09-28 10:15:03 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: recgrs.h,v 1.3 2005-01-15 19:38:24 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,12
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
02111-1307, USA.
*/
-#ifndef GRSREAD_H
-#define GRSREAD_H
+#ifndef RECGRS_H
+#define RECGRS_H
#include <idzebra/recctrl.h>
#include <idzebra/recctrl.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
struct grs_read_info {
void *clientData;
struct grs_read_info {
void *clientData;
@@
-41,17
+39,18
@@
struct grs_read_info {
data1_handle dh;
};
data1_handle dh;
};
+YAZ_EXPORT
int zebra_grs_extract(void *clientData, struct recExtractCtrl *p,
data1_node *(*grs_read)(struct grs_read_info *));
int zebra_grs_extract(void *clientData, struct recExtractCtrl *p,
data1_node *(*grs_read)(struct grs_read_info *));
+YAZ_EXPORT
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p,
data1_node *(*grs_read)(struct grs_read_info *));
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p,
data1_node *(*grs_read)(struct grs_read_info *));
+YAZ_EXPORT
int grs_extract_tree(struct recExtractCtrl *p, data1_node *n);
int grs_extract_tree(struct recExtractCtrl *p, data1_node *n);
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
#endif
#endif