help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On shishi_parse_name().


From: Simon Josefsson
Subject: Re: On shishi_parse_name().
Date: Wed, 15 Aug 2012 21:08:37 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux)

Mats Erik Andersson <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]