rust_snap7/
lib.rs

1// lib.rs
2// Copyright (C) 2021 gmg137 <gmg137 AT live.com>
3// snap7-rs is licensed under Mulan PSL v2.
4// You can use this software according to the terms and conditions of the Mulan PSL v2.
5// You may obtain a copy of Mulan PSL v2 at:
6//          http://license.coscl.org.cn/MulanPSL2
7// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9// MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10// See the Mulan PSL v2 for more details.
11//
12mod client;
13mod ffi;
14mod model;
15mod partner;
16mod server;
17pub mod utils;
18
19pub use crate::ffi::{
20    DateTime, TS7BlockInfo, TS7BlocksList, TS7BlocksOfType, TS7CpInfo, TS7CpuInfo, TS7DataItem,
21    TS7OrderCode, TS7Protection, TSrvEvent,
22};
23pub use {client::*, model::*, partner::*, server::*};