+typedef enum {
+ ACCOUNT_TITLE_FORBIDDEN_CHARS,
+ FOLDER_NAME_FORBIDDEN_CHARS,
+ USER_NAME_FORBIDDEN_NAMES,
+} ModestTextUtilsForbiddenCharType;
+
+
+/**
+ * modest_text_utils_is_forbidden_char:
+ * @character: some character
+ * @type: the type of forbidden char (see #ModestTextUtilsForbiddenCharType)
+ *
+ * check whether the given character is 'forbidden'
+ *
+ * Returns: TRUE if it's forbidden, FALSE otherwise
+ */
+gboolean modest_text_utils_is_forbidden_char (const gchar character,
+ ModestTextUtilsForbiddenCharType type);
+
+