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

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,

Length of this smbc_dirent in bytes

The length of the comment string in bytes (does not include * null terminator)

Points to the null terminated comment string

The length of the name string in bytes (does not include * null terminator)

Points to the null terminated name string

Trait Implementations

impl Copy for smbc_dirent
[src]

impl Clone for smbc_dirent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for smbc_dirent
[src]

Returns the "default value" for a type. Read more