Skip to content
Commit 8cb6afb3 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tools: ynl-gen: switch to family struct



We'll want to store static info about the family soon.
Generate a struct. This changes creation from, e.g.:

	 ys = ynl_sock_create("netdev", &yerr);
to:
	 ys = ynl_sock_create(&ynl_netdev_family, &yerr);

on user's side.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5d58f911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment