You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2003/12/13 10:41:55 UTC

Re: [PATCH] Implement prompt callback support for perl bindings

New version of this patch.  

* subversion/bindings/swig/swigutil_pl.c
* subversion/bindings/swig/swigutil_pl.h
   (svn_swig_pl_get_sv_from_cv,
    svn_swig_pl_get_cv_from_sv): New functions
   to handle converting to and from SV and CV
   types.  
   (perl_callback_thunk): Add a CALL_CV type
   that accepts a CV and converts it for you.

* subversion/bindings/swig/swigutil_pl.c
* subversion/bindings/swig/swigutil_pl.h
* subversion/bindings/swig/svn_client.i
   Implement support for the prompt functions
   in the perl bindings 
    (svn_client_get_simple_prompt_provider,                                     
     svn_client_get_username_prompt_provider,                                   
     svn_client_get_ssl_server_trust_prompt_provider,                           
     svn_client_get_ssl_client_cert_prompt_provider,                            
     svn_client_get_ssl_client_cert_pw_prompt_provider)                            
* subversion/bindings/swig/perl/Core.pm
   Packages for easy use of the credential types
   passed to the prompt callbacks.

* subversion/bindings/swig/perl/Client.pm
   Add documentation for the use of
   svn_client_get_simple_prompt_provider.

patch attached due to probably wrapping.


-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken