index e763afc805a68081493baf295149b6b1c7221e22..b451ed5b6e88504980c008a42d132d871d50838c 100644 (file)
/*
* sdb_fe_analyze:
- * Analyze a parsed node, checking for semantical errors.
+ * Analyze a parsed node, checking for semantical errors. Error messages will
+ * be written to the string buffer, if provided.
*
* Returns:
* - 0 if the node is semantically correct
* - a negative value else
*/
int
-sdb_fe_analyze(sdb_conn_node_t *node);
+sdb_fe_analyze(sdb_conn_node_t *node, sdb_strbuf_t *errbuf);
#ifdef __cplusplus
} /* extern "C" */