Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (34 sloc) 0.906 kb
0c33d97 @jonasf73 First import
authored
1 //
2 // DUInterface.h
3 // DNSUpdate2
4 //
5 // Created by jalon on Sat Mar 31 2001.
6 // Copyright (c) 2001-2003 Julien Jalon. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 extern NSString *DUInterfaceOk;
12 extern NSString *DUIPCheckError;
13
14 @interface DUInterface : NSObject {
15 NSString *interfaceName;
16 NSString *interfaceError;
17 NSString *cachedIP;
18 BOOL active;
19 }
20
21 + (NSDictionary *)interfaces;
22 + (void)registerInterface:(DUInterface *)theInterface;
23 + getInterface:(NSString *)theName;
24
25 + (void)resetMustNotifyObservers;
26 + (BOOL)mustNotifyObservers;
27 + (void)setMustNotifyObservers;
28 + (void)resetCachedAddresses;
29
30 - initWithName:(NSString *)theName;
31
32 - (void)cacheAddress;
33 - (NSString *)getAddress;
34 - (void)resetCachedAddress;
35 - (void)setActive:(BOOL)flag;
36 - (BOOL)isActive;
37 - (NSString *)getError;
38 - (void)resetError;
39 - (NSString *)getName;
40 - (void)setName:(NSString *)theName;
41
42 @end
Something went wrong with that request. Please try again.