29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
-
+
-
+
|
#include <stringprep.h>
#import "XMPPJID.h"
#import "XMPPExceptions.h"
@implementation XMPPJID
+ JID
+ (instancetype)JID
{
return [[[self alloc] init] autorelease];
}
+ JIDWithString: (OFString*)string
+ (instancetype)JIDWithString: (OFString*)string
{
return [[[self alloc] initWithString: string] autorelease];
}
- initWithString: (OFString*)string
{
size_t nodesep, resourcesep;
|