Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.





Symbolic Constants




Connection Status

DECLARED IN nikit/domain.h

SYNOPSIS    NI_ALREADYCONNECTED
NI_NOTCONNECTED

DESCRIPTION These constants are used as return values to indicate whether a connection to a NetInfo domain already exists.



Test Modes

DECLARED IN nikit/NILoginPanel.h

SYNOPSIS    NI_USERTESTMODE 0
NI_NETINFOTESTMODE 1

DESCRIPTION These constants are used to set the value of the bootMode instance variable.  You shouldn't need to use them unless you're subclassing NILoginPanel and are overriding one of the runModal methods or implementing a similar method.  The method should set bootMode to NI_USERTESTMODE if the delegate should validate the authentication.  The bootMode instance variable should be set to NI_NETINFOTESTMODE if the authentication should be validated by the ni_setuser() and ni_setpassword() functions, which are documented in the netinfo(3) UNIX manual page.




Structures




NIDomainCellData

DECLARED IN nikit/domain.h

SYNOPSIS    struct NIDomainCellData {
char *name;
BOOL isaLeaf;
}

DESCRIPTION Data for a cell of a domain browser.



NIHierarchyOfDomains

DECLARED IN nikit/domain.h

SYNOPSIS    struct NIHierarchyOfDomains {
int numberOfLevels;
struct NIMultiDomainList *domainListAtLevel;
}

DESCRIPTION Hierarchy of NetInfo domains.



NIMultiDomainList

DECLARED IN nikit/domain.h

SYNOPSIS    struct NIMultiDomainList{
int numberOfDomains;
int activeDomain;
id activeDomainObject;
struct NIDomainCellData *topDomain;
}

DESCRIPTION Data for a domain browser column.