NO-JIRA: Remove unused internal sasl API
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c705dd53 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c705dd53 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c705dd53 Branch: refs/heads/master Commit: c705dd53e7ae2e8ce49f3dcfb89a5a14f2bc5539 Parents: 0a5c4f2 Author: Andrew Stitcher <[email protected]> Authored: Wed Nov 26 13:42:37 2014 -0500 Committer: Andrew Stitcher <[email protected]> Committed: Tue Dec 9 14:36:52 2014 -0500 ---------------------------------------------------------------------- proton-c/src/sasl/sasl-internal.h | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c705dd53/proton-c/src/sasl/sasl-internal.h ---------------------------------------------------------------------- diff --git a/proton-c/src/sasl/sasl-internal.h b/proton-c/src/sasl/sasl-internal.h index ca4c80e..3e27e83 100644 --- a/proton-c/src/sasl/sasl-internal.h +++ b/proton-c/src/sasl/sasl-internal.h @@ -17,37 +17,13 @@ * specific language governing permissions and limitations * under the License. * -*/ + */ #ifndef PROTON_SASL_INTERNAL_H #define PROTON_SASL_INTERNAL_H 1 #include <proton/sasl.h> -/** Decode input data bytes into SASL frames, and process them. - * - * This function is called by the driver layer to pass data received - * from the remote peer into the SASL layer. - * - * @param[in] sasl the SASL layer. - * @param[in] bytes buffer of frames to process - * @param[in] available number of octets of data in 'bytes' - * @return the number of bytes consumed, or error code if < 0 - */ -ssize_t pn_sasl_input(pn_sasl_t *sasl, const char *bytes, size_t available); - -/** Gather output frames from the layer. - * - * This function is used by the driver to poll the SASL layer for data - * that will be sent to the remote peer. - * - * @param[in] sasl The SASL layer. - * @param[out] bytes to be filled with encoded frames. - * @param[in] size space available in bytes array. - * @return the number of octets written to bytes, or error code if < 0 - */ -ssize_t pn_sasl_output(pn_sasl_t *sasl, char *bytes, size_t size); - void pn_sasl_trace(pn_transport_t *transport, pn_trace_t trace); /** Destructor for the given SASL layer. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
