aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Krause <[email protected]>2015-08-10 21:50:28 +0200
committerVolker Krause <[email protected]>2015-08-10 21:50:28 +0200
commit1d59e75975028385ad4a7190891992e6cddbb5b1 (patch)
treeafb6d2268b775f867d8aefc10da315815a782512
parent48a5b2b2e47a900af6ba808c137989e3a5d2d3fa (diff)
Unexport uniqueString(), only used internally.
-rw-r--r--src/kmime_util.h10
-rw-r--r--src/kmime_util_p.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/kmime_util.h b/src/kmime_util.h
index 89530b7..c34e375 100644
--- a/src/kmime_util.h
+++ b/src/kmime_util.h
@@ -217,16 +217,6 @@ KMIME_EXPORT extern QString decodeRFC2231String(const QByteArray &src);
KMIME_EXPORT extern QByteArray encodeRFC2231String(const QString &src, const QByteArray &charset);
/**
- Uses current time, pid and random numbers to construct a string
- that aims to be unique on a per-host basis (ie. for the local
- part of a message-id or for multipart boundaries.
-
- @return the unique string.
- @see multiPartBoundary
-*/
-KMIME_EXPORT extern QByteArray uniqueString();
-
-/**
Constructs a random string (sans leading/trailing "--") that can
be used as a multipart delimiter (ie. as @p boundary parameter
to a multipart/... content-type).
diff --git a/src/kmime_util_p.h b/src/kmime_util_p.h
index 12f41f5..9151287 100644
--- a/src/kmime_util_p.h
+++ b/src/kmime_util_p.h
@@ -51,6 +51,16 @@ extern int indexOfHeader(const QByteArray &src, const QByteArray &name, int &end
*/
extern QByteArray encodeRFC2047Sentence(const QString &src, const QByteArray &charset);
+/**
+ * Uses current time, pid and random numbers to construct a string
+ * that aims to be unique on a per-host basis (ie. for the local
+ * part of a message-id or for multipart boundaries.
+ *
+ * @return the unique string.
+ * @see multiPartBoundary
+ */
+extern QByteArray uniqueString();
+
}
// @endcond