#import "Root.h"
#import <sys/types.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <net/if.h>
#import <net/if_arp.h>
#import <net/ethernet.h>
#import "LUDictionary.h"
#import "LUArray.h"
#import "LUGlobal.h"
@interface LUAgent : Root
{
BOOL didInit;
char *serviceName;
LUArray *configurationArray;
}
+ (const char *)categoryName:(LUCategory)cat;
+ (const char *)categoryPathname:(LUCategory)cat;
+ (int)categoryWithName:(char *)name;
+ (char **)variationsOfEthernetAddress:(char *)addr;
+ (char *)canonicalEthernetAddress:(char *)addr;
+ (char *)canonicalAgentName:(char *)name;
+ (char *)canonicalServiceName:(char *)name;
- (LUAgent *)initWithArg:(char *)arg;
- (const char *)serviceName;
- (const char *)shortName;
- (LUDictionary *)statistics;
- (void)resetStatistics;
- (LUDictionary *)ipv6NodeWithName:(char *)name;
- (LUDictionary *)serviceWithName:(char *)name
protocol:(char *)prot;
- (LUDictionary *)serviceWithNumber:(int *)number
protocol:(char *)prot;
- (LUDictionary *)netgroupWithName:(char *)name;
- (BOOL)inNetgroup:(char *)group
host:(char *)host
user:(char *)user
domain:(char *)domain;
- (LUDictionary *)allGroupsWithUser:(char *)name;
- (LUDictionary *)itemWithKey:(char *)key
value:(char *)val
category:(LUCategory)cat;
- (LUArray *)query:(LUDictionary *)pattern;
- (LUArray *)query:(LUDictionary *)pattern category:(LUCategory)cat;
- (LUArray *)allItemsWithCategory:(LUCategory)cat;
@end