Opened 15 months ago
Last modified 8 months ago
#873 assigned enhancement
Libinet inetfaces should not contain hidden state
| Reported by: | Jiri Svoboda | Owned by: | Jiri Svoboda |
|---|---|---|---|
| Priority: | major | Milestone: | 0.15.1 |
| Component: | helenos/unspecified | Version: | mainline |
| Keywords: | Cc: | ||
| Blocker for: | Depends on: | ||
| See also: |
Description
Libinet's interfaces dhcp.h, dnsr.h, inet.h, inetcfg.h and inetping.h contain hidden state. They need to be initialized with an xxx_init() function, which opens the corresponding service and stores the session in a hidden global variable.
Instead they should have an xxx_open() function that would return an object representing the service.
Note that this is implemented correctly in libinet's tcp.h, udp.h and iplink.h.
Note:
See TracTickets
for help on using tickets.

Milestone renamed