Lines Matching refs:lenused
79 int lenused, int wraplen );
416 * If "lenused" >= 0, newlines will be included in "dst" and "lenused" if
417 * appropriate. "lenused" should be a count of characters already used
422 * If "lenused" < 0, no newlines will be included, and the LDIF_BASE64_LEN()
427 ldif_base64_encode_internal( unsigned char *src, char *dst, int srclen, int lenused, int wraplen )
446 if ( wraplen != -1 && lenused >= 0 && lenused++ > wraplen ) {
449 lenused = 2;
471 if ( wraplen != -1 && lenused >= 0 && lenused++ > wraplen ) {
474 lenused = 2;
493 ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused )
495 return ldif_base64_encode_internal( src, dst, srclen, lenused, LDIF_MAX_LINE_WIDTH );
499 ldif_base64_encode_nowrap( unsigned char *src, char *dst, int srclen, int lenused )
501 return ldif_base64_encode_internal( src, dst, srclen, lenused, -1 );