libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Remove plibc?


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Remove plibc?
Date: Sat, 25 Jan 2014 10:02:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

That still feels like it would be too much code to duplicate.

My 2 cents

Christian

On 01/25/14 08:55, LRN wrote:
> 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
> 
> 




reply via email to

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