This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f7ab6d  NO-JIRA: remove unused declaration of 
_qd_policy_link_user_name_subst
     new 8d0aa07  Merge branch 'jd_unused_policy'
0f7ab6d is described below

commit 0f7ab6d623b90cc57d99c1a4b42090c48cd4ac28
Author: Jiri Danek <jda...@redhat.com>
AuthorDate: Mon Feb 4 12:18:57 2019 +0100

    NO-JIRA: remove unused declaration of _qd_policy_link_user_name_subst
    
    Relates to DISPATCH-1009, DISPATCH-1011 which removed the implementation.
---
 src/policy_internal.h | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/src/policy_internal.h b/src/policy_internal.h
index c075a75..bab277e 100644
--- a/src/policy_internal.h
+++ b/src/policy_internal.h
@@ -69,25 +69,6 @@ void _qd_policy_deny_amqp_sender_link(pn_link_t *pn_link, 
qd_connection_t *qd_co
 void _qd_policy_deny_amqp_receiver_link(pn_link_t *pn_link, qd_connection_t 
*qd_conn, const char *condition);
 
 
-/** Perform user name substitution into proposed link name.
- * The scheme is to substitute '${user}' into the incoming link name whereever 
the
- * the username is present. Then it can be matched against the original 
template with
- * a minimum of substitutions. For example:
- * uname    : joe
- * proposed : temp_joe_1
- * obuf     : temp_${user}_1
- * Note: substituted names are limited to osize characters
- * Note: only the first (leftmost) user name is substituted.
- *
- * @param[in] uname auth user name
- * @param[in] proposed the link name from the AMQP frame
- * @param[out] obuf where the constructed link name is returned
- * @param[in] osize size in bytes of obuf
- * @return NULL if uname is not present in proposed link name.
- */
-char * _qd_policy_link_user_name_subst(const char *uname, const char 
*proposed, char *obuf, int osize);
-
-
 /** Approve link by source/target name.
  * This match supports trailing wildcard match:
  *    proposed 'temp-305' matches allowed 'temp-*'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to