Repository: qpid-proton Updated Branches: refs/heads/master 238617325 -> 1d9eb12a8
PROTON-334: Delete removed SASL APIs from PHP binding Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1d9eb12a Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1d9eb12a Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1d9eb12a Branch: refs/heads/master Commit: 1d9eb12a86db6b7490e530b8eaf4bd87f882d79d Parents: 2386173 Author: Andrew Stitcher <astitc...@apache.org> Authored: Fri May 29 18:32:24 2015 -0400 Committer: Andrew Stitcher <astitc...@apache.org> Committed: Fri May 29 18:32:24 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/php/php.i | 15 --------------- 1 file changed, 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1d9eb12a/proton-c/bindings/php/php.i ---------------------------------------------------------------------- diff --git a/proton-c/bindings/php/php.i b/proton-c/bindings/php/php.i index bc36a3a..6e927f7 100644 --- a/proton-c/bindings/php/php.i +++ b/proton-c/bindings/php/php.i @@ -124,9 +124,6 @@ ssize_t pn_link_send(pn_link_t *transport, char *STRING, size_t LENGTH); ssize_t pn_transport_input(pn_transport_t *transport, char *STRING, size_t LENGTH); %ignore pn_transport_input; -ssize_t pn_sasl_send(pn_sasl_t *sasl, char *STRING, size_t LENGTH); -%ignore pn_sasl_send; - // Use the OUTPUT_BUFFER,OUTPUT_LEN typemap to allow these functions to return // variable length binary data. @@ -143,18 +140,6 @@ ssize_t pn_sasl_send(pn_sasl_t *sasl, char *STRING, size_t LENGTH); %} %ignore pn_link_recv; -%rename(pn_sasl_recv) wrap_pn_sasl_recv; -// in PHP: array = pn_sasl_recv(sasl, MAXLEN); -// array[0] = size || error code -// array[1] = native string containing binary data -%inline %{ - void wrap_pn_sasl_recv(pn_sasl_t *sasl, size_t maxCount, char **OUTPUT_BUFFER, ssize_t *OUTPUT_LEN) { - *OUTPUT_BUFFER = emalloc(sizeof(char) * maxCount); - *OUTPUT_LEN = pn_sasl_recv( sasl, *OUTPUT_BUFFER, maxCount ); - } -%} -%ignore pn_sasl_recv; - %rename(pn_transport_output) wrap_pn_transport_output; // in PHP: array = pn_transport_output(transport, MAXLEN); // array[0] = size || error code --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org