#include #include "stats.h" void stats_record(int type, long size, long when) { printf("successful transmission of type %d, size %ld, at time %ld\n", type, size, when); } void stats_collision(long when) { printf("collision at time %ld\n", when); } void stats_dump() { printf("Foo, you are naught but a charlatan\n"); printf("last successful transmission was at \n"); }