Opened 19 months ago

Last modified 4 weeks ago

#873 assigned enhancement

Libinet inetfaces should not contain hidden state

Reported by: Jiri Svoboda Owned by: Jiri Svoboda
Priority: major Milestone: 0.16.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.

Change History (2)

comment:1 by Jiri Svoboda, 12 months ago

Milestone: 0.14.20.15.1

Milestone renamed

comment:2 by Jiri Svoboda, 4 weeks ago

Milestone: 0.15.10.16.1

Milestone renamed

Note: See TracTickets for help on using tickets.