this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added the following variables and typedefs to OpenDirectory.h

kODAttributeTypeRecordName
kODAttributeTypeStandardOnly
kODAttributeTypeUserShell
kODRecordTypeUsers

ODAttributeType
ODRecordType

Thomas A a3d971e4 021c83d5

+17
+9
src/OpenDirectory/include/OpenDirectory/OpenDirectory.h
··· 23 23 24 24 #import <Foundation/Foundation.h> 25 25 26 + typedef NSString *ODRecordType; 27 + typedef NSString *ODAttributeType; 28 + 29 + extern const ODAttributeType kODAttributeTypeRecordName; 30 + extern const ODAttributeType kODAttributeTypeStandardOnly; 31 + extern const ODAttributeType kODAttributeTypeUserShell; 32 + 33 + extern const ODRecordType kODRecordTypeUsers; 34 + 26 35 #import <OpenDirectory/ODQueryDelegate.h> 27 36 #import <OpenDirectory/NSODSession.h> 28 37 #import <OpenDirectory/ODSession.h>
+8
src/OpenDirectory/src/OpenDirectory.m
··· 22 22 #include <stdlib.h> 23 23 #include <stdio.h> 24 24 25 + 26 + const ODAttributeType kODAttributeTypeRecordName = @"dsAttrTypeStandard:RecordName"; 27 + const ODAttributeType kODAttributeTypeStandardOnly = @"dsAttributesStandardAll"; 28 + const ODAttributeType kODAttributeTypeUserShell = @"dsAttrTypeStandard:UserShell"; 29 + 30 + const ODRecordType kODRecordTypeUsers = @"dsRecTypeStandard:Users"; 31 + 32 + 25 33 static int verbose = 0; 26 34 27 35 __attribute__((constructor))