use std::ffi::CString;
use std::os::raw::{c_char, c_int, c_void};
-use crate::core::*;
use crate::conf::{conf_get, get_memval};
+use crate::core::*;
use crate::ftp::constant::*;
use lazy_static::lazy_static;
pub struct FTPResponseLine {
code: *mut u8, // Response code as a string (may be null)
response: *mut u8, // Response string
- length: usize, // Length of the response string
- truncated: bool, // Uses TX/state value.
- total_size: usize, // Total allocated size in bytes
+ length: usize, // Length of the response string
+ truncated: bool, // Uses TX/state value.
+ total_size: usize, // Total allocated size in bytes
}
/// Parses a single FTP response line and returns an FTPResponseLine struct.