libexplain  1.4.D001
Functions
libexplain/acl_grammar.h File Reference

Go to the source code of this file.

Functions

char * explain_acl_parse (const char *text)

Function Documentation

char* explain_acl_parse ( const char *  text)

The explain_acl_parse function is called when we already know the string is unparse-able. So the idea is to accumulate a better explanation than just EINVAL.

Parameters:
textThe ACL string passed to acl_from_text(3).
Returns:
pointer to an explanatory string. Or the NULL pointer of the string is perfectly acceptable.