mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
refactor(lot): rename dc_lot to lot
This commit is contained in:
@@ -1792,11 +1792,11 @@ pub unsafe extern "C" fn dc_contact_is_verified(contact: *mut dc_contact_t) -> l
|
||||
// dc_lot_t
|
||||
|
||||
#[no_mangle]
|
||||
pub type dc_lot_t = dc_lot::Lot;
|
||||
pub type dc_lot_t = lot::Lot;
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn dc_lot_new() -> *mut dc_lot_t {
|
||||
Box::into_raw(Box::new(dc_lot::Lot::new()))
|
||||
Box::into_raw(Box::new(lot::Lot::new()))
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
@@ -1804,7 +1804,7 @@ pub unsafe extern "C" fn dc_lot_empty(lot: *mut dc_lot_t) {
|
||||
assert!(!lot.is_null());
|
||||
|
||||
let _lot = Box::from_raw(lot);
|
||||
*lot = dc_lot::Lot::new();
|
||||
*lot = lot::Lot::new();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
@@ -2,10 +2,10 @@ use crate::chat::*;
|
||||
use crate::constants::*;
|
||||
use crate::contact::*;
|
||||
use crate::context::*;
|
||||
use crate::dc_lot::Lot;
|
||||
use crate::dc_msg::*;
|
||||
use crate::dc_tools::*;
|
||||
use crate::error::Result;
|
||||
use crate::lot::Lot;
|
||||
use crate::stock::StockMessage;
|
||||
use std::ptr;
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@ use crate::contact::*;
|
||||
use crate::dc_job::*;
|
||||
use crate::dc_jobthread::*;
|
||||
use crate::dc_loginparam::*;
|
||||
use crate::dc_lot::Lot;
|
||||
use crate::dc_move::*;
|
||||
use crate::dc_msg::*;
|
||||
use crate::dc_receive_imf::*;
|
||||
use crate::dc_tools::*;
|
||||
use crate::imap::*;
|
||||
use crate::key::*;
|
||||
use crate::lot::Lot;
|
||||
use crate::param::Params;
|
||||
use crate::smtp::*;
|
||||
use crate::sql::Sql;
|
||||
|
||||
@@ -9,8 +9,8 @@ use crate::constants::*;
|
||||
use crate::contact::*;
|
||||
use crate::context::*;
|
||||
use crate::dc_job::*;
|
||||
use crate::dc_lot::Lot;
|
||||
use crate::dc_tools::*;
|
||||
use crate::lot::Lot;
|
||||
use crate::param::*;
|
||||
use crate::pgp::*;
|
||||
use crate::sql;
|
||||
|
||||
@@ -4,10 +4,10 @@ use crate::chat;
|
||||
use crate::constants::Blocked;
|
||||
use crate::contact::*;
|
||||
use crate::context::Context;
|
||||
use crate::dc_lot::Lot;
|
||||
use crate::dc_strencode::*;
|
||||
use crate::dc_tools::*;
|
||||
use crate::key::*;
|
||||
use crate::lot::Lot;
|
||||
use crate::param::*;
|
||||
use crate::peerstate::*;
|
||||
use crate::types::*;
|
||||
|
||||
@@ -32,6 +32,7 @@ pub mod context;
|
||||
mod imap;
|
||||
pub mod key;
|
||||
pub mod keyring;
|
||||
pub mod lot;
|
||||
pub mod oauth2;
|
||||
mod param;
|
||||
pub mod peerstate;
|
||||
@@ -51,7 +52,6 @@ pub mod dc_job;
|
||||
mod dc_jobthread;
|
||||
pub mod dc_location;
|
||||
mod dc_loginparam;
|
||||
pub mod dc_lot;
|
||||
mod dc_mimefactory;
|
||||
pub mod dc_mimeparser;
|
||||
mod dc_move;
|
||||
|
||||
Reference in New Issue
Block a user