Doxyfile file description. Indentation. No change of code.
[yaz-moved-to-github.git] / src / odr_any.c
index ac1a4f5..5dfaab6 100644 (file)
@@ -1,17 +1,22 @@
 /*
- * 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.1 2003-10-27 12:21:33 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
@@ -24,7 +29,7 @@ int odr_any(ODR o, Odr_any **p, int opt, const char *name)
     if (o->direction == ODR_PRINT)
     {
        odr_prname(o, name);
-       fprintf(o->print, "ANY (len=%d)\n", (*p)->len);
+       odr_printf(o, "ANY (len=%d)\n", (*p)->len);
        return 1;
     }
     if (o->direction == ODR_DECODE)