1 /* This is an automatically generated file - DO NOT EDIT! */
3 int gen_dump_struct_domain_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
4 int gen_parse_struct_domain_sub_structure(TALLOC_CTX
*mem_ctx
, char *, const char *);
5 static const struct parse_struct pinfo_domain_sub_structure
[] = {
6 {"next_rid", 0, sizeof(uint32
), offsetof(struct domain_sub_structure
, next_rid
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
7 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
9 int gen_dump_struct_domain_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
10 return gen_dump_struct(mem_ctx
, pinfo_domain_sub_structure
, p
, ptr
, indent
);
12 int gen_parse_struct_domain_sub_structure(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
13 return gen_parse_struct(mem_ctx
, pinfo_domain_sub_structure
, ptr
, str
);
16 int gen_dump_struct_tdbsam2_domain_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
17 int gen_parse_struct_tdbsam2_domain_data(TALLOC_CTX
*mem_ctx
, char *, const char *);
18 static const struct parse_struct pinfo_tdbsam2_domain_data
[] = {
19 {"mem_ctx", 1, sizeof(TALLOC_CTX
), offsetof(struct tdbsam2_domain_data
, mem_ctx
), 0, NULL
, 0, gen_dump_TALLOC_CTX
, gen_parse_TALLOC_CTX
},
20 {"type", 0, sizeof(uint32
), offsetof(struct tdbsam2_domain_data
, type
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
21 {"version", 0, sizeof(uint32
), offsetof(struct tdbsam2_domain_data
, version
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
22 {"xcounter", 0, sizeof(uint32
), offsetof(struct tdbsam2_domain_data
, xcounter
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
23 {"sec_desc", 1, sizeof(SEC_DESC
), offsetof(struct tdbsam2_domain_data
, sec_desc
), 0, NULL
, 0, gen_dump_SEC_DESC
, gen_parse_SEC_DESC
},
24 {"dom_sid", 1, sizeof(DOM_SID
), offsetof(struct tdbsam2_domain_data
, dom_sid
), 0, NULL
, 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
25 {"name", 1, sizeof(char), offsetof(struct tdbsam2_domain_data
, name
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
26 {"description", 1, sizeof(char), offsetof(struct tdbsam2_domain_data
, description
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
27 {"dss", 1, sizeof(struct domain_sub_structure
), offsetof(struct tdbsam2_domain_data
, dss
), 0, NULL
, 0, gen_dump_struct_domain_sub_structure
, gen_parse_struct_domain_sub_structure
},
28 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
30 int gen_dump_struct_tdbsam2_domain_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
31 return gen_dump_struct(mem_ctx
, pinfo_tdbsam2_domain_data
, p
, ptr
, indent
);
33 int gen_parse_struct_tdbsam2_domain_data(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
34 return gen_parse_struct(mem_ctx
, pinfo_tdbsam2_domain_data
, ptr
, str
);
37 int gen_dump_struct_user_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
38 int gen_parse_struct_user_sub_structure(TALLOC_CTX
*mem_ctx
, char *, const char *);
39 static const struct parse_struct pinfo_user_sub_structure
[] = {
40 {"group_sid", 1, sizeof(DOM_SID
), offsetof(struct user_sub_structure
, group_sid
), 0, NULL
, 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
41 {"logon_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, logon_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
42 {"logoff_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, logoff_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
43 {"kickoff_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, kickoff_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
44 {"pass_last_set_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, pass_last_set_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
45 {"pass_can_change_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, pass_can_change_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
46 {"pass_must_change_time", 0, sizeof(NTTIME
), offsetof(struct user_sub_structure
, pass_must_change_time
), 0, NULL
, 0, gen_dump_NTTIME
, gen_parse_NTTIME
},
47 {"full_name", 1, sizeof(char), offsetof(struct user_sub_structure
, full_name
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
48 {"home_dir", 1, sizeof(char), offsetof(struct user_sub_structure
, home_dir
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
49 {"dir_drive", 1, sizeof(char), offsetof(struct user_sub_structure
, dir_drive
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
50 {"logon_script", 1, sizeof(char), offsetof(struct user_sub_structure
, logon_script
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
51 {"profile_path", 1, sizeof(char), offsetof(struct user_sub_structure
, profile_path
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
52 {"workstations", 1, sizeof(char), offsetof(struct user_sub_structure
, workstations
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
53 {"unknown_str", 1, sizeof(char), offsetof(struct user_sub_structure
, unknown_str
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
54 {"munged_dial", 1, sizeof(char), offsetof(struct user_sub_structure
, munged_dial
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
55 {"lm_pw", 0, sizeof(DATA_BLOB
), offsetof(struct user_sub_structure
, lm_pw
), 0, NULL
, 0, gen_dump_DATA_BLOB
, gen_parse_DATA_BLOB
},
56 {"nt_pw", 0, sizeof(DATA_BLOB
), offsetof(struct user_sub_structure
, nt_pw
), 0, NULL
, 0, gen_dump_DATA_BLOB
, gen_parse_DATA_BLOB
},
57 {"acct_ctrl", 0, sizeof(uint16
), offsetof(struct user_sub_structure
, acct_ctrl
), 0, NULL
, 0, gen_dump_uint16
, gen_parse_uint16
},
58 {"logon_divs", 0, sizeof(uint16
), offsetof(struct user_sub_structure
, logon_divs
), 0, NULL
, 0, gen_dump_uint16
, gen_parse_uint16
},
59 {"hours_len", 0, sizeof(uint32
), offsetof(struct user_sub_structure
, hours_len
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
60 {"hours", 1, sizeof(uint8
), offsetof(struct user_sub_structure
, hours
), 0, "hours_len", 0, gen_dump_uint8
, gen_parse_uint8
},
61 {"bad_password_count", 0, sizeof(uint16
), offsetof(struct user_sub_structure
, bad_password_count
), 0, NULL
, 0, gen_dump_uint16
, gen_parse_uint16
},
62 {"logon_count", 0, sizeof(uint16
), offsetof(struct user_sub_structure
, logon_count
), 0, NULL
, 0, gen_dump_uint16
, gen_parse_uint16
},
63 {"unknown_3", 0, sizeof(uint32
), offsetof(struct user_sub_structure
, unknown_3
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
64 {"unknown_6", 0, sizeof(uint32
), offsetof(struct user_sub_structure
, unknown_6
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
65 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
67 int gen_dump_struct_user_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
68 return gen_dump_struct(mem_ctx
, pinfo_user_sub_structure
, p
, ptr
, indent
);
70 int gen_parse_struct_user_sub_structure(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
71 return gen_parse_struct(mem_ctx
, pinfo_user_sub_structure
, ptr
, str
);
74 int gen_dump_struct_tdbsam2_user_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
75 int gen_parse_struct_tdbsam2_user_data(TALLOC_CTX
*mem_ctx
, char *, const char *);
76 static const struct parse_struct pinfo_tdbsam2_user_data
[] = {
77 {"mem_ctx", 1, sizeof(TALLOC_CTX
), offsetof(struct tdbsam2_user_data
, mem_ctx
), 0, NULL
, 0, gen_dump_TALLOC_CTX
, gen_parse_TALLOC_CTX
},
78 {"type", 0, sizeof(uint32
), offsetof(struct tdbsam2_user_data
, type
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
79 {"version", 0, sizeof(uint32
), offsetof(struct tdbsam2_user_data
, version
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
80 {"xcounter", 0, sizeof(uint32
), offsetof(struct tdbsam2_user_data
, xcounter
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
81 {"sec_desc", 1, sizeof(SEC_DESC
), offsetof(struct tdbsam2_user_data
, sec_desc
), 0, NULL
, 0, gen_dump_SEC_DESC
, gen_parse_SEC_DESC
},
82 {"user_sid", 1, sizeof(DOM_SID
), offsetof(struct tdbsam2_user_data
, user_sid
), 0, NULL
, 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
83 {"name", 1, sizeof(char), offsetof(struct tdbsam2_user_data
, name
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
84 {"description", 1, sizeof(char), offsetof(struct tdbsam2_user_data
, description
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
85 {"uss", 1, sizeof(struct user_sub_structure
), offsetof(struct tdbsam2_user_data
, uss
), 0, NULL
, 0, gen_dump_struct_user_sub_structure
, gen_parse_struct_user_sub_structure
},
86 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
88 int gen_dump_struct_tdbsam2_user_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
89 return gen_dump_struct(mem_ctx
, pinfo_tdbsam2_user_data
, p
, ptr
, indent
);
91 int gen_parse_struct_tdbsam2_user_data(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
92 return gen_parse_struct(mem_ctx
, pinfo_tdbsam2_user_data
, ptr
, str
);
95 int gen_dump_struct_group_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
96 int gen_parse_struct_group_sub_structure(TALLOC_CTX
*mem_ctx
, char *, const char *);
97 static const struct parse_struct pinfo_group_sub_structure
[] = {
98 {"count", 0, sizeof(uint32
), offsetof(struct group_sub_structure
, count
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
99 {"members", 1, sizeof(DOM_SID
), offsetof(struct group_sub_structure
, members
), 0, "count", 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
100 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
102 int gen_dump_struct_group_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
103 return gen_dump_struct(mem_ctx
, pinfo_group_sub_structure
, p
, ptr
, indent
);
105 int gen_parse_struct_group_sub_structure(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
106 return gen_parse_struct(mem_ctx
, pinfo_group_sub_structure
, ptr
, str
);
109 int gen_dump_struct_tdbsam2_group_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
110 int gen_parse_struct_tdbsam2_group_data(TALLOC_CTX
*mem_ctx
, char *, const char *);
111 static const struct parse_struct pinfo_tdbsam2_group_data
[] = {
112 {"mem_ctx", 1, sizeof(TALLOC_CTX
), offsetof(struct tdbsam2_group_data
, mem_ctx
), 0, NULL
, 0, gen_dump_TALLOC_CTX
, gen_parse_TALLOC_CTX
},
113 {"type", 0, sizeof(uint32
), offsetof(struct tdbsam2_group_data
, type
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
114 {"version", 0, sizeof(uint32
), offsetof(struct tdbsam2_group_data
, version
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
115 {"xcounter", 0, sizeof(uint32
), offsetof(struct tdbsam2_group_data
, xcounter
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
116 {"sec_desc", 1, sizeof(SEC_DESC
), offsetof(struct tdbsam2_group_data
, sec_desc
), 0, NULL
, 0, gen_dump_SEC_DESC
, gen_parse_SEC_DESC
},
117 {"group_sid", 1, sizeof(DOM_SID
), offsetof(struct tdbsam2_group_data
, group_sid
), 0, NULL
, 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
118 {"name", 1, sizeof(char), offsetof(struct tdbsam2_group_data
, name
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
119 {"description", 1, sizeof(char), offsetof(struct tdbsam2_group_data
, description
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
120 {"gss", 1, sizeof(struct group_sub_structure
), offsetof(struct tdbsam2_group_data
, gss
), 0, NULL
, 0, gen_dump_struct_group_sub_structure
, gen_parse_struct_group_sub_structure
},
121 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
123 int gen_dump_struct_tdbsam2_group_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
124 return gen_dump_struct(mem_ctx
, pinfo_tdbsam2_group_data
, p
, ptr
, indent
);
126 int gen_parse_struct_tdbsam2_group_data(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
127 return gen_parse_struct(mem_ctx
, pinfo_tdbsam2_group_data
, ptr
, str
);
130 int gen_dump_struct_priv_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
131 int gen_parse_struct_priv_sub_structure(TALLOC_CTX
*mem_ctx
, char *, const char *);
132 static const struct parse_struct pinfo_priv_sub_structure
[] = {
133 {"privilege", 1, sizeof(LUID_ATTR
), offsetof(struct priv_sub_structure
, privilege
), 0, NULL
, 0, gen_dump_LUID_ATTR
, gen_parse_LUID_ATTR
},
134 {"count", 0, sizeof(uint32
), offsetof(struct priv_sub_structure
, count
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
135 {"members", 1, sizeof(DOM_SID
), offsetof(struct priv_sub_structure
, members
), 0, "count", 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
136 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
138 int gen_dump_struct_priv_sub_structure(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
139 return gen_dump_struct(mem_ctx
, pinfo_priv_sub_structure
, p
, ptr
, indent
);
141 int gen_parse_struct_priv_sub_structure(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
142 return gen_parse_struct(mem_ctx
, pinfo_priv_sub_structure
, ptr
, str
);
145 int gen_dump_struct_tdbsam2_priv_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*, const char *, unsigned);
146 int gen_parse_struct_tdbsam2_priv_data(TALLOC_CTX
*mem_ctx
, char *, const char *);
147 static const struct parse_struct pinfo_tdbsam2_priv_data
[] = {
148 {"mem_ctx", 1, sizeof(TALLOC_CTX
), offsetof(struct tdbsam2_priv_data
, mem_ctx
), 0, NULL
, 0, gen_dump_TALLOC_CTX
, gen_parse_TALLOC_CTX
},
149 {"type", 0, sizeof(uint32
), offsetof(struct tdbsam2_priv_data
, type
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
150 {"version", 0, sizeof(uint32
), offsetof(struct tdbsam2_priv_data
, version
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
151 {"xcounter", 0, sizeof(uint32
), offsetof(struct tdbsam2_priv_data
, xcounter
), 0, NULL
, 0, gen_dump_uint32
, gen_parse_uint32
},
152 {"null_sid", 1, sizeof(DOM_SID
), offsetof(struct tdbsam2_priv_data
, null_sid
), 0, NULL
, 0, gen_dump_DOM_SID
, gen_parse_DOM_SID
},
153 {"name", 1, sizeof(char), offsetof(struct tdbsam2_priv_data
, name
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
154 {"description", 1, sizeof(char), offsetof(struct tdbsam2_priv_data
, description
), 0, NULL
, FLAG_NULLTERM
, gen_dump_char
, gen_parse_char
},
155 {"pss", 1, sizeof(struct priv_sub_structure
), offsetof(struct tdbsam2_priv_data
, pss
), 0, NULL
, 0, gen_dump_struct_priv_sub_structure
, gen_parse_struct_priv_sub_structure
},
156 {NULL
, 0, 0, 0, 0, NULL
, 0, NULL
, NULL
}};
158 int gen_dump_struct_tdbsam2_priv_data(TALLOC_CTX
*mem_ctx
, struct parse_string
*p
, const char *ptr
, unsigned indent
) {
159 return gen_dump_struct(mem_ctx
, pinfo_tdbsam2_priv_data
, p
, ptr
, indent
);
161 int gen_parse_struct_tdbsam2_priv_data(TALLOC_CTX
*mem_ctx
, char *ptr
, const char *str
) {
162 return gen_parse_struct(mem_ctx
, pinfo_tdbsam2_priv_data
, ptr
, str
);