s3-nbt: fix nbt.idl in order to use shared nbt helper.
authorGünther Deschner <gd@samba.org>
Tue, 23 Sep 2008 06:31:34 +0000 (08:31 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 23 Sep 2008 07:37:23 +0000 (09:37 +0200)
Guenther

source3/librpc/idl/nbt.idl

index 654f53c52f49cc4ddfa722bf68587795185e1316..99bffc8755504ea5a208510d775eb393dd26eb2b 100644 (file)
@@ -73,11 +73,11 @@ interface nbt
                nbt_name_type type;
        } nbt_name;
 
-       typedef [enum16bit] enum {
+       typedef [public,enum16bit] enum {
                NBT_QCLASS_IP = 0x01
        } nbt_qclass;
 
-       typedef [enum16bit] enum {
+       typedef [public,enum16bit] enum {
                NBT_QTYPE_ADDRESS     = 0x0001,
                NBT_QTYPE_NAMESERVICE = 0x0002,
                NBT_QTYPE_NULL        = 0x000A,
@@ -160,7 +160,7 @@ interface nbt
                uint8  data[length];
        } nbt_rdata_data;
 
-       typedef [nodiscriminant] union {
+       typedef [nodiscriminant,public] union {
                [case(NBT_QTYPE_NETBIOS)] nbt_rdata_netbios netbios;
                [case(NBT_QTYPE_STATUS)]  nbt_rdata_status status;
                [default]                 nbt_rdata_data   data;