OutMessage.OutHeader

geesefs-0-30-9
Aaron Jacobs 2015-07-28 16:23:34 +10:00
parent 114432703b
commit 2e3cba1928
1 changed files with 2 additions and 1 deletions

View File

@ -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