Add C decl for cql.h
[yaz-moved-to-github.git] / include / yaz / cql.h
index b1125e3..b9b5f4d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: cql.h,v 1.4 2003-05-27 09:46:26 mike Exp $
+/* $Id: cql.h,v 1.5 2003-12-16 14:36:28 adam Exp $
    Copyright (C) 2002-2003
    Index Data Aps
 
@@ -12,6 +12,8 @@ See the file LICENSE.
 #include <stdio.h>
 #include <yaz/yconfig.h>
 
+YAZ_BEGIN_CDECL
+
 typedef struct cql_parser *CQL_parser;
 
 /**
@@ -187,5 +189,7 @@ int cql_transform_error(cql_transform_t ct, const char **addinfo);
 YAZ_EXPORT
 const char *cql_strerror(int code);
 
+YAZ_END_CDECL
+
 #endif
 /* CQL_H_INCLUDED */