lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jan 21, 2009 at 9:57 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> >> Agreed, for this reason I am having to supply a separate base64 lib with my app.
>> >
>> > Shameless plug: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64
>> >
>>
>> If I recall correctly we are using your routines :) They form part of
>> a general encodings library. Many thanks for it!
>
> Ah, I did start writing one such library but did not quite finish it...
> Can you share your general encodings library?
>

We were indeed planning to release it separately. At the moment it is
geared towards the set of functions we need (it includes IDNA and
stringprep). You can find it here:

http://prosody.im/source/browse/?file/tip/util-src/encodings.c

and http://prosody.im/source/browse/?file/tip/util-src/hashes.c may
also be of interest, and we also have a posix library:
http://prosody.im/source/browse/?file/tip/util-src/pposix.c
(daemonize, syslog, getpid).

The license would certainly be MIT when they are all released (though
FWIW I'm currently considering MIT for the whole project). If someone
wants to use them now, just let me know, because it's poking that is
needed to get them released sooner rather than later :)

Matthew.