summaryrefslogtreecommitdiffstats
path: root/system_cmds/chpass.tproj/open_directory.h
blob: e6011b7a0d1eb32b38b7b5872b591b7eed18c8a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _OPEN_DIRECTORY_H_
#define _OPEN_DIRECTORY_H_

#include <CoreFoundation/CoreFoundation.h>
#include <OpenDirectory/OpenDirectory.h>

extern void setrestricted(CFDictionaryRef attrs);

ODRecordRef odGetUser(CFStringRef location, CFStringRef authname, CFStringRef user, CFDictionaryRef* attrs);

void odUpdateUser(ODRecordRef rec, CFDictionaryRef attrs_orig, CFDictionaryRef attrs);

#endif /* _OPEN_DIRECTORY_H_ */