Updates for 10.5 API changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-02-23 20:42:32 +00:00
parent 845a701069
commit 24d43481a8
138 changed files with 2094 additions and 1536 deletions

View file

@ -108,7 +108,7 @@ typedef struct {
[super dealloc];
}
- (unsigned) hash
- (NSUInteger) hash
{
return [[self host] hash] + [self port]
+ [[self realm] hash] + [[self protocol] hash]
@ -121,7 +121,7 @@ typedef struct {
}
- (id) initWithHost: (NSString *)host
port: (int)port
port: (NSInteger)port
protocol: (NSString *)protocol
realm: (NSString *)realm
authenticationMethod: (NSString *)authenticationMethod
@ -158,7 +158,7 @@ authenticationMethod: (NSString *)authenticationMethod
}
- (id) initWithProxyHost: (NSString *)host
port: (int)port
port: (NSInteger)port
type: (NSString *)type
realm: (NSString *)realm
authenticationMethod: (NSString *)authenticationMethod
@ -250,7 +250,7 @@ authenticationMethod: (NSString *)authenticationMethod
return this->isProxy;
}
- (int) port
- (NSInteger) port
{
return this->port;
}