mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-13 00:40:11 +00:00
NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_
This commit is contained in:
parent
d8e69bb0c1
commit
e7fedfa4a5
35 changed files with 161 additions and 161 deletions
|
|
@ -788,7 +788,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler, int s
|
|||
struct timeval tv;
|
||||
#endif
|
||||
|
||||
listensd = uip_listenon(portno);
|
||||
listensd = netlib_listenon(portno);
|
||||
if (listensd < 0)
|
||||
{
|
||||
return;
|
||||
|
|
@ -861,7 +861,7 @@ int httpd_listen(void)
|
|||
#ifdef CONFIG_NETUTILS_HTTPD_SINGLECONNECT
|
||||
single_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
|
||||
#else
|
||||
uip_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
|
||||
netlib_server(HTONS(80), httpd_handler, CONFIG_NETUTILS_HTTPDSTACKSIZE);
|
||||
#endif
|
||||
|
||||
/* the server accept loop only returns on errors */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue