1@subheading gsasl_encode_inline 2@anchor{gsasl_encode_inline} 3@deftypefun {int} {gsasl_encode_inline} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) 4@var{sctx}: libgsasl session handle. 5 6@var{input}: input byte array. 7 8@var{input_len}: size of input byte array. 9 10@var{output}: output byte array. 11 12@var{output_len}: size of output byte array. 13 14Encode data according to negotiated SASL mechanism. This might mean 15that data is integrity or privacy protected. 16 17Return value: Returns @code{GSASL_OK} if encoding was successful, 18otherwise an error code. 19 20@strong{Deprecated:} Use @code{gsasl_encode()} instead. 21 22@strong{Since:} 0.2.0 23@end deftypefun 24 25