]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* allow mime header sub tokens to have blanks left and right of the =
[citadel.git] / libcitadel / lib / libcitadel.h
index cf628fe96c36ddc68ad38f38e2b491427a50f10a..48ba7b5895370e28e53d633b949584c3e8c018b1 100644 (file)
@@ -15,7 +15,7 @@
 #include <time.h>
 #include <stdlib.h>
 #include <stdarg.h>
-#define LIBCITADEL_VERSION_NUMBER      766
+#define LIBCITADEL_VERSION_NUMBER      770
 
 /*
  * Here's a bunch of stupid magic to make the MIME parser portable.
@@ -83,7 +83,7 @@ void ShutDownLibCitadel(void);
  * MIME parser declarations
  */
 
-void extract_key(char *target, char *source, long sourcelen, char *key, long keylen);
+void extract_key(char *target, char *source, long sourcelen, char *key, long keylen, char KeyEnd);
 
 void mime_parser(char *content_start, char *content_end,
                void (*CallBack)
@@ -323,6 +323,7 @@ int StrBufSanitizeAscii(StrBuf *Buf, const char Mute);
 void StrBufUrlescAppend(StrBuf *OutBuf, const StrBuf *In, const char *PlainIn);
 long StrEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn, int nbsp, int nolinebreaks);
 long StrECMAEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn);
+long StrHtmlEcmaEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn, int nbsp, int nolinebreaks);
 void StrMsgEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn);
 void StrIcalEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn);
 
@@ -446,6 +447,8 @@ int GetHashKeys(HashList *Hash, char ***List);
 int dbg_PrintHash(HashList *Hash, PrintHashContent first, PrintHashContent Second);
 int PrintHash(HashList *Hash, TransitionFunc Trans, PrintHashDataFunc PrintEntry);
 HashPos *GetNewHashPos(HashList *Hash, int StepWidth);
+int GetHashPosFromKey(HashList *Hash, const char *HKey, long HKLen, HashPos *At);
+int DeleteEntryFromHash(HashList *Hash, HashPos *At);
 int GetHashPosCounter(HashList *Hash, HashPos *At);
 void DeleteHashPos(HashPos **DelMe);
 int GetNextHashPos(HashList *Hash, HashPos *At, long *HKLen, const char **HashKey, void **Data);