Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
mime-utils.h
Go to the documentation of this file.
1
7#ifndef mime_utils_h_included
8#define mime_utils_h_included
9
10#include <string.h>
11#include <ctype.h>
12#include <stdio.h>
13#include <errno.h>
14
15using namespace ::std;
16
17inline bool compareStringToQueue(const char *s_in, char *bqueue,
18 int pos, int size)
19{
20 for (int i = 0; i < size; ++i)
21 if (s_in[i] != bqueue[(pos + i) % size])
22 return false;
23
24 return true;
25}
26
27#endif
bool compareStringToQueue(const char *s_in, char *bqueue, int pos, int size)
Definition: mime-utils.h:17