Opened 2 years ago

Last modified 3 weeks ago

#873 assigned enhancement

Libinet inetfaces should not contain hidden state

Reported by: Jiri Svoboda Owned by: Jiri Svoboda
Priority: major Milestone: 0.17.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 (3)

comment:1 by Jiri Svoboda, 18 months ago

Milestone: 0.14.2 → 0.15.1

Milestone renamed

comment:2 by Jiri Svoboda, 7 months ago

Milestone: 0.15.1 → 0.16.1

Milestone renamed

comment:3 by Jiri Svoboda, 3 weeks ago

Milestone: 0.16.1 → 0.17.1
Note: See TracTickets for help on using tickets.