zoomtst3: print event name
[yaz-moved-to-github.git] / src / waislen.c
index fa7ee5f..9e44ab2 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
- *
- * $Id: waislen.c,v 1.4 2005-06-25 15:46:06 adam Exp $
  */
 /**
  * \file waislen.c
 
 #include <stdio.h>
 #include <yaz/comstack.h>
-#include <yaz/tcpip.h>
 /*
  * Return length of WAIS package or 0
  */
-int completeWAIS(const unsigned char *buf, int len)
+int completeWAIS(const char *buf, int len)
 {
     int i, lval = 0;
 
@@ -34,6 +31,7 @@ int completeWAIS(const unsigned char *buf, int len)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab