dbus: move protocol core into workspace crate
This commit is contained in:
parent
9e428510ca
commit
61ec13def0
11 changed files with 286 additions and 258 deletions
|
|
@ -83,11 +83,8 @@ impl Incoming {
|
|||
return Err(DbusError::TooFewFds);
|
||||
}
|
||||
let fds: Vec<_> = self.incoming.fds.drain(..unix_fds).collect();
|
||||
let mut parser = Parser {
|
||||
buf: msg_buf,
|
||||
pos: FIXED_HEADER_SIZE + dyn_header_len as usize,
|
||||
fds: &fds,
|
||||
};
|
||||
let mut parser =
|
||||
Parser::new_at(msg_buf, FIXED_HEADER_SIZE + dyn_header_len as usize, &fds);
|
||||
match msg_ty {
|
||||
MSG_METHOD_CALL => {
|
||||
let sender = match &headers.sender {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue