Changeset 102:f1033bc40a67 in qutecom-coip
- Timestamp:
- Apr 14, 2008 5:16:01 PM (5 years ago)
- Branch:
- default
- Location:
- wifo/owsl/src
- Files:
-
- 5 edited
-
owsl_internal.h (modified) (1 diff)
-
protocols/owsl_base.c (modified) (1 diff)
-
protocols/owsl_base.h (modified) (1 diff)
-
protocols/owsl_uoh.c (modified) (1 diff)
-
protocols/owsl_uohs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wifo/owsl/src/owsl_internal.h
r0 r102 210 210 OWSLSocketInfo * (* accept) (OWSLSocketInfo * socket, struct sockaddr * address, socklen_t * address_length) ; 211 211 int (* close) (OWSLSocketInfo * socket) ; 212 int (* bind) (OWSLSocketInfo * socket, conststruct sockaddr * address, socklen_t address_length) ;212 int (* bind) (OWSLSocketInfo * socket, struct sockaddr * address, socklen_t address_length) ; 213 213 int (* connect) (OWSLSocketInfo * socket, const struct sockaddr * address, socklen_t address_length) ; 214 214 int (* listen) (OWSLSocketInfo * socket, int pending_max) ; -
wifo/owsl/src/protocols/owsl_base.c
r0 r102 261 261 ( 262 262 OWSLSocketInfo * socket_info_with_system_socket, 263 conststruct sockaddr * address,263 struct sockaddr * address, 264 264 socklen_t address_length 265 265 ) 266 266 { 267 int ret; 267 268 OWSLSocketInfo_with_SystemSocket * socket = (OWSLSocketInfo_with_SystemSocket *) socket_info_with_system_socket ; 268 return bind (socket->system_socket, address, address_length) ; 269 ret = bind (socket->system_socket, address, address_length) ; 270 if (!ret) 271 { 272 socklen_t slen = address_length; 273 getsockname(socket->system_socket, address, &slen); 274 } 275 return ret; 269 276 } 270 277 -
wifo/owsl/src/protocols/owsl_base.h
r0 r102 143 143 ( 144 144 OWSLSocketInfo * _socket_info_with_system_socket, 145 conststruct sockaddr * address,145 struct sockaddr * address, 146 146 socklen_t address_length 147 147 ) ; -
wifo/owsl/src/protocols/owsl_uoh.c
r0 r102 540 540 541 541 static int owsl_uoh_bind(OWSLSocketInfo * _socket_info_with_system_socket, 542 conststruct sockaddr * address,542 struct sockaddr * address, 543 543 socklen_t address_length) 544 544 { -
wifo/owsl/src/protocols/owsl_uohs.c
r0 r102 576 576 577 577 static int owsl_uohs_bind(OWSLSocketInfo * _socket_info_with_system_socket, 578 conststruct sockaddr * address,578 struct sockaddr * address, 579 579 socklen_t address_length) 580 580 {
Note: See TracChangeset
for help on using the changeset viewer.
