--- a/libidav/davqlparser.h Sat Apr 04 20:37:03 2015 +0200 +++ b/libidav/davqlparser.h Sat Apr 04 21:47:40 2015 +0200 @@ -207,6 +207,12 @@ /** Infinity recursion depth for a DavQLStatement. */ #define DAV_DEPTH_INFINITY -1 +/** The with-clause contains an unknown attribute. */ +#define DAVQL_ERROR_UNKNOWN_ATTRIBUTE 20 + +/** Depth must be greater than zero or infinity. */ +#define DAVQL_ERROR_INVALID_DEPTH 21 + /** A quote symbol (' or `) is missing. */ #define DAVQL_ERROR_MISSING_QUOTE 50