Doxyfile.in part of dist. Doxyfile generated by configure.
-Configure aborts if --with-xml2, --with-openssl, --enable-tcpd is
-given and the given component does not exist.
+Configure aborts if any of --with-xml2, --with-openssl, --enable-tcpd
+ares given and the given component does not exist.
Extend CCL documentation in YAZ reference. Describe r=r.
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: backend.h,v 1.25 2004-04-30 19:10:35 adam Exp $
+ * $Id: backend.h,v 1.26 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file backend.h
+ * \brief Header for GFS
+ *
+ * This header includes all public definitions for the
+ * Generic Frontend Server (GFS).
*/
#ifndef BACKEND_H
*/
/** \file ccl.h
- \brief Header with public definitions about CCL.
+ \brief Header with public definitions for CCL.
*/
/*
* CCL - header file
*
- * $Id: ccl.h,v 1.19 2004-10-03 22:34:07 adam Exp $
+ * $Id: ccl.h,v 1.20 2004-10-15 00:18:59 adam Exp $
*
* Old Europagate Log:
*
/*
- * $Id: charneg.h,v 1.3 2002-07-25 12:50:16 adam Exp $
+ * Copyright (c) 2002-2004, Index Data.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and
+ * its documentation, in whole or in part, for any purpose, is hereby granted,
+ * provided that:
+ *
+ * 1. This copyright and permission notice appear in all copies of the
+ * software and its documentation. Notices of copyright or attribution
+ * which appear at the beginning of any file must remain unchanged.
+ *
+ * 2. The name of Index Data or the individual authors may not be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
+ * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
+ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ *
+ * $Id: charneg.h,v 1.4 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file charneg.h
+ * \brief Header for Z39.50 Charset negotiation utilities
+ *
+ * Helper functions for Character Set and Language Negotiation - 3
*/
#ifndef CHARNEG_H
#define CHARNEG_H
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: comstack.h,v 1.16 2004-05-10 10:47:04 adam Exp $
+ * $Id: comstack.h,v 1.17 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file comstack.h
+ * \brief Header for COMSTACK
*/
#ifndef COMSTACK_H
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: diagbib1.h,v 1.3 2003-03-03 19:57:35 adam Exp $
+ * $Id: diagbib1.h,v 1.4 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file diagbib1.h
+ * \brief Declares diagbib1_str
*/
#ifndef DIAGBIB1_H
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: log.h,v 1.12 2003-10-09 15:51:36 adam Exp $
+ * $Id: log.h,v 1.13 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file log.h
+ * \brief Header for logging utility
*/
#ifndef LOG_H
/*
- * Copyright (c) 1997-2003, Index Data.
+ * Copyright (c) 1997-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: logrpn.h,v 1.4 2003-03-03 19:57:35 adam Exp $
+ * $Id: logrpn.h,v 1.5 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file logrpn.h
+ * \brief Header for Z39.50 Query Printing
*/
#ifndef LOG_RPN_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: marcdisp.h,v 1.9 2003-12-11 00:37:21 adam Exp $
+ * $Id: marcdisp.h,v 1.10 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file marcdisp.h
+ * \brief Header for MARC display - and conversion utilities
*/
#ifndef MARCDISP_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: nmem.h,v 1.12 2004-01-15 10:16:26 adam Exp $
+ * $Id: nmem.h,v 1.13 2004-10-15 00:18:59 adam Exp $
*/
+/**
+ * \file nmem.h
+ * \brief Header for Nibble Memory functions
+ *
+ * This is a simple and fairly wasteful little module for nibble memory
+ * allocation. Evemtually we'll put in something better.
+ */
#ifndef NMEM_H
#define NMEM_H
#include <yaz/yconfig.h>
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: odr.h,v 1.16 2004-08-13 07:30:06 adam Exp $
+ * $Id: odr.h,v 1.17 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file odr.h
+ * \brief Header for ODR (Open Data Representation)
*/
#ifndef ODR_H
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: oid.h,v 1.21 2003-11-19 13:47:20 mike Exp $
+ * $Id: oid.h,v 1.22 2004-10-15 00:18:59 adam Exp $
*/
+/**
+ * \file oid.h
+ * \brief Header for OID database
+ *
+ * More or less protocol-transparent OID database.
+ * We could (and should?) extend this so that the user app can add new
+ * entries to the list at initialization.
+ */
#ifndef OID_H
#define OID_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: options.h,v 1.3 2003-03-03 19:57:35 adam Exp $
+ * $Id: options.h,v 1.4 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file options.h
+ * \brief Header for command line options parsing utilities
*/
#ifndef OPTIONS_H
/*
- * Copyright (c) 1999, Index Data
+ * Copyright (c) 1999-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: otherinfo.h,v 1.2 2000-02-28 11:20:06 adam Exp $
+ * $Id: otherinfo.h,v 1.3 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file otherinfo.h
+ * \brief Header for Z39.50 OtherInfo utilities
*/
#ifndef OTHERINFO_H
#define OTHERINFO_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: pquery.h,v 1.4 2003-01-06 08:20:27 adam Exp $
+ * $Id: pquery.h,v 1.5 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file pquery.h
+ * \brief Header for PQF parsing
*/
#ifndef PQUERY_H
* Copyright (c) 1998-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: proto.h,v 1.15 2004-05-10 07:52:07 adam Exp $
+ * $Id: proto.h,v 1.16 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file proto.h
+ * \brief Header for Z39.50 Protocol
*/
#ifndef Z_PROTO_H
#define Z_PROTO_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
+ * $Id: prt-ext.h,v 1.10 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file prt-ext.h
+ * \brief Header for Z39.50 External utilities
*/
/*
YAZ_BEGIN_CDECL
-/*
+/**
* Used to keep track of known External definitions (a loose approach
* to DEFINED_BY).
*/
-
typedef struct Z_ext_typeent
{
oid_value dref; /* the direct-reference OID value. */
+/*
+ * Copyright (c) 1996-2004, Index Data.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and
+ * its documentation, in whole or in part, for any purpose, is hereby granted,
+ * provided that:
+ *
+ * 1. This copyright and permission notice appear in all copies of the
+ * software and its documentation. Notices of copyright or attribution
+ * which appear at the beginning of any file must remain unchanged.
+ *
+ * 2. The names of Index Data or the individual authors may not be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
+ * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
+ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ *
+ * $Id: readconf.h,v 1.3 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file readconf.h
+ * \brief Header for config file reading utilities
+ */
#ifndef READCONF_H
#define READCONF_H
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: soap.h,v 1.7 2004-01-07 21:02:42 adam Exp $
+ * $Id: soap.h,v 1.8 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file soap.h
+ * \brief Header for SOAP
*/
#ifndef YAZ_SOAP_H
/*
- * Copyright (c) 1995-2001, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: sortspec.h,v 1.1 2001-08-08 19:35:06 adam Exp $
+ * $Id: sortspec.h,v 1.2 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file sortspec.h
+ * \brief Header for SortSpec parsing.
*/
-
#ifndef SORTSPEC_H
#define SORTSPEC_H
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.h,v 1.16 2004-02-14 15:58:42 adam Exp $
+ * $Id: srw.h,v 1.17 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file srw.h
+ * \brief Header for SRW/SRU
*/
#ifndef YAZ_SRW_H
/*
- * Copyright (c) 1995-2000, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: statserv.h,v 1.6 2003-03-03 19:57:35 adam Exp $
+ * $Id: statserv.h,v 1.7 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file statserv.h
+ * \brief Header for GFS (Obsolete. Use yaz/backend.h)
*/
#ifndef STATSERVER_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: tcpip.h,v 1.4 2003-03-03 19:57:35 adam Exp $
+ * $Id: tcpip.h,v 1.5 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file tcpip.h
+ * \brief Header for TCP/IP + SSL COMSTACK.
*/
#ifndef TCPIP_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: tpath.h,v 1.5 2003-01-06 08:20:27 adam Exp $
+ * $Id: tpath.h,v 1.6 2004-10-15 00:18:59 adam Exp $
*
*/
+/**
+ * \file tpath.h
+ * \brief Header for path fopen
+ */
#ifndef TPATH_H
#define TPATH_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: unix.h,v 1.2 2003-01-06 08:20:27 adam Exp $
+ * $Id: unix.h,v 1.3 2004-10-15 00:18:59 adam Exp $
* UNIX socket COMSTACK. By Morten Bøgeskov.
- *
+ */
+/**
+ * \file unix.h
+ * \brief Header for UNIX domain socket COMSTACK
*/
#ifndef UNIX_H
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: wrbuf.h,v 1.12 2004-03-20 07:02:22 adam Exp $
- *
+ * $Id: wrbuf.h,v 1.13 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file wrbuf.h
+ * \brief Header for WRBUF (growing buffer)
*/
#ifndef WRBUF_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: xmalloc.h,v 1.3 2003-02-18 14:28:52 adam Exp $
+ * $Id: xmalloc.h,v 1.4 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file xmalloc.h
+ * \brief Header for malloc interface.
*/
#ifndef XMALLOC_H
+++ /dev/null
-/*
- * Copyright (c) 1995, Index Data.
- *
- * Permission to use, copy, modify, distribute, and sell this software and
- * its documentation, in whole or in part, for any purpose, is hereby granted,
- * provided that:
- *
- * 1. This copyright and permission notice appear in all copies of the
- * software and its documentation. Notices of copyright or attribution
- * which appear at the beginning of any file must remain unchanged.
- *
- * 2. The name of Index Data or the individual authors may not be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
- * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
- * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
- * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
- * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
- * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
- * OF THIS SOFTWARE.
- *
- * $Log: xmosi.h,v $
- * Revision 1.1 1999-11-30 13:47:11 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.7 1999/06/16 11:55:24 adam
- * Added APDU log to client.
- *
- * Revision 1.6 1997/05/14 06:53:53 adam
- * C++ support.
- *
- * Revision 1.5 1996/02/10 12:23:43 quinn
- * Enable inetd operations fro TCP/IP stack
- *
- * Revision 1.4 1995/09/29 17:12:13 quinn
- * Smallish
- *
- * Revision 1.3 1995/09/27 15:02:53 quinn
- * Modified function heads & prototypes.
- *
- * Revision 1.2 1995/05/16 08:50:39 quinn
- * License, documentation, and memory fixes
- *
- * Revision 1.1 1995/03/30 09:39:43 quinn
- * Moved .h files to include directory
- *
- * Revision 1.3 1995/03/27 08:36:16 quinn
- * Some work on nonblocking operation in xmosi.c and rfct.c.
- * Added protocol parameter to cs_create()
- *
- * Revision 1.2 1995/03/14 10:28:48 quinn
- * Adding server-side support to tcpip.c and fixing bugs in nonblocking I/O
- *
- * Revision 1.1 1995/03/01 08:40:33 quinn
- * First working version of rfct. Addressing needs work.
- *
- */
-
-#ifndef XMOSI_H
-#define XMOSI_H
-
-#include <comstack.h>
-#include <stdio.h>
-#include <xti.h>
-#include <xti92.h>
-#include <xtiUser.h>
-#include <mosi.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-struct netbuf *mosi_strtoaddr(const char *str);
-
-COMSTACK mosi_type(int s, int blocking, int protocol);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: yaz-ccl.h,v 1.6 2003-06-24 23:03:04 adam Exp $
+ * $Id: yaz-ccl.h,v 1.7 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file yaz-ccl.h
+ * \brief Header for CCL node tree to RPN converson utilities.
*/
#ifndef YAZ_CCL_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: yaz-iconv.h,v 1.4 2003-05-06 11:51:23 adam Exp $
+ * $Id: yaz-iconv.h,v 1.5 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file yaz-iconv.h
+ * \brief Header for YAZ iconv interface
*/
#ifndef YAZ_ICONV_H
/*
- * Copyright (c) 1995-2003, Index Data.
- * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
+ * Copyright (c) 1995-2004, Index Data.
*
- * $Id: yaz-util.h,v 1.9 2003-02-18 14:28:52 adam Exp $
+ * Permission to use, copy, modify, distribute, and sell this software and
+ * its documentation, in whole or in part, for any purpose, is hereby granted,
+ * provided that:
+ *
+ * 1. This copyright and permission notice appear in all copies of the
+ * software and its documentation. Notices of copyright or attribution
+ * which appear at the beginning of any file must remain unchanged.
+ *
+ * 2. The name of Index Data or the individual authors may not be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
+ * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
+ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ *
+ * $Id: yaz-util.h,v 1.10 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file yaz-util.h
+ * \brief Header for common YAZ utilities
*/
#ifndef YAZ_UTIL_H
/*
- * Copyright (c) 1995-2003, Index Data.
- * See the file LICENSE for details.
+ * Copyright (c) 1995-2004, Index Data.
*
- * $Id: yconfig.h,v 1.6 2003-02-18 14:28:52 adam Exp $
+ * Permission to use, copy, modify, distribute, and sell this software and
+ * its documentation, in whole or in part, for any purpose, is hereby granted,
+ * provided that:
+ *
+ * 1. This copyright and permission notice appear in all copies of the
+ * software and its documentation. Notices of copyright or attribution
+ * which appear at the beginning of any file must remain unchanged.
+ *
+ * 2. The name of Index Data or the individual authors may not be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
+ * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
+ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ *
+ * $Id: yconfig.h,v 1.7 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file yconfig.h
+ * \brief Header with fundamental macros
*/
#ifndef YCONFIG_H
/*
- * Copyright (c) 1998-2003, Index Data
+ * Copyright (c) 1998-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: zgdu.h,v 1.2 2003-12-04 11:46:36 adam Exp $
+ * $Id: zgdu.h,v 1.3 2004-10-15 00:18:59 adam Exp $
*/
+
+/**
+ * \file zgdu.h
+ * \brief Header for the Z_GDU (HTTP or Z39.50 package)
+ */
+
#ifndef Z_GDU_H
#define Z_GDU_H
/*
- * Public header for ZOOM C.
- * $Id: zoom.h,v 1.23 2004-04-28 22:44:59 adam Exp $
+ * Copyright (c) 2000-2004, Index Data
+ * See the file LICENSE for details.
+ *
+ * $Id: zoom.h,v 1.24 2004-10-15 00:18:59 adam Exp $
+ */
+/**
+ * \file zoom.h
+ * \brief Header for ZOOM
*/
#include <stdlib.h>
* Copyright (c) 1997-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: atoin.c,v 1.2 2004-08-13 11:35:37 adam Exp $
+ * $Id: atoin.c,v 1.3 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file atoin.c
+ * \brief Implements atoi_n function.
*/
#if HAVE_CONFIG_H
#include <ctype.h>
#include <yaz/yaz-util.h>
+/**
+ * atoi_n: like atoi but reads at most len characters.
+ */
int atoi_n (const char *buf, int len)
{
int val = 0;
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: ber_any.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_any.c,v 1.2 2004-10-15 00:18:59 adam Exp $
*/
+
+/**
+ * \file ber_any.c
+ * \brief Implements BER ANY encoding and decoding.
+ *
+ * This source file implements BER encoding and decoding of
+ * the ANY type.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_bit.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_bit.c,v 1.2 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_bit.c
+ * \brief Implements BER BITSTRING encoding and decoding.
*
+ * This source file implements BER encoding and decoding of
+ * the BITSTRING type.
*/
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_bool.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_bool.c,v 1.2 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_bool.c
+ * \brief Implements BER BOOLEAN encoding and decoding
+ *
+ * This source file implements BER encoding and decoding of
+ * the BOOLEAN type.
*/
#if HAVE_CONFIG_H
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_int.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_int.c,v 1.2 2004-10-15 00:18:59 adam Exp $
*/
+
+/**
+ * \file ber_int.c
+ * \brief Implements BER INTEGER encoding and decoding.
+ *
+ * This source file implements BER encoding and decoding of
+ * the INTEGER type.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (C) 1995-2003, Index Data.
+ * Copyright (C) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_len.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_len.c,v 1.2 2004-10-15 00:18:59 adam Exp $
*/
+
+/**
+ * \file ber_len.c
+ * \brief Implements BER length octet encoding and decoding
+ *
+ * This source file implements BER encoding and decoding of
+ * the length octets.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include "odr-priv.h"
-/*
+/**
+ * ber_enclen:
* Encode BER length octets. If exact, lenlen is the exact desired
* encoding size, else, lenlen is the max available space. Len < 0 =
* Indefinite encoding.
return odr_tell(o) - lenpos;
}
-/*
+/**
+ * ber_declen:
* Decode BER length octets. Returns
* > 0 : number of bytes read
* -1 : not enough room to read bytes within max bytes
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_null.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_null.c,v 1.2 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_null.c
+ * \brief Implements ber_null
+ *
+ * This source file implements BER encoding and decoding of
+ * the NULL type.
*/
#if HAVE_CONFIG_H
#include <config.h>
#include "odr-priv.h"
-/*
- * BER-en/decoder for NULL type.
+/**
+ * ber_null: BER-en/decoder for NULL type.
*/
int ber_null(ODR o)
{
fprintf(stderr, "[NULL]\n");
#endif
return 1;
- case ODR_PRINT: return 1;
- default: odr_seterror(o, OOTHER, 13); return 0;
+ case ODR_PRINT:
+ return 1;
+ default:
+ odr_seterror(o, OOTHER, 13);
+ return 0;
}
}
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: ber_oct.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: ber_oct.c,v 1.2 2004-10-15 00:18:59 adam Exp $
*/
+
+/**
+ * \file ber_oct.c
+ * \brief Implements ber_octetstring
+ *
+ * This source file implements BER encoding and decoding of
+ * the OCTETSTRING type.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
switch (o->direction)
{
- case ODR_DECODE:
- if ((res = ber_declen(o->bp, &len, odr_max(o))) < 0)
- {
- odr_seterror(o, OPROTO, 14);
- return 0;
- }
- o->bp += res;
- if (cons) /* fetch component strings */
- {
- base = o->bp;
- while (odp_more_chunks(o, base, len))
- if (!odr_octetstring(o, &p, 0, 0))
- return 0;
- return 1;
- }
- /* primitive octetstring */
- if (len < 0)
- {
- odr_seterror(o, OOTHER, 15);
- return 0;
- }
- if (len > odr_max(o))
- {
- odr_seterror(o, OOTHER, 16);
- return 0;
- }
- if (len + 1 > p->size - p->len)
- {
- c = (unsigned char *)odr_malloc(o, p->size += len + 1);
- if (p->len)
- memcpy(c, p->buf, p->len);
- p->buf = c;
- }
- if (len)
- memcpy(p->buf + p->len, o->bp, len);
- p->len += len;
- o->bp += len;
- /* the final null is really not part of the buffer, but */
- /* it helps somes applications that assumes C strings */
- if (len)
- p->buf[p->len] = '\0';
+ case ODR_DECODE:
+ if ((res = ber_declen(o->bp, &len, odr_max(o))) < 0)
+ {
+ odr_seterror(o, OPROTO, 14);
+ return 0;
+ }
+ o->bp += res;
+ if (cons) /* fetch component strings */
+ {
+ base = o->bp;
+ while (odp_more_chunks(o, base, len))
+ if (!odr_octetstring(o, &p, 0, 0))
+ return 0;
return 1;
- case ODR_ENCODE:
- if ((res = ber_enclen(o, p->len, 5, 0)) < 0)
- return 0;
- if (p->len == 0)
- return 1;
- if (odr_write(o, p->buf, p->len) < 0)
- return 0;
+ }
+ /* primitive octetstring */
+ if (len < 0)
+ {
+ odr_seterror(o, OOTHER, 15);
+ return 0;
+ }
+ if (len > odr_max(o))
+ {
+ odr_seterror(o, OOTHER, 16);
+ return 0;
+ }
+ if (len + 1 > p->size - p->len)
+ {
+ c = (unsigned char *)odr_malloc(o, p->size += len + 1);
+ if (p->len)
+ memcpy(c, p->buf, p->len);
+ p->buf = c;
+ }
+ if (len)
+ memcpy(p->buf + p->len, o->bp, len);
+ p->len += len;
+ o->bp += len;
+ /* the final null is really not part of the buffer, but */
+ /* it helps somes applications that assumes C strings */
+ if (len)
+ p->buf[p->len] = '\0';
+ return 1;
+ case ODR_ENCODE:
+ if ((res = ber_enclen(o, p->len, 5, 0)) < 0)
+ return 0;
+ if (p->len == 0)
return 1;
- case ODR_PRINT: return 1;
- default: odr_seterror(o, OOTHER, 17); return 0;
+ if (odr_write(o, p->buf, p->len) < 0)
+ return 0;
+ return 1;
+ case ODR_PRINT:
+ return 1;
+ default:
+ odr_seterror(o, OOTHER, 17);
+ return 0;
}
}
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: ber_oid.c,v 1.3 2004-02-16 17:57:05 adam Exp $
+ * $Id: ber_oid.c,v 1.4 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_oid.c
+ * \brief Implements BER OID encoding and decoding
+ *
+ * This source file implements BER encoding and decoding of
+ * the OID type.
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: ber_tag.c,v 1.2 2004-04-14 12:58:27 adam Exp $
+ * $Id: ber_tag.c,v 1.3 2004-10-15 00:18:59 adam Exp $
+ */
+
+/**
+ * \file ber_tag.c
+ * \brief Implements BER tags encoding and decoding
+ *
+ * This source file implements BER encoding and decoding of
+ * the tags.
*/
#if HAVE_CONFIG_H
#include <config.h>
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+
+/**
+ * \file cclerrms.c
+ * \brief Implements CCL error code to error string map.
+ *
+ * This source file implements mapping between CCL error code and
+ * their string equivalents.
+ */
+
+
/*
* Europagate, 1995
*
- * $Id: cclerrms.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: cclerrms.c,v 1.2 2004-10-15 00:18:59 adam Exp $
*
* Old Europagate Log:
*
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+
+/**
+ * \file cclfind.c
+ * \brief Implements parsing of a CCL FIND query.
+ *
+ * This source file implements parsing of a CCL Query (ISO8777).
+ * The parser uses predictive parsing, but it does several tokens
+ * of lookahead in the handling of relational operations.. So
+ * it's not really pure.
+ */
+
+
/* CCL find (to rpn conversion)
* Europagate, 1995
*
- * $Id: cclfind.c,v 1.5 2004-10-10 21:43:21 adam Exp $
+ * $Id: cclfind.c,v 1.6 2004-10-15 00:18:59 adam Exp $
*
* Old Europagate log:
*
/* move one token forward */
#define ADVANCE cclp->look_token = cclp->look_token->next
-/*
+/**
* qual_val_type: test for existance of attribute type/value pair.
* qa: Attribute array
* type: Type of attribute to search for
return 0;
}
-/*
+/**
* strxcat: concatenate strings.
* n: Null-terminated Destination string
* src: Source string to be appended (not null-terminated)
*n = '\0';
}
-/*
+/**
* copy_token_name: Return copy of CCL token name
* tp: Pointer to token info.
* return: malloc(3) allocated copy of token name.
return str;
}
-/*
+/**
* mk_node: Create RPN node.
* kind: Type of node.
* return: pointer to allocated node.
return p;
}
-/*
+/**
* ccl_rpn_delete: Delete RPN tree.
* rpn: Pointer to tree.
*/
return n;
}
-/*
+/**
* add_attr_numeric: Add attribute (type/value) to RPN term node.
* p: RPN node of type term.
* type: Type of attribute
}
-/*
+/**
* search_term: Parse CCL search term.
* cclp: CCL Parser
* qa: Qualifier attributes already applied.
return p;
}
-/*
+/**
* qualifiers1: Parse CCL qualifiers and search terms.
* cclp: CCL Parser
* la: Token pointer to RELATION token.
}
-/*
+/**
* search_terms: Parse CCL search terms - including proximity.
* cclp: CCL Parser
* qa: Qualifier attributes already applied.
return p1;
}
-/*
+/**
* search_elements: Parse CCL search elements
* cclp: CCL Parser
* qa: Qualifier attributes already applied.
}
}
-/*
+/**
* find_spec: Parse CCL find specification
* cclp: CCL Parser
* qa: Qualifier attributes already applied.
return p;
}
-/*
+/**
* ccl_find: Parse CCL find - token representation
* bibset: Bibset to be used for the parsing
* list: List of tokens
return p;
}
-/*
+/**
* ccl_find_str: Parse CCL find - string representation
* bibset: Bibset to be used for the parsing
* str: String to be parsed
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+
+/**
+ * \file cclptree.c
+ * \brief Implements CCL parse tree printing
+ *
+ * This source file implements functions to parse and print
+ * a CCL node tree (as a result of parsing).
+ */
+
/* CCL print rpn tree - infix notation
* Europagate, 1995
*
- * $Id: cclptree.c,v 1.2 2003-12-18 13:08:48 adam Exp $
+ * $Id: cclptree.c,v 1.3 2004-10-15 00:18:59 adam Exp $
*
* Old Europagate Log:
*
/*
* Local variables:
- * tab-width: 4
+ * tab-width: 8
* c-basic-offset: 4
* End:
*/
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+/**
+ * \file cclqfile.c
+ * \brief Implements parsing of CCL qualifier specs in files
+ */
/* CCL qualifiers
* Europagate, 1995
*
- * $Id: cclqfile.c,v 1.5 2004-10-02 13:28:26 adam Exp $
+ * $Id: cclqfile.c,v 1.6 2004-10-15 00:19:00 adam Exp $
*
* Old Europagate Log:
*
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+/**
+ * \file cclqual.c
+ * \brief Implements CCL qualifier utilities
+ */
/* CCL qualifiers
* Europagate, 1995
*
- * $Id: cclqual.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: cclqual.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*
* Old Europagate Log:
*
#include <yaz/ccl.h>
-/* Definition of CCL_bibset pointer */
+/** Definition of CCL_bibset pointer */
struct ccl_qualifiers {
struct ccl_qualifier *list;
struct ccl_qualifier_special *special;
};
-/* CCL Qualifier special */
+/** CCL Qualifier special */
struct ccl_qualifier_special {
char *name;
char *value;
}
}
-/*
+/**
* ccl_qual_add: Add qualifier to Bibset. If qualifier already
* exists, then attributes are appendend to old
* definition.
*attrp = NULL;
}
-/*
+/**
* ccl_qual_mk: Make new (empty) bibset.
* return: empty bibset.
*/
return b;
}
-/*
+/**
* ccl_qual_rm: Delete bibset.
* b: pointer to bibset
*/
*b = NULL;
}
-/*
+/**
* ccl_qual_search: Search for qualifier in bibset.
* b: Bibset
* name: Name of qualifier to search for (need no null-termination)
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+/**
+ * \file cclstr.c
+ * \brief Implements CCL string compare utilities
+ */
/* CCL string compare utilities
* Europagate, 1995
*
- * $Id: cclstr.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: cclstr.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*
* Old Europagate Log:
*
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+/**
+ * \file ccltoken.c
+ * \brief Implements CCL lexical analyzer (scanner)
+ */
/* CCL - lexical analysis
* Europagate, 1995
*
- * $Id: ccltoken.c,v 1.4 2004-10-02 13:28:26 adam Exp $
+ * $Id: ccltoken.c,v 1.5 2004-10-15 00:19:00 adam Exp $
*
* Old Europagate Log:
*
-/*
- $ $Id: charneg.c,v 1.1 2003-10-27 12:21:30 adam Exp $
- * Helper functions for Character Set and Language Negotiation - 3
+/*
+ * Copyright (c) 2002-2004, Index Data
+ * See the file LICENSE for details.
+ *
+ * $Id: charneg.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
+/**
+ * \file charneg.c
+ * \brief Implements Z39.50 Charset negotiation utilities
+ *
+ * Helper functions for Character Set and Language Negotiation - 3
+ */
#include <stdio.h>
#include <yaz/otherinfo.h>
#include <yaz/z-charneg.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: comstack.c,v 1.12 2004-09-30 10:00:17 adam Exp $
+ * $Id: comstack.c,v 1.13 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file comstack.c
+ * \brief Implements Generic COMSTACK functions
*/
#include <string.h>
-/* $Id: cql.y,v 1.6 2004-10-03 22:34:07 adam Exp $
+/* $Id: cql.y,v 1.7 2004-10-15 00:19:00 adam Exp $
Copyright (C) 2002-2004
Index Data Aps
* \brief Implements CQL parser.
*
* This is a YACC parser, but since it must be reentrant, Bison is required.
+ * The original source file is cql.y.
*/
#include <stdio.h>
#include <stdlib.h>
#include <yaz/xmalloc.h>
#include <yaz/nmem.h>
#include <yaz/cql.h>
-
+
+ /** Node in the LALR parse tree. */
typedef struct {
+ /** Inhereted attribute: relation */
struct cql_node *rel;
+ /** Synthesized attribute: CQL node */
struct cql_node *cql;
+ /** string buffer with token */
char *buf;
+ /** length of token */
size_t len;
+ /** size of buffer (len <= size) */
size_t size;
} token;
return 0;
}
-/*
- * bison lexer for CQL.
+/**
+ * putb is a utility that puts one character to the string
+ * in current lexical token. This routine deallocates as
+ * necessary using NMEM.
*/
static void putb(YYSTYPE *lval, CQL_parser cp, int c)
}
+/**
+ * yylex returns next token for Bison to be read. In this
+ * case one of the CQL terminals are returned.
+ */
int yylex(YYSTYPE *lval, void *vp)
{
CQL_parser cp = (CQL_parser) vp;
-/* $Id: cqlstring.c,v 1.2 2004-10-03 22:34:07 adam Exp $
+/* $Id: cqlstring.c,v 1.3 2004-10-15 00:19:00 adam Exp $
Copyright (C) 2002-2004
Index Data Aps
* \brief Implements query stream reader that reads from a C string.
*/
-
#include <yaz/cql.h>
struct cql_buf_info {
int off;
};
-int getbuf(void *vp)
+static int getbuf(void *vp)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (bi->str[bi->off] == 0)
return bi->str[bi->off++];
}
-void ungetbuf(int b, void *vp)
+static void ungetbuf(int b, void *vp)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (b)
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: diagbib1.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: diagbib1.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file diagbib1.c
+ * \brief Implements diagbib1_str
*/
#include <stdio.h>
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: dumpber.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: dumpber.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file dumpber.c
+ * \brief Implements BER dumping
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: eventl.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: eventl.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file eventl.c
+ * \brief Implements event loop handling for GFS.
+ *
+ * This source implements the main event loop for the Generic Frontend
+ * Server. It uses select(2).
*/
#include <stdio.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: eventl.h,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: eventl.h,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file eventl.h
+ * \brief Definitions for event loop handling for GFS.
+ *
+ * This "private" header defines various functions for the
+ * main event loop in GFS.
*/
#ifndef EVENTL_H
/*
- * Copyright (c) 2002, Index Data.
+ * Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: grs1disp.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: grs1disp.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file grs1disp.c
+ * \brief Implements display of GRS-1 records
*/
#include <stdio.h>
/*
- * Copyright (c) 1999-2001, Index Data.
+ * Copyright (c) 1999-2004, Index Data.
* See the file LICENSE for details.
*
- * $Log: ill-get.c,v $
- * Revision 1.1 2003-10-27 12:21:30 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.9 2001/03/25 21:55:12 adam
- * Added odr_intdup. Ztest server returns TaskPackage for ItemUpdate.
- *
- * Revision 1.8 2001/02/21 13:46:53 adam
- * C++ fixes.
- *
- * Revision 1.7 2001/02/20 11:25:32 adam
- * Added ill_get_APDU and ill_get_Cancel.
- *
- * Revision 1.6 2000/08/10 08:41:26 adam
- * Fixes for ILL.
- *
- * Revision 1.5 2000/02/24 08:52:01 adam
- * Bug fix.
- *
- * Revision 1.4 2000/02/04 11:01:15 adam
- * Added more elements.
- *
- * Revision 1.3 2000/01/31 13:15:21 adam
- * Removed uses of assert(3). Cleanup of ODR. CCL parser update so
- * that some characters are not surrounded by spaces in resulting term.
- * ILL-code updates.
- *
- * Revision 1.2 2000/01/15 09:38:51 adam
- * Implemented ill_get_ILLRequest. Added some type mappings for ILL protocol.
- *
- * Revision 1.1 1999/12/16 23:36:19 adam
- * Implemented ILL protocol. Minor updates ASN.1 compiler.
- *
+ * $Id: ill-get.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file ill-get.c
+ * \brief Implements ILL package creator utilities
*/
#include <yaz/ill.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: initopt.c,v 1.2 2004-01-15 10:16:27 adam Exp $
+ * $Id: initopt.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file initopt.c
+ * \brief Implements Z39.50 Init Options Utility
*/
#if HAVE_CONFIG_H
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: log.c,v 1.1 2003-10-27 12:21:30 adam Exp $
+ * $Id: log.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file log.c
+ * \brief Implements logging utility
*/
#if HAVE_CONFIG_H
/*
- * Copyright (C) 1995-2003, Index Data
+ * Copyright (C) 1995-2004, Index Data
* All rights reserved.
*
- * $Id: logrpn.c,v 1.2 2004-09-13 09:23:33 adam Exp $
+ * $Id: logrpn.c,v 1.3 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file logrpn.c
+ * \brief Implements Z39.50 Query Printing
+ */
+
#include <stdio.h>
#include <yaz/log.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: marcdisp.c,v 1.7 2004-10-01 11:45:48 adam Exp $
+ * $Id: marcdisp.c,v 1.8 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file marcdisp.c
+ * \brief Implements MARC display - and conversion utilities
*/
#if HAVE_CONFIG_H
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: matchstr.c,v 1.1 2003-10-27 12:21:31 adam Exp $
+ * $Id: matchstr.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file matchstr.c
+ * \brief Implements loose string matching
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: nmem.c,v 1.3 2004-01-15 10:16:27 adam Exp $
+ * $Id: nmem.c,v 1.4 2004-10-15 00:19:00 adam Exp $
*/
-/*
+/**
+ * \file nmem.c
+ * \brief Implements Nibble Memory
+ *
* This is a simple and fairly wasteful little module for nibble memory
* allocation. Evemtually we'll put in something better.
*/
/*
- * Copyright (c) 1997-2003, Index Data.
+ * Copyright (c) 1997-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: nmemsdup.c,v 1.1 2003-10-27 12:21:33 adam Exp $
+ * $Id: nmemsdup.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file nmemsdup.c
+ * \brief Implements NMEM dup utilities
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: odr-priv.h,v 1.3 2004-08-13 07:30:06 adam Exp $
+ * $Id: odr-priv.h,v 1.4 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file odr-priv.h
+ * \brief Internal ODR definitions
*/
#ifndef ODR_PRIV_H
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr.c,v 1.7 2004-10-02 13:28:26 adam Exp $
+ * $Id: odr.c,v 1.8 2004-10-15 00:19:00 adam Exp $
*
*/
+
+/**
+ * \file odr.c
+ * \brief Implements fundamental ODR functionality
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_any.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_any.c,v 1.3 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file odr_any.c
+ * \brief Implements ODR ANY codec
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "odr-priv.h"
-/*
+/**
* This is a catch-all type. It stuffs a random ostring (assumed to be properly
* encoded) into the stream, or reads a full data element. Implicit tagging
* does not work, and neither does the optional flag, unless the element
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_bit.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_bit.c,v 1.3 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file odr_bit.c
+ * \brief Implements ODR BITSTRING codec
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_bool.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_bool.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file odr_bool.c
+ * \brief Implements ODR BOOLEAN codec
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_choice.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_choice.c,v 1.3 2004-10-15 00:19:00 adam Exp $
*/
+
+/**
+ * \file odr_choice.c
+ * \brief Implements ODR CHOICE codec
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_cons.c,v 1.3 2004-08-13 07:30:06 adam Exp $
+ * $Id: odr_cons.c,v 1.4 2004-10-15 00:19:00 adam Exp $
*
*/
+
+/**
+ * \file odr_cons.c
+ * \brief Implements ODR constructed codec.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_enum.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_enum.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_enum.c
+ * \brief Implements ODR ENUM codec
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_int.c,v 1.2 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_int.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_int.c
+ * \brief Implements ODR INTEGER codec
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_mem.c,v 1.2 2004-09-30 11:06:41 adam Exp $
+ * $Id: odr_mem.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_mem.c
+ * \brief Implements ODR memory management
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_null.c,v 1.3 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_null.c,v 1.4 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_null.c
+ * \brief Implements ODR NULL codec
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_oct.c,v 1.5 2004-10-02 13:28:26 adam Exp $
+ * $Id: odr_oct.c,v 1.6 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_oct.c
+ * \brief Implements ODR OCTET codec
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_oid.c,v 1.3 2004-08-13 07:30:06 adam Exp $
+ * $Id: odr_oid.c,v 1.4 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_oid.c
+ * \brief Implements ODR OID codec
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_seq.c,v 1.1 2003-10-27 12:21:34 adam Exp $
+ * $Id: odr_seq.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_seq.c
+ * \brief Implements ODR SEQUENCE codec
*/
-
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_tag.c,v 1.1 2003-10-27 12:21:34 adam Exp $
+ * $Id: odr_tag.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_tag.c
+ * \brief Implements ODR IMPLICIT tagging codec
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: odr_use.c,v 1.1 2003-10-27 12:21:34 adam Exp $
+ * $Id: odr_use.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_use.c
+ * \brief Implements misc ODR types.
*/
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_util.c,v 1.4 2004-08-11 12:15:38 adam Exp $
+ * $Id: odr_util.c,v 1.5 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file odr_util.c
+ * \brief Implements various ODR utilities
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: oid.c,v 1.3 2003-11-19 22:24:57 adam Exp $
+ * $Id: oid.c,v 1.4 2004-10-15 00:19:00 adam Exp $
*/
-/*
+/**
+ * \file oid.c
+ * \brief Implements OID database
+ *
* More or less protocol-transparent OID database.
* We could (and should?) extend this so that the user app can add new
* entries to the list at initialization.
* Copyright (c) 2003-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: opacdisp.c,v 1.2 2004-03-10 21:09:01 adam Exp $
+ * $Id: opacdisp.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file opacdisp.c
+ * \brief Implements OPAC record display
*/
#include <stdio.h>
/*
- * Copyright (c) 1995-2000, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Log: options.c,v $
- * Revision 1.1 2003-10-27 12:21:34 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.8 2000/02/29 13:44:55 adam
- * Check for config.h (currently not generated).
- *
- * Revision 1.7 1999/11/30 13:47:12 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.6 1997/09/01 08:54:13 adam
- * New windows NT/95 port using MSV5.0. Made prefix query handling
- * thread safe. The function options ignores empty arguments when met.
- *
- * Revision 1.5 1995/12/06 13:00:19 adam
- * Minus alone not treated as an option.
- *
- * Revision 1.4 1995/09/29 17:12:35 quinn
- * Smallish
- *
- * Revision 1.3 1995/09/27 15:03:03 quinn
- * Modified function heads & prototypes.
- *
- * Revision 1.2 1995/05/16 08:51:13 quinn
- * License, documentation, and memory fixes
- *
- * Revision 1.1 1995/03/27 08:35:18 quinn
- * Created util library
- * Added memory debugging module. Imported options-manager
- *
- * Revision 1.2 1994/10/04 17:47:10 adam
- * Function options now returns arg with error option.
- *
- * Revision 1.1 1994/08/16 15:57:22 adam
- * The first utility modules.
*
+ * $Id: options.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file options.c
+ * \brief Implements command line options parsing
*/
#if HAVE_CONFIG_H
#include <config.h>
/*
* Copyright (c) 1999-2003, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: otherinfo.c,v 1.1 2003-10-27 12:21:34 adam Exp $
+ * $Id: otherinfo.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file otherinfo.c
+ * \brief Implements Z39.50 OtherInfo utilities
*/
-
#include <stdio.h>
#include <string.h>
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: pquery.c,v 1.1 2003-10-27 12:21:35 adam Exp $
+ * $Id: pquery.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file pquery.c
+ * \brief Implements PQF parsing
*/
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
* Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: prt-ext.c,v 1.2 2004-09-03 18:55:19 adam Exp $
+ * $Id: prt-ext.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file prt-ext.c
+ * \brief Implements handling of various Z39.50 Externals
*/
#include <yaz/proto.h>
/*
- * Copyright (C) 1994-2000, Index Data
+ * Copyright (C) 1994-2004, Index Data
* All rights reserved.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Log: readconf.c,v $
- * Revision 1.1 2003-10-27 12:21:35 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.10 2000/02/29 13:44:55 adam
- * Check for config.h (currently not generated).
- *
- * Revision 1.9 1999/11/30 13:47:12 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.8 1999/08/27 09:40:32 adam
- * Renamed logf function to yaz_log. Removed VC++ project files.
- *
- * Revision 1.7 1999/06/30 09:10:32 adam
- * Fixed reading of MS-DOS files.
- *
- * Revision 1.6 1998/10/13 16:09:55 adam
- * Added support for arbitrary OID's for tagsets, schemas and attribute sets.
- * Added support for multiple attribute set references and tagset references
- * from an abstract syntax file.
- * Fixed many bad logs-calls in routines that read the various
- * specifications regarding data1 (*.abs,*.att,...) and made the messages
- * consistent whenever possible.
- * Added extra 'lineno' argument to function readconf_line.
- *
- * Revision 1.5 1997/09/04 07:53:02 adam
- * Added include readconf.h.
- *
- * Revision 1.4 1997/05/14 06:54:07 adam
- * C++ support.
- *
- * Revision 1.3 1996/05/29 15:48:48 quinn
- * Added \n to the isspace rule.
- *
- * Revision 1.2 1996/05/29 10:05:01 quinn
- * Changed space criteria to support 8-bit characters
- *
- * Revision 1.1 1995/11/01 13:55:06 quinn
- * Minor adjustments
- *
- * Revision 1.2 1995/10/30 13:54:27 quinn
- * iRemoved fclose().
- *
- * Revision 1.1 1995/10/10 16:28:18 quinn
- * Initial revision
- *
*
+ * $Id: readconf.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+
+/**
+ * \file readconf.c
+ * \brief Implements config file reading
*/
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
/*
- * Copyright (C) 1994-2003, Index Data.
+ * Copyright (C) 1994-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Id: requestq.c,v 1.1 2003-10-27 12:21:35 adam Exp $
*
+ * $Id: requestq.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
-
-/*
- * Simple queue management.
+/**
+ * \file requestq.c
+ * \brief Implements Simple queue management for GFS.
*
* We also use the request-freelist to store encoding buffers, rather than
* freeing and xmalloc'ing them on each cycle.
* NT Service interface Utility.
* Based on code written by
* Chas Woodfield, Fretwell Downing Informatics.
- * $Log: service.c,v $
- * Revision 1.1 2003-10-27 12:21:35 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.5 2001/11/13 23:00:42 adam
- * Separate malloc debug library. Removal of ASN_COMPILED-#ifdefs.
- *
- * Revision 1.4 2000/12/05 19:05:10 adam
- * Service automatically starts in the directory from which it was installed.
- *
- * Revision 1.3 1999/06/10 11:45:30 adam
- * Added bend_start, bend_stop handlers and removed pre_init.
- * Handlers bend_start/bend_stop are called when service/daemon is
- * started/stopped.
- *
- * Revision 1.2 1999/02/02 13:57:36 adam
- * Uses preprocessor define WIN32 instead of WINDOWS to build code
- * for Microsoft WIN32.
- *
- * Revision 1.1 1997/11/07 13:31:52 adam
- * Added NT Service name part of statserv_options_block. Moved NT
- * service utility to server library.
- *
- * Revision 1.6 1997/09/18 08:49:14 adam
- * Option -runnormal no needed to run server in standalone mode.
- *
- * Revision 1.5 1997/09/17 12:10:43 adam
- * YAZ version 1.4.
- *
- * Revision 1.4 1997/09/09 10:10:20 adam
- * Another MSV5.0 port. Changed projects to include proper
- * library/include paths.
- * Server starts server in test-mode when no options are given.
- *
- * Revision 1.3 1997/09/04 13:50:30 adam
- * Bug fix in ztest.
- *
+ * $Id: service.c,v 1.2 2004-10-15 00:19:00 adam Exp $
*/
-/************************************************************/
-/* Note this file is shared by all processes */
-/* Should really put it somewhere other than here */
-/* For some strange reason it won't work when part of a lib */
-/************************************************************/
+/**
+ * \file service.c
+ * \brief Implements NT service handling for GFS.
+ */
#ifdef WIN32
* NT Service interface Utility.
* Based on code written by
* Chas Woodfield, Fretwell Downing Datasystems.
- * $Log: service.h,v $
- * Revision 1.1 2003-10-27 12:21:35 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.1 1997/11/07 13:31:52 adam
- * Added NT Service name part of statserv_options_block. Moved NT
- * service utility to server library.
- *
- * Revision 1.2 1997/09/04 13:50:30 adam
- * Bug fix in ztest.
- *
+ * $Id: service.h,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file service.h
+ * \brief Header for NT service handling.
*/
#ifndef SERVICE_INCLUDED
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.32 2004-10-09 08:21:38 adam Exp $
+ * $Id: seshigh.c,v 1.33 2004-10-15 00:19:00 adam Exp $
*/
-
-/*
+/**
+ * \file seshigh.c
+ * \brief Implements GFS session logic.
+ *
* Frontend server logic.
*
* This code receives incoming APDUs, and handles client requests by means
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
- version = odr_strdup(assoc->encode, "$Revision: 1.32 $");
+ version = odr_strdup(assoc->encode, "$Revision: 1.33 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
/*
- * Copyright (C) 1995-2003, Index Data
+ * Copyright (C) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: session.h,v 1.1 2003-10-27 12:21:35 adam Exp $
+ * $Id: session.h,v 1.2 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file session.h
+ * \brief Internal Header for GFS.
*/
-
#ifndef SESSION_H
#define SESSION_H
* Copyright (c) 1997-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: siconv.c,v 1.6 2004-08-07 08:18:19 adam Exp $
+ * $Id: siconv.c,v 1.7 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file siconv.c
+ * \brief Implements simple ICONV
+ *
+ * This implements an interface similar to that of iconv and
+ * is used by YAZ to interface with iconv (if present).
+ * For systems where iconv is not present, this layer
+ * provides a few important conversion: UTF-8, MARC-8, Latin-1.
*/
-
-/* mini iconv and wrapper for system iconv library (if present) */
#if HAVE_CONFIG_H
#include <config.h>
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: soap.c,v 1.8 2004-10-02 13:28:26 adam Exp $
+ * $Id: soap.c,v 1.9 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file soap.c
+ * \brief Implements SOAP
+ *
+ * This implements encoding and decoding of SOAP packages using
+ * Libxml2.
*/
#include <yaz/soap.h>
/*
- * Copyright (c) 1995-2001, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: sortspec.c,v 1.2 2004-05-10 07:48:56 adam Exp $
+ * $Id: sortspec.c,v 1.3 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file sortspec.c
+ * \brief Implements SortSpec parsing.
*/
#include <stdio.h>
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.26 2004-10-02 13:28:26 adam Exp $
+ * $Id: srw.c,v 1.27 2004-10-15 00:19:00 adam Exp $
+ */
+/**
+ * \file srw.c
+ * \brief Implements SRW/SRU package encoding and decoding
*/
#include <yaz/srw.h>
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srwutil.c,v 1.17 2004-10-09 08:49:55 adam Exp $
+ * $Id: srwutil.c,v 1.18 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file srwutil.c
+ * \brief Implements SRW/SRU utilities.
*/
#include <yaz/srw.h>
* NT threaded server code by
* Chas Woodfield, Fretwell Downing Informatics.
*
- * $Id: statserv.c,v 1.8 2004-05-10 10:47:04 adam Exp $
+ * $Id: statserv.c,v 1.9 2004-10-15 00:19:01 adam Exp $
+ */
+
+/**
+ * \file statserv.c
+ * \brief Implements GFS logic
*/
#include <stdio.h>
/*
- * Copyright (c) 1995-2000, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Log: tcpdchk.c,v $
- * Revision 1.1 2003-10-27 12:21:35 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.5 2000/02/28 11:20:06 adam
- * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
- *
- * Revision 1.4 1999/11/30 13:47:12 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.3 1999/08/27 09:40:32 adam
- * Renamed logf function to yaz_log. Removed VC++ project files.
- *
- * Revision 1.2 1999/04/20 09:56:48 adam
- * Added 'name' paramter to encoder/decoder routines (typedef Odr_fun).
- * Modified all encoders/decoders to reflect this change.
- *
- * Revision 1.1 1999/04/16 14:45:55 adam
- * Added interface for tcpd wrapper for access control.
*
+ * $Id: tcpdchk.c,v 1.2 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file tcpdchk.c
+ * \brief Implements TCP WRAPPER check.
*/
#include <stdio.h>
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: tcpip.c,v 1.10 2004-09-21 14:59:01 adam Exp $
+ * $Id: tcpip.c,v 1.11 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file tcpip.c
+ * \brief Implements TCP/IP + SSL COMSTACK.
*/
#include <stdio.h>
/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: tpath.c,v 1.1 2003-10-27 12:21:35 adam Exp $
+ * $Id: tpath.c,v 1.2 2004-10-15 00:19:01 adam Exp $
*/
+/**
+ * \file tpath.c
+ * \brief Implements path fopen
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: unix.c,v 1.5 2004-09-21 14:59:01 adam Exp $
+ * $Id: unix.c,v 1.6 2004-10-15 00:19:01 adam Exp $
* UNIX socket COMSTACK. By Morten Bøgeskov.
*/
+/**
+ * \file unix.c
+ * \brief Implements UNIX domain socket COMSTACK
+ */
+
#ifndef WIN32
#include <stdio.h>
/*
- * Copyright (c) 1995-1999, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Log: waislen.c,v $
- * Revision 1.1 2003-10-27 12:21:36 adam
- * Source restructure. yaz-marcdump part of installation
- *
- * Revision 1.5 1999/11/30 13:47:11 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.4 1999/01/08 11:23:15 adam
- * Added const modifier to some of the BER/ODR encoding routines.
- *
- * Revision 1.3 1996/02/29 14:23:13 adam
- * Bug fix.
- *
- * Revision 1.2 1996/02/26 18:34:44 adam
- * Bug fix.
- *
- * Revision 1.1 1996/02/20 13:02:58 quinn
- * Wais length.
- *
*
+ * $Id: waislen.c,v 1.2 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file waislen.c
+ * \brief Implements WAIS package handling
*/
#include <stdio.h>
* Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: wrbuf.c,v 1.5 2004-10-01 11:44:46 adam Exp $
+ * $Id: wrbuf.c,v 1.6 2004-10-15 00:19:01 adam Exp $
*/
-/*
- * Growing buffer for writing various stuff.
+/**
+ * \file wrbuf.c
+ * \brief Implements WRBUF (growing buffer)
*/
#if HAVE_CONFIG_H
/*
- * Copyright (C) 1994-2003, Index Data
+ * Copyright (C) 1994-2004, Index Data
* All rights reserved.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: xmalloc.c,v 1.1 2003-10-27 12:21:36 adam Exp $
+ * $Id: xmalloc.c,v 1.2 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file xmalloc.c
+ * \brief Implements malloc interface.
*/
#if HAVE_CONFIG_H
/*
- * Copyright (c) 1996-2003, Index Data.
+ * Copyright (c) 1996-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-ccl.c,v 1.1 2003-10-27 12:21:36 adam Exp $
+ * $Id: yaz-ccl.c,v 1.2 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file yaz-ccl.c
+ * \brief Implements CCL node tree to RPN converson.
*/
#include <stdio.h>
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: zgdu.c,v 1.10 2004-08-11 12:15:38 adam Exp $
+ * $Id: zgdu.c,v 1.11 2004-10-15 00:19:01 adam Exp $
+ */
+
+/**
+ * \file zgdu.c
+ * \brief Implements HTTP and Z39.50 encoding and decoding.
*/
#include <ctype.h>
* Copyright (c) 1995-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: zget.c,v 1.5 2004-05-10 07:48:56 adam Exp $
+ * $Id: zget.c,v 1.6 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file zget.c
+ * \brief Implements Z39.50 package creator utilities
*/
#include <yaz/proto.h>
* Copyright (c) 2000-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: zoom-c.c,v 1.30 2004-10-02 13:28:26 adam Exp $
- *
- * ZOOM layer for C, connections, result sets, queries.
+ * $Id: zoom-c.c,v 1.31 2004-10-15 00:19:01 adam Exp $
+ */
+/**
+ * \file zoom-c.c
+ * \brief Implements ZOOM C interface.
*/
+
#include <assert.h>
#include <string.h>
#include "zoom-p.h"
ZOOM_options_get(c->options, "implementationName"),
odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName));
- version = odr_strdup(c->odr_out, "$Revision: 1.30 $");
+ version = odr_strdup(c->odr_out, "$Revision: 1.31 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
ireq->implementationVersion = odr_prepend(c->odr_out,
/*
- * $Id: zoom-opt.c,v 1.1 2003-10-27 12:21:36 adam Exp $
+ * Copyright (c) 2000-2004, Index Data
+ * See the file LICENSE for details.
*
- * ZOOM layer for C, options handling
+ * $Id: zoom-opt.c,v 1.2 2004-10-15 00:19:02 adam Exp $
+ */
+/**
+ * \file zoom-opt.c
+ * \brief Implements ZOOM options handling
*/
#include <assert.h>
#include "zoom-p.h"
/*
- * Private C header for ZOOM C.
- * $Id: zoom-p.h,v 1.4 2004-02-23 09:26:11 adam Exp $
+ * Copyright (c) 2000-2004, Index Data
+ * See the file LICENSE for details.
+ *
+ * $Id: zoom-p.h,v 1.5 2004-10-15 00:19:02 adam Exp $
+ */
+/**
+ * \file zoom-p.h
+ * \brief Internal header for ZOOM implementation
*/
#include <yaz/proto.h>