diff --git a/rust/src/packet_types.rs b/rust/src/packet_types.rs index cad030d..a316609 100644 --- a/rust/src/packet_types.rs +++ b/rust/src/packet_types.rs @@ -61,6 +61,14 @@ pub enum PsycPacketId { PSYC_PACKET_ID_ELEMS = 5, } +#[repr(C)] +pub struct PsycElem { + pub elem_type: PsycString, + pub value: PsycString, + pub length: usize, + pub flag: PsycElemFlag +} + #[repr(C)] pub struct RawPsycList { list_type: PsycString, @@ -108,6 +116,3 @@ pub enum PsycRenderRC { /// Packet is rendered successfully in the buffer. PSYC_RENDER_SUCCESS = 0, } - - -