]>
git.cameronkatri.com Git - apple_cmds.git/blob - shell_cmds/id/open_directory.h
1 #include <OpenDirectory/OpenDirectory.h>
3 ODNodeRef
CreateNode(void);
5 ODRecordRef
CopyGroupRecordWithGID(ODNodeRef
, gid_t
);
7 ODRecordRef
CopyUserRecordWithUID(ODNodeRef
, uid_t
);
8 ODRecordRef
CopyUserRecordWithUsername(ODNodeRef
, char *);
10 CFArrayRef
CopyGroupRecordsForUser(ODNodeRef
, ODRecordRef
, CFIndex
);
12 CFStringRef
CopyAttrFromRecord(ODRecordRef record
, CFStringRef attribute
);
13 int GetIntAttrFromRecord(ODRecordRef record
, CFStringRef attribute
, int *output
);
14 uid_t
GetUIDFromRecord(ODRecordRef
);
15 gid_t
GetGIDFromRecord(ODRecordRef
);
17 int cfprintf(FILE *file
, const char *format
, ...);
18 int cprintf(const char *format
, ...);