dom: accept type="adelete" (accept bad deletes)
[idzebra-moved-to-github.git] / index / check_res.c
index b3b2b26..28ee1b9 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: check_res.c,v 1.6 2007-05-16 08:46:19 adam Exp $
-   Copyright (C) 1995-2007
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 2004-2013 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -31,7 +31,7 @@ int zebra_check_res(Res res)
 {
     int errors = 0;
     Res v = res_open(0, 0);
-    
+
     res_add(v, "attset", "");
     res_add(v, "chdir", "");
     res_add(v, "dbaccess", "");
@@ -72,10 +72,11 @@ int zebra_check_res(Res res)
     res_add(v, "storeKeys", "p");
     res_add(v, "storeData", "p");
     res_add(v, "openRW", "p");
+    res_add(v, "facetNumRecs", "");
+    res_add(v, "facetMaxChunks", "");
 
-    
     errors = res_check(res, v);
+
     res_close(v);
     return errors;
 }
@@ -83,6 +84,7 @@ int zebra_check_res(Res res)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab