lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #35931] Name space pollution in src/api/api_msg.c


From: Mason
Subject: [lwip-devel] [bug #35931] Name space pollution in src/api/api_msg.c
Date: Wed, 21 Mar 2012 09:58:57 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Firefox/10.0.2 SeaMonkey/2.7.2

URL:
  <http://savannah.nongnu.org/bugs/?35931>

                 Summary: Name space pollution in src/api/api_msg.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: mason
            Submitted on: Wed 21 Mar 2012 09:58:56 AM GMT
                Category: sockets
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.4.0

    _______________________________________________________

Details:

(Filing to remember this issue)

lwip exports several functions with very common names,
leading to name space collisions with user code:


void do_newconn         ( struct api_msg_msg *msg);
void do_delconn         ( struct api_msg_msg *msg);
void do_bind            ( struct api_msg_msg *msg);
void do_connect         ( struct api_msg_msg *msg);
void do_disconnect      ( struct api_msg_msg *msg);
void do_listen          ( struct api_msg_msg *msg);
void do_send            ( struct api_msg_msg *msg);
void do_recv            ( struct api_msg_msg *msg);
void do_write           ( struct api_msg_msg *msg);
void do_getaddr         ( struct api_msg_msg *msg);
void do_close           ( struct api_msg_msg *msg);
void do_shutdown        ( struct api_msg_msg *msg);
void do_join_leave_group( struct api_msg_msg *msg);
void do_gethostbyname(void *arg);


cf. also
http://lists.gnu.org/archive/html/lwip-devel/2012-03/msg00068.html





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35931>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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