> I think we’d have to change “setByeHandler()” to take, instead, a 
> “ByeHandlerFunc*” as parameter, where we define “ByeHandlerFunc” to be 
> something like:
>       typedef void ByeHandlerFunc(void* clientData, char const* byeReason = 
> NULL);
> Note that “byeReason” is an optional parameter.  I *think* that would be 
> backwards compatible with existing code that calls “setByeHandler()”

Correction - it would be *mostly* backwards compatible.  Existing code that 
defines their own BYE handler routine would have to change its parameter 
signature to include the (optional) “byeReason” string.  But right now I don’t 
see any better solution...

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to