Mats Erik Andersson <g...@gisladisker.se> writes: >> > so the expected call shishi_error() is reporting irrelevant text when >> > called after a failure in shishi_parse_name(). Can an error >> > condition in shishi_parse_name() be inserted into the handle's >> > context? >> >> I've added some shishi_error_printf, what do you think? > > I was kind of wandering whether there exists an API call > that lets me register an error condition in the handle. > Intuitively I was hoping for a call like > > shishi_register_error_state (handle, shishi_errno, err_msg); > > which would raise, in the opaque Shishi handle, whatever > error semaphors there might be. Should shishi_parse_name() > be discontent with the given principal name, this would > provide a means for reporting an error exception.
I don't think there is anything like that, and I'm not sure how it would work or how it would be useful. If you want to pursue it, explaining more and providing patches will be fine. /Simon _______________________________________________ Help-shishi mailing list Help-shishi@gnu.org https://lists.gnu.org/mailman/listinfo/help-shishi