Commit 2e3cba19 authored by Aaron Jacobs's avatar Aaron Jacobs

OutMessage.OutHeader

parent 11443270
......@@ -57,7 +57,8 @@ func (m *OutMessage) Reset() {
// Return a pointer to the header at the start of the message.
func (b *OutMessage) OutHeader() (h *fusekernel.OutHeader) {
panic("TODO")
h = (*fusekernel.OutHeader)(unsafe.Pointer(&b.storage))
return
}
// Grow the buffer by the supplied number of bytes, returning a pointer to the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment