-/*
- * Copyright (C) 1995-2007, Index Data ApS
- * All rights reserved.
- *
- * $Id: query-charset.c,v 1.1 2007-03-21 19:47:28 adam Exp $
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
*/
/** \file query-charset.c
#include <stdio.h>
#include <assert.h>
-#include <yaz/proto.h>
+#include <yaz/query-charset.h>
#include <yaz/wrbuf.h>
-#include <yaz/odr.h>
-#include <yaz/yaz-iconv.h>
void yaz_query_charset_convert_buf(char *buf_in, int len_in,
char **buf_out, int *len_out,
*len_out = wrbuf_len(wrbuf);
if (*len_out == 0)
- { // we assume conversion failed
+ { /* we assume conversion failed */
*buf_out = buf_in;
*len_out = len_in;
}