summaryrefslogtreecommitdiffstats
blob: 7dbb03abf144c4e602223a2a2fa74ee1d3587d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "Swiften/Base/String.h"

namespace Swift {
	class StringPrep {
		public:
			enum Profile {
				NamePrep,
				XMPPNodePrep,
				XMPPResourcePrep,
				SASLPrep,
			};

			static String getPrepared(const String& s, Profile profile);
	};
}