~ubuntu-branches/ubuntu/oneiric/samba/oneiric-security

« back to all changes in this revision

Viewing changes to .pc/fix-windows7-print-connection.patch/librpc/gen_ndr/misc.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-03-02 16:05:41 UTC
  • Revision ID: james.westby@ubuntu.com-20110302160541-oi1y7yhqn9qe2phs
Tags: 2:3.5.6~dfsg-5ubuntu3
* debian/patches/fix-windows7-print-connection.patch: Fix
  error "0x000003e6" when trying to connect a Windows 7 printer
  to a domain. (LP: #674216)
* debian/samba-common.dhcp: Take in account of the upstart script.
  (LP: #652065)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* header auto-generated by pidl */
 
2
 
 
3
#include <stdint.h>
 
4
 
 
5
#include "libcli/util/ntstatus.h"
 
6
 
 
7
#ifndef _HEADER_misc
 
8
#define _HEADER_misc
 
9
 
 
10
struct GUID {
 
11
        uint32_t time_low;
 
12
        uint16_t time_mid;
 
13
        uint16_t time_hi_and_version;
 
14
        uint8_t clock_seq[2];
 
15
        uint8_t node[6];
 
16
}/* [noprint,gensize,public] */;
 
17
 
 
18
struct ndr_syntax_id {
 
19
        struct GUID uuid;
 
20
        uint32_t if_version;
 
21
}/* [public] */;
 
22
 
 
23
struct policy_handle {
 
24
        uint32_t handle_type;
 
25
        struct GUID uuid;
 
26
}/* [public] */;
 
27
 
 
28
enum netr_SchannelType
 
29
#ifndef USE_UINT_ENUMS
 
30
 {
 
31
        SEC_CHAN_NULL=(int)(0),
 
32
        SEC_CHAN_WKSTA=(int)(2),
 
33
        SEC_CHAN_DNS_DOMAIN=(int)(3),
 
34
        SEC_CHAN_DOMAIN=(int)(4),
 
35
        SEC_CHAN_BDC=(int)(6)
 
36
}
 
37
#else
 
38
 { __donnot_use_enum_netr_SchannelType=0x7FFFFFFF}
 
39
#define SEC_CHAN_NULL ( 0 )
 
40
#define SEC_CHAN_WKSTA ( 2 )
 
41
#define SEC_CHAN_DNS_DOMAIN ( 3 )
 
42
#define SEC_CHAN_DOMAIN ( 4 )
 
43
#define SEC_CHAN_BDC ( 6 )
 
44
#endif
 
45
;
 
46
 
 
47
struct KRB5_EDATA_NTSTATUS {
 
48
        NTSTATUS ntstatus;
 
49
        uint32_t unknown1;
 
50
        uint32_t unknown2;
 
51
}/* [public] */;
 
52
 
 
53
enum winreg_Type
 
54
#ifndef USE_UINT_ENUMS
 
55
 {
 
56
        REG_NONE=(int)(0),
 
57
        REG_SZ=(int)(1),
 
58
        REG_EXPAND_SZ=(int)(2),
 
59
        REG_BINARY=(int)(3),
 
60
        REG_DWORD=(int)(4),
 
61
        REG_DWORD_BIG_ENDIAN=(int)(5),
 
62
        REG_LINK=(int)(6),
 
63
        REG_MULTI_SZ=(int)(7),
 
64
        REG_RESOURCE_LIST=(int)(8),
 
65
        REG_FULL_RESOURCE_DESCRIPTOR=(int)(9),
 
66
        REG_RESOURCE_REQUIREMENTS_LIST=(int)(10),
 
67
        REG_QWORD=(int)(11)
 
68
}
 
69
#else
 
70
 { __donnot_use_enum_winreg_Type=0x7FFFFFFF}
 
71
#define REG_NONE ( 0 )
 
72
#define REG_SZ ( 1 )
 
73
#define REG_EXPAND_SZ ( 2 )
 
74
#define REG_BINARY ( 3 )
 
75
#define REG_DWORD ( 4 )
 
76
#define REG_DWORD_BIG_ENDIAN ( 5 )
 
77
#define REG_LINK ( 6 )
 
78
#define REG_MULTI_SZ ( 7 )
 
79
#define REG_RESOURCE_LIST ( 8 )
 
80
#define REG_FULL_RESOURCE_DESCRIPTOR ( 9 )
 
81
#define REG_RESOURCE_REQUIREMENTS_LIST ( 10 )
 
82
#define REG_QWORD ( 11 )
 
83
#endif
 
84
;
 
85
 
 
86
union winreg_Data {
 
87
        const char * string;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_SZ)] */
 
88
        DATA_BLOB binary;/* [flag(LIBNDR_FLAG_REMAINING),case(REG_BINARY)] */
 
89
        uint32_t value;/* [case(REG_DWORD)] */
 
90
        const char ** string_array;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_MULTI_SZ)] */
 
91
        DATA_BLOB data;/* [flag(LIBNDR_FLAG_REMAINING),default] */
 
92
}/* [public,nodiscriminant,flag(LIBNDR_FLAG_LITTLE_ENDIAN)] */;
 
93
 
 
94
#endif /* _HEADER_misc */