aboutsummaryrefslogtreecommitdiff
path: root/src/plumber_core/mod.rs
blob: 4d2cf711227b73515e19bffb172e52ccdd09cc54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub mod rule_engine;
use std::boxed::Box;

// structs specified in plan9port docs: https://9fans.github.io/plan9port/man/man3/plumb.html
pub struct PlumbMsg {
    src: String,
    dst: String,
    wdir: String,
    dtype: String,
    attr: String,
    ndata: i32,
    data: String,
}

pub struct PlumbAttr {
    name: String,
    value: String,
    next: Box<PlumbAttr>,
}