]> www.infradead.org Git - users/sagi/libnvme.git/commit
api: move _args defintions to api-types.h
authorJeremy Kerr <jk@codeconstruct.com.au>
Tue, 14 Jun 2022 01:25:41 +0000 (09:25 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Tue, 14 Jun 2022 01:29:07 +0000 (09:29 +0800)
commitfd67286675aa1e78f25548ebd0aca6ffa8e5b18f
treebf2f1a34278e907b8806771d8290a007daa792cf
parent33dd5a7a19db479602f1b63aa0f7f763064786f2
api: move _args defintions to api-types.h

This change establishes a new (internal) header, api-types.h, and moves
the existing _args structs from ioctl.h.

This will allow us to share the definitions between the direct-ioctl
and MI interfaces.

The changes are purely a move of the struct definitions, and some
whitespace fixes, and some new file-level comments. None of the structs
are altered.

Fixes https://github.com/linux-nvme/libnvme/issues/373 .

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/nvme/api-types.h [new file with mode: 0644]
src/nvme/ioctl.h