SYNOPSIS

#include <ixp.h>

uint ixp_fcall2msg(IxpMsg *msg, IxpFcall *fcall);

uint ixp_msg2fcall(IxpMsg *msg, IxpFcall *fcall);

DESCRIPTION

These functions pack or unpack a 9P protocol message. The message is set to the appropriate mode and its position is set to the beginning of its buffer.

RETURN VALUE

These functions return the size of the message on success and 0 on failure.

RELATED TO ixp_msg2fcall…