Displaying 2 results from an estimated 2 matches for "usrc".
Did you mean:
src
2017 Aug 30
1
non-standard base64 functions in tinc 1.1
...return i / 4 * 3 + 2;
} else if((i & 3) == 2) {
+ triplet >>= 4;
udst[0] = triplet & 0xff;
return i / 4 * 3 + 1;
} else {
@@ -109,22 +111,19 @@ static int b64encode_internal(const void *src, char *dst, int length, const char
switch(length % 3) {
case 2:
- triplet = usrc[si] | usrc[si + 1] << 8;
- dst[di] = alphabet[triplet & 63]; triplet >>= 6;
+ triplet = usrc[si + 1] << 2 | usrc[si] << 10;
+ dst[di + 2] = alphabet[triplet & 63]; triplet >>= 6;
dst[di + 1] = alphabet[triplet & 63]; triplet >>= 6;
- dst[d...
2010 Jun 11
1
chan_dahdi compilation with embedded
...er on embedded platform.
I am trying to integrate my driver code to asterisk. For this tying to call
driver code IOCTLs from chan_dahdi instead of dahdi IOCTLs.
While compiling asterisk with xtensa, Observed chan_dahdi is not compiling
[chan_dahdi.so is not creating].But with default settings [/usrc/src] it was
creating.
Please let me know is there any thing to enable to build chan_dahdi with
xtensa embedded.
Thank You in advance.
Regards,
Garge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments...