#ifndef _mitm_h_defined_ #define _mitm_h_defined_ #include // What's on the other end of a URL. size gives the size of the resource in // bytes; data is a pointer to a chunk of storage containing the resource. If // size is zero, so is data. Remember that the data are not necessarily // null-byte terminated. struct resource { unsigned size; char * data; }; // extern void mitm(const std::string &, const resource &); #endif // $Log:$