On the 'cmdline-parse-targets' branch: move r1926013 from
'utf8-cmdline-prototype', introducing svn_opt__target_t api.

This seems pretty good to implement our target utils, because we could
parse everything once. I'll try to rewrite those utils and cmdline I guess...

* subversion/include/private/svn_opt_private.h
  (svn_opt__target_type_e,
   svn_opt__target_t,
   svn_opt__target_parse,
   svn_opt__target_to_string,
   svn_opt__target_resolve,
   svn_opt__target_array_parse,
   svn_opt__target_array_to_string): Declare.
* subversion/libsvn_subr/opt.c
  (svn_opt__target_parse,
   svn_opt__target_to_string,
   svn_opt__target_resolve,
   svn_opt__target_array_parse,
   svn_opt__target_array_to_string): Implement.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/cmdline-parse-targets@1926021 13f79535-47bb-0310-9956-ffa450edef68
2 files changed