X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fproto.h;h=9dc54c2889220440941d3957b2ad2d578f04e545;hb=3261e100ea2fed86d45a15930af074098f072c26;hp=05ff95052ef6209ac6422dbfed876183d5510ff5;hpb=9d9bbf2ad72a44772dca1e694de9a84c4e48aa21;p=yaz-moved-to-github.git diff --git a/include/yaz/proto.h b/include/yaz/proto.h index 05ff950..9dc54c2 100644 --- a/include/yaz/proto.h +++ b/include/yaz/proto.h @@ -1,9 +1,8 @@ /* - * Copyright (c) 1998-2002, Index Data + * Copyright (c) 1998-2004, Index Data * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * - * $Id: proto.h,v 1.4 2002-10-22 10:05:36 adam Exp $ + * $Id: proto.h,v 1.13 2004-01-15 10:16:26 adam Exp $ */ #ifndef Z_PROTO_H #define Z_PROTO_H @@ -39,8 +38,11 @@ #include #include #include +#include #include #include +#include +#include YAZ_BEGIN_CDECL @@ -109,6 +111,14 @@ YAZ_EXPORT const char* yaz_z3950_oid_value_to_str(oid_value ov, oid_class oc); YAZ_EXPORT void yaz_display_grs1(WRBUF wrbuf, Z_GenericRecord *r, int flags); +YAZ_EXPORT void yaz_display_OPAC(WRBUF wrbuf, Z_OPACRecord *r, int flags); + +YAZ_EXPORT int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, + int *error_pos); +YAZ_EXPORT void yaz_init_opt_decode(Z_Options *opt, + void (*pr)(const char *name, + void *clientData), + void *clientData); YAZ_END_CDECL #include