r15469: Fix unixinfo interface to use pointers for [out] parameters (required
authorJelmer Vernooij <jelmer@samba.org>
Sat, 6 May 2006 11:24:11 +0000 (11:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:38 +0000 (14:05 -0500)
for generating Samba3-style client functions and midl)
(This used to be commit cc2961427fc649185847fffdf583b05305e6b473)

source4/librpc/idl/unixinfo.idl

index ac75430532c847640d9999557a90200ef9620272..9d1060229f461a37c07e31ba0b4e6d49716f9935 100644 (file)
@@ -16,7 +16,7 @@
        /* Function: 0x00 */
        NTSTATUS unixinfo_SidToUid (
            [in]        dom_sid sid,
-           [out]       hyper uid
+           [out,ref]   hyper *uid
            );
 
        /******************/
        /* Function: 0x02 */
        NTSTATUS unixinfo_SidToGid (
            [in]        dom_sid sid,
-           [out]       hyper gid
+           [out,ref]   hyper *gid
            );
 
        /******************/
        /* Function: 0x03 */
        NTSTATUS unixinfo_GidToSid (
            [in]        hyper gid,
-           [out]       dom_sid *sid
+           [out,ref]   dom_sid *sid
            );
 
     typedef struct {
@@ -49,8 +49,8 @@
        /******************/
        /* Function: 0x04 */
         NTSTATUS unixinfo_GetPWUid (
-               [in,out,range(0,1023)] uint32 count,
-               [in,size_is(count)] hyper uids[],
-               [out,size_is(count)] unixinfo_GetPWUidInfo infos[]
+               [in,out,ref,range(0,1023)] uint32 *count,
+               [in,size_is(*count)] hyper uids[],
+               [out,size_is(*count)] unixinfo_GetPWUidInfo *infos
         );
 }