1
0
mirror of https://github.com/danog/libdvb.git synced 2024-11-26 20:04:39 +01:00

move sys::* to separate modules

This commit is contained in:
Andrey Dyldin 2021-01-22 21:46:15 +02:00
parent 7843edb216
commit cfa179f674
10 changed files with 21 additions and 31 deletions

View File

@ -2,6 +2,7 @@ mod asn1;
mod tpdu;
mod spdu;
mod apdu;
mod sys;
use {
@ -26,13 +27,12 @@ use {
Context,
},
crate::{
sys::{
ioctl,
IoctlInt,
ca::*,
},
crate::ioctl::{
ioctl,
IoctlInt,
},
sys::*,
};

View File

@ -3,7 +3,7 @@ use {
mem,
},
super::{
crate::ioctl::{
IoctlInt,
io_none,
io_read,

1
src/dmx/mod.rs Normal file
View File

@ -0,0 +1 @@
mod sys;

View File

@ -1,5 +1,5 @@
use {
super::{
crate::ioctl::{
IoctlInt,
io_none,
io_write,

View File

@ -1,4 +1,5 @@
mod status;
mod sys;
use {
@ -32,13 +33,12 @@ use {
libc,
thiserror::Error,
crate::{
sys::{
ioctl,
IoctlInt,
frontend::*,
},
crate::ioctl::{
ioctl,
IoctlInt,
},
sys::*,
};

View File

@ -3,9 +3,9 @@ use {
anyhow::Result,
crate::{
sys::frontend::*,
super::{
FeDevice,
sys::*,
},
};

View File

@ -6,7 +6,7 @@ use {
libc,
super::{
crate::ioctl::{
IoctlInt,
io_none,
io_read,

View File

@ -2,9 +2,11 @@
extern crate anyhow;
pub mod sys;
pub mod ioctl;
mod ca;
mod fe;
mod dmx;
pub use {

View File

@ -1,13 +0,0 @@
mod ioctl;
pub use ioctl::{
IoctlInt,
ioctl,
io_none,
io_read,
io_write,
io_rw,
};
pub mod ca;
pub mod dmx;
pub mod frontend;