Struct smbclient_sys::smbc_dirent
[−]
[src]
#[repr(C)]pub struct smbc_dirent { pub smbc_type: c_uint, pub dirlen: c_uint, pub commentlen: c_uint, pub comment: *mut c_char, pub namelen: c_uint, pub name: [c_char; 1], }
Fields
smbc_type: c_uint
Type of entity. SMBC_WORKGROUP=1, SMBC_SERVER=2, SMBC_FILE_SHARE=3, SMBC_PRINTER_SHARE=4, SMBC_COMMS_SHARE=5, SMBC_IPC_SHARE=6, SMBC_DIR=7, SMBC_FILE=8, SMBC_LINK=9,
dirlen: c_uint
Length of this smbc_dirent in bytes
commentlen: c_uint
The length of the comment string in bytes (does not include * null terminator)
comment: *mut c_char
Points to the null terminated comment string
namelen: c_uint
The length of the name string in bytes (does not include * null terminator)
name: [c_char; 1]
Points to the null terminated name string
Trait Implementations
impl Copy for smbc_dirent
[src]
impl Clone for smbc_dirent
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more