libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Remove plibc?


From: LRN
Subject: Re: [libmicrohttpd] Remove plibc?
Date: Sat, 25 Jan 2014 11:55:31 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Thunderbird/29.0a1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25.01.2014 11:12, Christian Grothoff wrote:
> On 01/25/14 00:11, LRN wrote:
>> Grothoff, it's your call. I can graft the required pieces of
>> plibc into MHD and remove the dependency.
> 
> How big would the graft / code duplication be?
> 

These are the functions that libmicrohttpd imports from plibc:

_SetErrnoFromWinError - utility
_win_accept - wrapper
_win_bind - wrapper
_win_close - dispatcher/wrapper
_win_listen - wrapper
_win_mmap - implementation
_win_munmap - implementation
_win_recv - wrapper
_win_select - implementation (reducible)
_win_send - wrapper
_win_setsockopt - wrapper
_win_shutdown - wrapper
_win_socket - wrapper
_win_socketpair - implementation
_win_strerror - implementation
_win_tdelete - implementation (unneded)
_win_tfind - implementation (unneded)
_win_tsearch - implementation (unneded)
_win_write - wrapper
plibc_init - utility
plibc_shutdown - utility

"wrapper" means that it calls some other function, although it may add
some error conversion from Windows errors to errno.

"implementation" means actual code and/or more than one lowlevel
function call.

"utility" is there to support plibc itself

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJS423yAAoJEOs4Jb6SI2Cwy+kH/RMSh8j7SlYq4jKtsE2ZRyTX
+L+y+BvXdaExDSdKxkTvZbxyiq7pGR/9wDXK50nZrrre+NAYGzQyd+q7wySgpXAK
Zegp/aCDnEWBUa042Y3VMUA5vTidumGfkOkz88z2Ma5yrhcuicCbO5DdR0Q4j8r3
/e9aAqfQfFAPUgC5ahX6b9IETZ93s18J9pBt346MPMwegxSLYnlZr9BeB5daYcPK
ZTvYOS9PraZQ6ldCeapyZdMdIE/O6h53BySSww1Se00z6RfUr0qOnIJbI1YCIf++
dOHFsRcVwwNVL6+Va6PFZngGsC4uVkUpBedhdofvHr1t4UUC+T9YfcgxBGhEbDY=
=Su3h
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]