* several more corrections advised by CLANG
-inline char *FindNextEnd (char *bptr)
+static inline char *FindNextEnd (char *bptr)
{
char * end;
/* Find the next ?Q? */
{
char * end;
/* Find the next ?Q? */
-inline message_summary* GetMessagePtrAt(int n, HashList *Summ)
-{
- const char *Key;
- long HKLen;
- void *vMsg;
-
- if (Summ == NULL)
- return NULL;
- GetHashAt(Summ, n, &HKLen, &Key, &vMsg);
- return (message_summary*) vMsg;
-}
wc_mime_attachment *MsgBody;
} message_summary;
void DestroyMessageSummary(void *vMsg);
wc_mime_attachment *MsgBody;
} message_summary;
void DestroyMessageSummary(void *vMsg);
-inline message_summary* GetMessagePtrAt(int n, HashList *Summ);
+
+
+
+static inline message_summary* GetMessagePtrAt(int n, HashList *Summ)
+{
+ const char *Key;
+ long HKLen;
+ void *vMsg;
+
+ if (Summ == NULL)
+ return NULL;
+ GetHashAt(Summ, n, &HKLen, &Key, &vMsg);
+ return (message_summary*) vMsg;
+}
typedef void (*ExamineMsgHeaderFunc)(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset);
typedef void (*ExamineMsgHeaderFunc)(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset);
+int NeedNewBuf(int type)
{
switch(type) {
case WCS_STRING:
{
switch(type) {
case WCS_STRING: