summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_unixinfo.h
blob: d21fb839addeefb15d0dcd0064875c3f342897fa (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "librpc/gen_ndr/ndr_unixinfo.h"
#ifndef __SRV_UNIXINFO__
#define __SRV_UNIXINFO__
NTSTATUS _unixinfo_SidToUid(pipes_struct *p, struct dom_sid sid, uint64_t *uid);
NTSTATUS _unixinfo_UidToSid(pipes_struct *p, uint64_t uid, struct dom_sid *sid);
NTSTATUS _unixinfo_SidToGid(pipes_struct *p, struct dom_sid sid, uint64_t *gid);
NTSTATUS _unixinfo_GidToSid(pipes_struct *p, uint64_t gid, struct dom_sid *sid);
NTSTATUS _unixinfo_GetPWUid(pipes_struct *p, uint32_t *count, uint64_t *uids, struct unixinfo_GetPWUidInfo *infos);
void unixinfo_get_pipe_fns(struct api_struct **fns, int *n_fns);
NTSTATUS rpc_unixinfo_init(void);
#endif /* __SRV_UNIXINFO__ */