/** -------------------------------------------------------------------- * @file mime.cc * @brief Implementation of main mime parser components * @author Andreas Aardal Hanssen * @date 2002-2005 * ----------------------------------------------------------------- **/ #ifndef mime_utils_h_included #define mime_utils_h_included #include #include #include #include using namespace ::std; inline bool compareStringToQueue(const char *s_in, char *bqueue, int pos, int size) { for (int i = 0; i < size; ++i) if (s_in[i] != bqueue[(pos + i) % size]) return false; return true; } #endif