1#include <stdlib.h> 2#include "moo.h" 3 4/* Define a root class. */ 5struct root 6{ 7methods: 8 int write (root_t x, void *buf, size_t len); 9 void do_free (root_t x); 10}; 11