build: Add an always parameter to CHECK_DECLS
[Samba/gebeck_regimport.git] / librpc / idl / unixinfo.idl
blob6929e86e61f26e2a7f17e1baf3ffb999d212e9e2
1 #include "idl_types.h"
2 /*
3 Unixinfo interface definition
4 */
6 import "security.idl";
8 [ uuid("9c54e310-a955-4885-bd31-78787147dfa6"),
9 version(0.0),
10 endpoint("ncacn_np:[\\pipe\\unixinfo]", "ncacn_ip_tcp:", "ncalrpc:"),
11 pointer_default(unique),
12 helpstring("Unixinfo specific stuff")
13 ] interface unixinfo
15 /******************/
16 /* Function: 0x00 */
17 NTSTATUS unixinfo_SidToUid (
18 [in] dom_sid sid,
19 [out] hyper *uid
22 /******************/
23 /* Function: 0x01 */
24 NTSTATUS unixinfo_UidToSid (
25 [in] hyper uid,
26 [out] dom_sid *sid
29 /******************/
30 /* Function: 0x02 */
31 NTSTATUS unixinfo_SidToGid (
32 [in] dom_sid sid,
33 [out] hyper *gid
36 /******************/
37 /* Function: 0x03 */
38 NTSTATUS unixinfo_GidToSid (
39 [in] hyper gid,
40 [out] dom_sid *sid
43 typedef struct {
44 NTSTATUS status;
45 [charset(UTF8),string] uint8 homedir[];
46 [charset(UTF8),string] uint8 shell[];
47 } unixinfo_GetPWUidInfo;
49 /******************/
50 /* Function: 0x04 */
51 NTSTATUS unixinfo_GetPWUid (
52 [in,out,ref,range(0,1023)] uint32 *count,
53 [in,size_is(*count)] hyper uids[],
54 [out,size_is(*count)] unixinfo_GetPWUidInfo infos[*]