X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fproto.h;h=9dc54c2889220440941d3957b2ad2d578f04e545;hb=94d2f62cf9d0185e933e238ae36081b00e43d1a0;hp=5023c1513b4e8732cefb378ca848054c5c98d3bb;hpb=5381b2f81bb793e364cd5b2a910e026ce84d9d05;p=yaz-moved-to-github.git diff --git a/include/yaz/proto.h b/include/yaz/proto.h index 5023c15..9dc54c2 100644 --- a/include/yaz/proto.h +++ b/include/yaz/proto.h @@ -1,9 +1,8 @@ /* - * Copyright (c) 1998-2003, Index Data + * Copyright (c) 1998-2004, Index Data * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * - * $Id: proto.h,v 1.11 2003-07-18 19:54:30 mike Exp $ + * $Id: proto.h,v 1.13 2004-01-15 10:16:26 adam Exp $ */ #ifndef Z_PROTO_H #define Z_PROTO_H @@ -114,6 +113,12 @@ 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