~lefteris-nikoltsios/+junk/samba-lp1016895

« back to all changes in this revision

Viewing changes to source3/librpc/gen_ndr/ndr_audiosrv.c

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* parser auto-generated by pidl */
 
2
 
 
3
#include "includes.h"
 
4
#include "librpc/gen_ndr/ndr_audiosrv.h"
 
5
 
 
6
static enum ndr_err_code ndr_push_audiosrv_CreatezoneFactoriesList(struct ndr_push *ndr, int flags, const struct audiosrv_CreatezoneFactoriesList *r)
 
7
{
 
8
        if (flags & NDR_IN) {
 
9
        }
 
10
        if (flags & NDR_OUT) {
 
11
        }
 
12
        return NDR_ERR_SUCCESS;
 
13
}
 
14
 
 
15
static enum ndr_err_code ndr_pull_audiosrv_CreatezoneFactoriesList(struct ndr_pull *ndr, int flags, struct audiosrv_CreatezoneFactoriesList *r)
 
16
{
 
17
        if (flags & NDR_IN) {
 
18
        }
 
19
        if (flags & NDR_OUT) {
 
20
        }
 
21
        return NDR_ERR_SUCCESS;
 
22
}
 
23
 
 
24
_PUBLIC_ void ndr_print_audiosrv_CreatezoneFactoriesList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreatezoneFactoriesList *r)
 
25
{
 
26
        ndr_print_struct(ndr, name, "audiosrv_CreatezoneFactoriesList");
 
27
        if (r == NULL) { ndr_print_null(ndr); return; }
 
28
        ndr->depth++;
 
29
        if (flags & NDR_SET_VALUES) {
 
30
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
31
        }
 
32
        if (flags & NDR_IN) {
 
33
                ndr_print_struct(ndr, "in", "audiosrv_CreatezoneFactoriesList");
 
34
                ndr->depth++;
 
35
                ndr->depth--;
 
36
        }
 
37
        if (flags & NDR_OUT) {
 
38
                ndr_print_struct(ndr, "out", "audiosrv_CreatezoneFactoriesList");
 
39
                ndr->depth++;
 
40
                ndr->depth--;
 
41
        }
 
42
        ndr->depth--;
 
43
}
 
44
 
 
45
static enum ndr_err_code ndr_push_audiosrv_CreateGfxFactoriesList(struct ndr_push *ndr, int flags, const struct audiosrv_CreateGfxFactoriesList *r)
 
46
{
 
47
        if (flags & NDR_IN) {
 
48
        }
 
49
        if (flags & NDR_OUT) {
 
50
        }
 
51
        return NDR_ERR_SUCCESS;
 
52
}
 
53
 
 
54
static enum ndr_err_code ndr_pull_audiosrv_CreateGfxFactoriesList(struct ndr_pull *ndr, int flags, struct audiosrv_CreateGfxFactoriesList *r)
 
55
{
 
56
        if (flags & NDR_IN) {
 
57
        }
 
58
        if (flags & NDR_OUT) {
 
59
        }
 
60
        return NDR_ERR_SUCCESS;
 
61
}
 
62
 
 
63
_PUBLIC_ void ndr_print_audiosrv_CreateGfxFactoriesList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreateGfxFactoriesList *r)
 
64
{
 
65
        ndr_print_struct(ndr, name, "audiosrv_CreateGfxFactoriesList");
 
66
        if (r == NULL) { ndr_print_null(ndr); return; }
 
67
        ndr->depth++;
 
68
        if (flags & NDR_SET_VALUES) {
 
69
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
70
        }
 
71
        if (flags & NDR_IN) {
 
72
                ndr_print_struct(ndr, "in", "audiosrv_CreateGfxFactoriesList");
 
73
                ndr->depth++;
 
74
                ndr->depth--;
 
75
        }
 
76
        if (flags & NDR_OUT) {
 
77
                ndr_print_struct(ndr, "out", "audiosrv_CreateGfxFactoriesList");
 
78
                ndr->depth++;
 
79
                ndr->depth--;
 
80
        }
 
81
        ndr->depth--;
 
82
}
 
83
 
 
84
static enum ndr_err_code ndr_push_audiosrv_CreateGfxList(struct ndr_push *ndr, int flags, const struct audiosrv_CreateGfxList *r)
 
85
{
 
86
        if (flags & NDR_IN) {
 
87
        }
 
88
        if (flags & NDR_OUT) {
 
89
        }
 
90
        return NDR_ERR_SUCCESS;
 
91
}
 
92
 
 
93
static enum ndr_err_code ndr_pull_audiosrv_CreateGfxList(struct ndr_pull *ndr, int flags, struct audiosrv_CreateGfxList *r)
 
94
{
 
95
        if (flags & NDR_IN) {
 
96
        }
 
97
        if (flags & NDR_OUT) {
 
98
        }
 
99
        return NDR_ERR_SUCCESS;
 
100
}
 
101
 
 
102
_PUBLIC_ void ndr_print_audiosrv_CreateGfxList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreateGfxList *r)
 
103
{
 
104
        ndr_print_struct(ndr, name, "audiosrv_CreateGfxList");
 
105
        if (r == NULL) { ndr_print_null(ndr); return; }
 
106
        ndr->depth++;
 
107
        if (flags & NDR_SET_VALUES) {
 
108
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
109
        }
 
110
        if (flags & NDR_IN) {
 
111
                ndr_print_struct(ndr, "in", "audiosrv_CreateGfxList");
 
112
                ndr->depth++;
 
113
                ndr->depth--;
 
114
        }
 
115
        if (flags & NDR_OUT) {
 
116
                ndr_print_struct(ndr, "out", "audiosrv_CreateGfxList");
 
117
                ndr->depth++;
 
118
                ndr->depth--;
 
119
        }
 
120
        ndr->depth--;
 
121
}
 
122
 
 
123
static enum ndr_err_code ndr_push_audiosrv_RemoveGfx(struct ndr_push *ndr, int flags, const struct audiosrv_RemoveGfx *r)
 
124
{
 
125
        if (flags & NDR_IN) {
 
126
        }
 
127
        if (flags & NDR_OUT) {
 
128
        }
 
129
        return NDR_ERR_SUCCESS;
 
130
}
 
131
 
 
132
static enum ndr_err_code ndr_pull_audiosrv_RemoveGfx(struct ndr_pull *ndr, int flags, struct audiosrv_RemoveGfx *r)
 
133
{
 
134
        if (flags & NDR_IN) {
 
135
        }
 
136
        if (flags & NDR_OUT) {
 
137
        }
 
138
        return NDR_ERR_SUCCESS;
 
139
}
 
140
 
 
141
_PUBLIC_ void ndr_print_audiosrv_RemoveGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_RemoveGfx *r)
 
142
{
 
143
        ndr_print_struct(ndr, name, "audiosrv_RemoveGfx");
 
144
        if (r == NULL) { ndr_print_null(ndr); return; }
 
145
        ndr->depth++;
 
146
        if (flags & NDR_SET_VALUES) {
 
147
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
148
        }
 
149
        if (flags & NDR_IN) {
 
150
                ndr_print_struct(ndr, "in", "audiosrv_RemoveGfx");
 
151
                ndr->depth++;
 
152
                ndr->depth--;
 
153
        }
 
154
        if (flags & NDR_OUT) {
 
155
                ndr_print_struct(ndr, "out", "audiosrv_RemoveGfx");
 
156
                ndr->depth++;
 
157
                ndr->depth--;
 
158
        }
 
159
        ndr->depth--;
 
160
}
 
161
 
 
162
static enum ndr_err_code ndr_push_audiosrv_AddGfx(struct ndr_push *ndr, int flags, const struct audiosrv_AddGfx *r)
 
163
{
 
164
        if (flags & NDR_IN) {
 
165
        }
 
166
        if (flags & NDR_OUT) {
 
167
        }
 
168
        return NDR_ERR_SUCCESS;
 
169
}
 
170
 
 
171
static enum ndr_err_code ndr_pull_audiosrv_AddGfx(struct ndr_pull *ndr, int flags, struct audiosrv_AddGfx *r)
 
172
{
 
173
        if (flags & NDR_IN) {
 
174
        }
 
175
        if (flags & NDR_OUT) {
 
176
        }
 
177
        return NDR_ERR_SUCCESS;
 
178
}
 
179
 
 
180
_PUBLIC_ void ndr_print_audiosrv_AddGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_AddGfx *r)
 
181
{
 
182
        ndr_print_struct(ndr, name, "audiosrv_AddGfx");
 
183
        if (r == NULL) { ndr_print_null(ndr); return; }
 
184
        ndr->depth++;
 
185
        if (flags & NDR_SET_VALUES) {
 
186
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
187
        }
 
188
        if (flags & NDR_IN) {
 
189
                ndr_print_struct(ndr, "in", "audiosrv_AddGfx");
 
190
                ndr->depth++;
 
191
                ndr->depth--;
 
192
        }
 
193
        if (flags & NDR_OUT) {
 
194
                ndr_print_struct(ndr, "out", "audiosrv_AddGfx");
 
195
                ndr->depth++;
 
196
                ndr->depth--;
 
197
        }
 
198
        ndr->depth--;
 
199
}
 
200
 
 
201
static enum ndr_err_code ndr_push_audiosrv_ModifyGfx(struct ndr_push *ndr, int flags, const struct audiosrv_ModifyGfx *r)
 
202
{
 
203
        if (flags & NDR_IN) {
 
204
        }
 
205
        if (flags & NDR_OUT) {
 
206
        }
 
207
        return NDR_ERR_SUCCESS;
 
208
}
 
209
 
 
210
static enum ndr_err_code ndr_pull_audiosrv_ModifyGfx(struct ndr_pull *ndr, int flags, struct audiosrv_ModifyGfx *r)
 
211
{
 
212
        if (flags & NDR_IN) {
 
213
        }
 
214
        if (flags & NDR_OUT) {
 
215
        }
 
216
        return NDR_ERR_SUCCESS;
 
217
}
 
218
 
 
219
_PUBLIC_ void ndr_print_audiosrv_ModifyGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_ModifyGfx *r)
 
220
{
 
221
        ndr_print_struct(ndr, name, "audiosrv_ModifyGfx");
 
222
        if (r == NULL) { ndr_print_null(ndr); return; }
 
223
        ndr->depth++;
 
224
        if (flags & NDR_SET_VALUES) {
 
225
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
226
        }
 
227
        if (flags & NDR_IN) {
 
228
                ndr_print_struct(ndr, "in", "audiosrv_ModifyGfx");
 
229
                ndr->depth++;
 
230
                ndr->depth--;
 
231
        }
 
232
        if (flags & NDR_OUT) {
 
233
                ndr_print_struct(ndr, "out", "audiosrv_ModifyGfx");
 
234
                ndr->depth++;
 
235
                ndr->depth--;
 
236
        }
 
237
        ndr->depth--;
 
238
}
 
239
 
 
240
static enum ndr_err_code ndr_push_audiosrv_OpenGfx(struct ndr_push *ndr, int flags, const struct audiosrv_OpenGfx *r)
 
241
{
 
242
        if (flags & NDR_IN) {
 
243
        }
 
244
        if (flags & NDR_OUT) {
 
245
        }
 
246
        return NDR_ERR_SUCCESS;
 
247
}
 
248
 
 
249
static enum ndr_err_code ndr_pull_audiosrv_OpenGfx(struct ndr_pull *ndr, int flags, struct audiosrv_OpenGfx *r)
 
250
{
 
251
        if (flags & NDR_IN) {
 
252
        }
 
253
        if (flags & NDR_OUT) {
 
254
        }
 
255
        return NDR_ERR_SUCCESS;
 
256
}
 
257
 
 
258
_PUBLIC_ void ndr_print_audiosrv_OpenGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_OpenGfx *r)
 
259
{
 
260
        ndr_print_struct(ndr, name, "audiosrv_OpenGfx");
 
261
        if (r == NULL) { ndr_print_null(ndr); return; }
 
262
        ndr->depth++;
 
263
        if (flags & NDR_SET_VALUES) {
 
264
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
265
        }
 
266
        if (flags & NDR_IN) {
 
267
                ndr_print_struct(ndr, "in", "audiosrv_OpenGfx");
 
268
                ndr->depth++;
 
269
                ndr->depth--;
 
270
        }
 
271
        if (flags & NDR_OUT) {
 
272
                ndr_print_struct(ndr, "out", "audiosrv_OpenGfx");
 
273
                ndr->depth++;
 
274
                ndr->depth--;
 
275
        }
 
276
        ndr->depth--;
 
277
}
 
278
 
 
279
static enum ndr_err_code ndr_push_audiosrv_Logon(struct ndr_push *ndr, int flags, const struct audiosrv_Logon *r)
 
280
{
 
281
        if (flags & NDR_IN) {
 
282
        }
 
283
        if (flags & NDR_OUT) {
 
284
        }
 
285
        return NDR_ERR_SUCCESS;
 
286
}
 
287
 
 
288
static enum ndr_err_code ndr_pull_audiosrv_Logon(struct ndr_pull *ndr, int flags, struct audiosrv_Logon *r)
 
289
{
 
290
        if (flags & NDR_IN) {
 
291
        }
 
292
        if (flags & NDR_OUT) {
 
293
        }
 
294
        return NDR_ERR_SUCCESS;
 
295
}
 
296
 
 
297
_PUBLIC_ void ndr_print_audiosrv_Logon(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_Logon *r)
 
298
{
 
299
        ndr_print_struct(ndr, name, "audiosrv_Logon");
 
300
        if (r == NULL) { ndr_print_null(ndr); return; }
 
301
        ndr->depth++;
 
302
        if (flags & NDR_SET_VALUES) {
 
303
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
304
        }
 
305
        if (flags & NDR_IN) {
 
306
                ndr_print_struct(ndr, "in", "audiosrv_Logon");
 
307
                ndr->depth++;
 
308
                ndr->depth--;
 
309
        }
 
310
        if (flags & NDR_OUT) {
 
311
                ndr_print_struct(ndr, "out", "audiosrv_Logon");
 
312
                ndr->depth++;
 
313
                ndr->depth--;
 
314
        }
 
315
        ndr->depth--;
 
316
}
 
317
 
 
318
static enum ndr_err_code ndr_push_audiosrv_Logoff(struct ndr_push *ndr, int flags, const struct audiosrv_Logoff *r)
 
319
{
 
320
        if (flags & NDR_IN) {
 
321
        }
 
322
        if (flags & NDR_OUT) {
 
323
        }
 
324
        return NDR_ERR_SUCCESS;
 
325
}
 
326
 
 
327
static enum ndr_err_code ndr_pull_audiosrv_Logoff(struct ndr_pull *ndr, int flags, struct audiosrv_Logoff *r)
 
328
{
 
329
        if (flags & NDR_IN) {
 
330
        }
 
331
        if (flags & NDR_OUT) {
 
332
        }
 
333
        return NDR_ERR_SUCCESS;
 
334
}
 
335
 
 
336
_PUBLIC_ void ndr_print_audiosrv_Logoff(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_Logoff *r)
 
337
{
 
338
        ndr_print_struct(ndr, name, "audiosrv_Logoff");
 
339
        if (r == NULL) { ndr_print_null(ndr); return; }
 
340
        ndr->depth++;
 
341
        if (flags & NDR_SET_VALUES) {
 
342
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
343
        }
 
344
        if (flags & NDR_IN) {
 
345
                ndr_print_struct(ndr, "in", "audiosrv_Logoff");
 
346
                ndr->depth++;
 
347
                ndr->depth--;
 
348
        }
 
349
        if (flags & NDR_OUT) {
 
350
                ndr_print_struct(ndr, "out", "audiosrv_Logoff");
 
351
                ndr->depth++;
 
352
                ndr->depth--;
 
353
        }
 
354
        ndr->depth--;
 
355
}
 
356
 
 
357
static enum ndr_err_code ndr_push_audiosrv_RegisterSessionNotificationEvent(struct ndr_push *ndr, int flags, const struct audiosrv_RegisterSessionNotificationEvent *r)
 
358
{
 
359
        if (flags & NDR_IN) {
 
360
        }
 
361
        if (flags & NDR_OUT) {
 
362
        }
 
363
        return NDR_ERR_SUCCESS;
 
364
}
 
365
 
 
366
static enum ndr_err_code ndr_pull_audiosrv_RegisterSessionNotificationEvent(struct ndr_pull *ndr, int flags, struct audiosrv_RegisterSessionNotificationEvent *r)
 
367
{
 
368
        if (flags & NDR_IN) {
 
369
        }
 
370
        if (flags & NDR_OUT) {
 
371
        }
 
372
        return NDR_ERR_SUCCESS;
 
373
}
 
374
 
 
375
_PUBLIC_ void ndr_print_audiosrv_RegisterSessionNotificationEvent(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_RegisterSessionNotificationEvent *r)
 
376
{
 
377
        ndr_print_struct(ndr, name, "audiosrv_RegisterSessionNotificationEvent");
 
378
        if (r == NULL) { ndr_print_null(ndr); return; }
 
379
        ndr->depth++;
 
380
        if (flags & NDR_SET_VALUES) {
 
381
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
382
        }
 
383
        if (flags & NDR_IN) {
 
384
                ndr_print_struct(ndr, "in", "audiosrv_RegisterSessionNotificationEvent");
 
385
                ndr->depth++;
 
386
                ndr->depth--;
 
387
        }
 
388
        if (flags & NDR_OUT) {
 
389
                ndr_print_struct(ndr, "out", "audiosrv_RegisterSessionNotificationEvent");
 
390
                ndr->depth++;
 
391
                ndr->depth--;
 
392
        }
 
393
        ndr->depth--;
 
394
}
 
395
 
 
396
static enum ndr_err_code ndr_push_audiosrv_UnregisterSessionNotificationEvent(struct ndr_push *ndr, int flags, const struct audiosrv_UnregisterSessionNotificationEvent *r)
 
397
{
 
398
        if (flags & NDR_IN) {
 
399
        }
 
400
        if (flags & NDR_OUT) {
 
401
        }
 
402
        return NDR_ERR_SUCCESS;
 
403
}
 
404
 
 
405
static enum ndr_err_code ndr_pull_audiosrv_UnregisterSessionNotificationEvent(struct ndr_pull *ndr, int flags, struct audiosrv_UnregisterSessionNotificationEvent *r)
 
406
{
 
407
        if (flags & NDR_IN) {
 
408
        }
 
409
        if (flags & NDR_OUT) {
 
410
        }
 
411
        return NDR_ERR_SUCCESS;
 
412
}
 
413
 
 
414
_PUBLIC_ void ndr_print_audiosrv_UnregisterSessionNotificationEvent(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_UnregisterSessionNotificationEvent *r)
 
415
{
 
416
        ndr_print_struct(ndr, name, "audiosrv_UnregisterSessionNotificationEvent");
 
417
        if (r == NULL) { ndr_print_null(ndr); return; }
 
418
        ndr->depth++;
 
419
        if (flags & NDR_SET_VALUES) {
 
420
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
421
        }
 
422
        if (flags & NDR_IN) {
 
423
                ndr_print_struct(ndr, "in", "audiosrv_UnregisterSessionNotificationEvent");
 
424
                ndr->depth++;
 
425
                ndr->depth--;
 
426
        }
 
427
        if (flags & NDR_OUT) {
 
428
                ndr_print_struct(ndr, "out", "audiosrv_UnregisterSessionNotificationEvent");
 
429
                ndr->depth++;
 
430
                ndr->depth--;
 
431
        }
 
432
        ndr->depth--;
 
433
}
 
434
 
 
435
static enum ndr_err_code ndr_push_audiosrv_SessionConnectState(struct ndr_push *ndr, int flags, const struct audiosrv_SessionConnectState *r)
 
436
{
 
437
        if (flags & NDR_IN) {
 
438
        }
 
439
        if (flags & NDR_OUT) {
 
440
        }
 
441
        return NDR_ERR_SUCCESS;
 
442
}
 
443
 
 
444
static enum ndr_err_code ndr_pull_audiosrv_SessionConnectState(struct ndr_pull *ndr, int flags, struct audiosrv_SessionConnectState *r)
 
445
{
 
446
        if (flags & NDR_IN) {
 
447
        }
 
448
        if (flags & NDR_OUT) {
 
449
        }
 
450
        return NDR_ERR_SUCCESS;
 
451
}
 
452
 
 
453
_PUBLIC_ void ndr_print_audiosrv_SessionConnectState(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_SessionConnectState *r)
 
454
{
 
455
        ndr_print_struct(ndr, name, "audiosrv_SessionConnectState");
 
456
        if (r == NULL) { ndr_print_null(ndr); return; }
 
457
        ndr->depth++;
 
458
        if (flags & NDR_SET_VALUES) {
 
459
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
460
        }
 
461
        if (flags & NDR_IN) {
 
462
                ndr_print_struct(ndr, "in", "audiosrv_SessionConnectState");
 
463
                ndr->depth++;
 
464
                ndr->depth--;
 
465
        }
 
466
        if (flags & NDR_OUT) {
 
467
                ndr_print_struct(ndr, "out", "audiosrv_SessionConnectState");
 
468
                ndr->depth++;
 
469
                ndr->depth--;
 
470
        }
 
471
        ndr->depth--;
 
472
}
 
473
 
 
474
static enum ndr_err_code ndr_push_audiosrv_DriverOpenDrvRegKey(struct ndr_push *ndr, int flags, const struct audiosrv_DriverOpenDrvRegKey *r)
 
475
{
 
476
        if (flags & NDR_IN) {
 
477
        }
 
478
        if (flags & NDR_OUT) {
 
479
        }
 
480
        return NDR_ERR_SUCCESS;
 
481
}
 
482
 
 
483
static enum ndr_err_code ndr_pull_audiosrv_DriverOpenDrvRegKey(struct ndr_pull *ndr, int flags, struct audiosrv_DriverOpenDrvRegKey *r)
 
484
{
 
485
        if (flags & NDR_IN) {
 
486
        }
 
487
        if (flags & NDR_OUT) {
 
488
        }
 
489
        return NDR_ERR_SUCCESS;
 
490
}
 
491
 
 
492
_PUBLIC_ void ndr_print_audiosrv_DriverOpenDrvRegKey(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_DriverOpenDrvRegKey *r)
 
493
{
 
494
        ndr_print_struct(ndr, name, "audiosrv_DriverOpenDrvRegKey");
 
495
        if (r == NULL) { ndr_print_null(ndr); return; }
 
496
        ndr->depth++;
 
497
        if (flags & NDR_SET_VALUES) {
 
498
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
499
        }
 
500
        if (flags & NDR_IN) {
 
501
                ndr_print_struct(ndr, "in", "audiosrv_DriverOpenDrvRegKey");
 
502
                ndr->depth++;
 
503
                ndr->depth--;
 
504
        }
 
505
        if (flags & NDR_OUT) {
 
506
                ndr_print_struct(ndr, "out", "audiosrv_DriverOpenDrvRegKey");
 
507
                ndr->depth++;
 
508
                ndr->depth--;
 
509
        }
 
510
        ndr->depth--;
 
511
}
 
512
 
 
513
static enum ndr_err_code ndr_push_audiosrv_AdvisePreferredDeviceChange(struct ndr_push *ndr, int flags, const struct audiosrv_AdvisePreferredDeviceChange *r)
 
514
{
 
515
        if (flags & NDR_IN) {
 
516
        }
 
517
        if (flags & NDR_OUT) {
 
518
        }
 
519
        return NDR_ERR_SUCCESS;
 
520
}
 
521
 
 
522
static enum ndr_err_code ndr_pull_audiosrv_AdvisePreferredDeviceChange(struct ndr_pull *ndr, int flags, struct audiosrv_AdvisePreferredDeviceChange *r)
 
523
{
 
524
        if (flags & NDR_IN) {
 
525
        }
 
526
        if (flags & NDR_OUT) {
 
527
        }
 
528
        return NDR_ERR_SUCCESS;
 
529
}
 
530
 
 
531
_PUBLIC_ void ndr_print_audiosrv_AdvisePreferredDeviceChange(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_AdvisePreferredDeviceChange *r)
 
532
{
 
533
        ndr_print_struct(ndr, name, "audiosrv_AdvisePreferredDeviceChange");
 
534
        if (r == NULL) { ndr_print_null(ndr); return; }
 
535
        ndr->depth++;
 
536
        if (flags & NDR_SET_VALUES) {
 
537
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
538
        }
 
539
        if (flags & NDR_IN) {
 
540
                ndr_print_struct(ndr, "in", "audiosrv_AdvisePreferredDeviceChange");
 
541
                ndr->depth++;
 
542
                ndr->depth--;
 
543
        }
 
544
        if (flags & NDR_OUT) {
 
545
                ndr_print_struct(ndr, "out", "audiosrv_AdvisePreferredDeviceChange");
 
546
                ndr->depth++;
 
547
                ndr->depth--;
 
548
        }
 
549
        ndr->depth--;
 
550
}
 
551
 
 
552
static enum ndr_err_code ndr_push_audiosrv_GetPnpInfo(struct ndr_push *ndr, int flags, const struct audiosrv_GetPnpInfo *r)
 
553
{
 
554
        if (flags & NDR_IN) {
 
555
        }
 
556
        if (flags & NDR_OUT) {
 
557
        }
 
558
        return NDR_ERR_SUCCESS;
 
559
}
 
560
 
 
561
static enum ndr_err_code ndr_pull_audiosrv_GetPnpInfo(struct ndr_pull *ndr, int flags, struct audiosrv_GetPnpInfo *r)
 
562
{
 
563
        if (flags & NDR_IN) {
 
564
        }
 
565
        if (flags & NDR_OUT) {
 
566
        }
 
567
        return NDR_ERR_SUCCESS;
 
568
}
 
569
 
 
570
_PUBLIC_ void ndr_print_audiosrv_GetPnpInfo(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_GetPnpInfo *r)
 
571
{
 
572
        ndr_print_struct(ndr, name, "audiosrv_GetPnpInfo");
 
573
        if (r == NULL) { ndr_print_null(ndr); return; }
 
574
        ndr->depth++;
 
575
        if (flags & NDR_SET_VALUES) {
 
576
                ndr->flags |= LIBNDR_PRINT_SET_VALUES;
 
577
        }
 
578
        if (flags & NDR_IN) {
 
579
                ndr_print_struct(ndr, "in", "audiosrv_GetPnpInfo");
 
580
                ndr->depth++;
 
581
                ndr->depth--;
 
582
        }
 
583
        if (flags & NDR_OUT) {
 
584
                ndr_print_struct(ndr, "out", "audiosrv_GetPnpInfo");
 
585
                ndr->depth++;
 
586
                ndr->depth--;
 
587
        }
 
588
        ndr->depth--;
 
589
}
 
590
 
 
591
static const struct ndr_interface_call audiosrv_calls[] = {
 
592
        {
 
593
                "audiosrv_CreatezoneFactoriesList",
 
594
                sizeof(struct audiosrv_CreatezoneFactoriesList),
 
595
                (ndr_push_flags_fn_t) ndr_push_audiosrv_CreatezoneFactoriesList,
 
596
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreatezoneFactoriesList,
 
597
                (ndr_print_function_t) ndr_print_audiosrv_CreatezoneFactoriesList,
 
598
                { 0, NULL },
 
599
                { 0, NULL },
 
600
        },
 
601
        {
 
602
                "audiosrv_CreateGfxFactoriesList",
 
603
                sizeof(struct audiosrv_CreateGfxFactoriesList),
 
604
                (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxFactoriesList,
 
605
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxFactoriesList,
 
606
                (ndr_print_function_t) ndr_print_audiosrv_CreateGfxFactoriesList,
 
607
                { 0, NULL },
 
608
                { 0, NULL },
 
609
        },
 
610
        {
 
611
                "audiosrv_CreateGfxList",
 
612
                sizeof(struct audiosrv_CreateGfxList),
 
613
                (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxList,
 
614
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxList,
 
615
                (ndr_print_function_t) ndr_print_audiosrv_CreateGfxList,
 
616
                { 0, NULL },
 
617
                { 0, NULL },
 
618
        },
 
619
        {
 
620
                "audiosrv_RemoveGfx",
 
621
                sizeof(struct audiosrv_RemoveGfx),
 
622
                (ndr_push_flags_fn_t) ndr_push_audiosrv_RemoveGfx,
 
623
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RemoveGfx,
 
624
                (ndr_print_function_t) ndr_print_audiosrv_RemoveGfx,
 
625
                { 0, NULL },
 
626
                { 0, NULL },
 
627
        },
 
628
        {
 
629
                "audiosrv_AddGfx",
 
630
                sizeof(struct audiosrv_AddGfx),
 
631
                (ndr_push_flags_fn_t) ndr_push_audiosrv_AddGfx,
 
632
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AddGfx,
 
633
                (ndr_print_function_t) ndr_print_audiosrv_AddGfx,
 
634
                { 0, NULL },
 
635
                { 0, NULL },
 
636
        },
 
637
        {
 
638
                "audiosrv_ModifyGfx",
 
639
                sizeof(struct audiosrv_ModifyGfx),
 
640
                (ndr_push_flags_fn_t) ndr_push_audiosrv_ModifyGfx,
 
641
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_ModifyGfx,
 
642
                (ndr_print_function_t) ndr_print_audiosrv_ModifyGfx,
 
643
                { 0, NULL },
 
644
                { 0, NULL },
 
645
        },
 
646
        {
 
647
                "audiosrv_OpenGfx",
 
648
                sizeof(struct audiosrv_OpenGfx),
 
649
                (ndr_push_flags_fn_t) ndr_push_audiosrv_OpenGfx,
 
650
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_OpenGfx,
 
651
                (ndr_print_function_t) ndr_print_audiosrv_OpenGfx,
 
652
                { 0, NULL },
 
653
                { 0, NULL },
 
654
        },
 
655
        {
 
656
                "audiosrv_Logon",
 
657
                sizeof(struct audiosrv_Logon),
 
658
                (ndr_push_flags_fn_t) ndr_push_audiosrv_Logon,
 
659
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logon,
 
660
                (ndr_print_function_t) ndr_print_audiosrv_Logon,
 
661
                { 0, NULL },
 
662
                { 0, NULL },
 
663
        },
 
664
        {
 
665
                "audiosrv_Logoff",
 
666
                sizeof(struct audiosrv_Logoff),
 
667
                (ndr_push_flags_fn_t) ndr_push_audiosrv_Logoff,
 
668
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logoff,
 
669
                (ndr_print_function_t) ndr_print_audiosrv_Logoff,
 
670
                { 0, NULL },
 
671
                { 0, NULL },
 
672
        },
 
673
        {
 
674
                "audiosrv_RegisterSessionNotificationEvent",
 
675
                sizeof(struct audiosrv_RegisterSessionNotificationEvent),
 
676
                (ndr_push_flags_fn_t) ndr_push_audiosrv_RegisterSessionNotificationEvent,
 
677
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RegisterSessionNotificationEvent,
 
678
                (ndr_print_function_t) ndr_print_audiosrv_RegisterSessionNotificationEvent,
 
679
                { 0, NULL },
 
680
                { 0, NULL },
 
681
        },
 
682
        {
 
683
                "audiosrv_UnregisterSessionNotificationEvent",
 
684
                sizeof(struct audiosrv_UnregisterSessionNotificationEvent),
 
685
                (ndr_push_flags_fn_t) ndr_push_audiosrv_UnregisterSessionNotificationEvent,
 
686
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_UnregisterSessionNotificationEvent,
 
687
                (ndr_print_function_t) ndr_print_audiosrv_UnregisterSessionNotificationEvent,
 
688
                { 0, NULL },
 
689
                { 0, NULL },
 
690
        },
 
691
        {
 
692
                "audiosrv_SessionConnectState",
 
693
                sizeof(struct audiosrv_SessionConnectState),
 
694
                (ndr_push_flags_fn_t) ndr_push_audiosrv_SessionConnectState,
 
695
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_SessionConnectState,
 
696
                (ndr_print_function_t) ndr_print_audiosrv_SessionConnectState,
 
697
                { 0, NULL },
 
698
                { 0, NULL },
 
699
        },
 
700
        {
 
701
                "audiosrv_DriverOpenDrvRegKey",
 
702
                sizeof(struct audiosrv_DriverOpenDrvRegKey),
 
703
                (ndr_push_flags_fn_t) ndr_push_audiosrv_DriverOpenDrvRegKey,
 
704
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_DriverOpenDrvRegKey,
 
705
                (ndr_print_function_t) ndr_print_audiosrv_DriverOpenDrvRegKey,
 
706
                { 0, NULL },
 
707
                { 0, NULL },
 
708
        },
 
709
        {
 
710
                "audiosrv_AdvisePreferredDeviceChange",
 
711
                sizeof(struct audiosrv_AdvisePreferredDeviceChange),
 
712
                (ndr_push_flags_fn_t) ndr_push_audiosrv_AdvisePreferredDeviceChange,
 
713
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AdvisePreferredDeviceChange,
 
714
                (ndr_print_function_t) ndr_print_audiosrv_AdvisePreferredDeviceChange,
 
715
                { 0, NULL },
 
716
                { 0, NULL },
 
717
        },
 
718
        {
 
719
                "audiosrv_GetPnpInfo",
 
720
                sizeof(struct audiosrv_GetPnpInfo),
 
721
                (ndr_push_flags_fn_t) ndr_push_audiosrv_GetPnpInfo,
 
722
                (ndr_pull_flags_fn_t) ndr_pull_audiosrv_GetPnpInfo,
 
723
                (ndr_print_function_t) ndr_print_audiosrv_GetPnpInfo,
 
724
                { 0, NULL },
 
725
                { 0, NULL },
 
726
        },
 
727
        { NULL, 0, NULL, NULL, NULL }
 
728
};
 
729
 
 
730
static const char * const audiosrv_endpoint_strings[] = {
 
731
        "ncacn_np:[\\pipe\\audiosrv]", 
 
732
};
 
733
 
 
734
static const struct ndr_interface_string_array audiosrv_endpoints = {
 
735
        .count  = 1,
 
736
        .names  = audiosrv_endpoint_strings
 
737
};
 
738
 
 
739
static const char * const audiosrv_authservice_strings[] = {
 
740
        "host", 
 
741
};
 
742
 
 
743
static const struct ndr_interface_string_array audiosrv_authservices = {
 
744
        .count  = 1,
 
745
        .names  = audiosrv_authservice_strings
 
746
};
 
747
 
 
748
 
 
749
const struct ndr_interface_table ndr_table_audiosrv = {
 
750
        .name           = "audiosrv",
 
751
        .syntax_id      = {
 
752
                {0x0a74ef1c,0x41a4,0x4e06,{0x83,0xae},{0xdc,0x74,0xfb,0x1c,0xdd,0x53}},
 
753
                NDR_AUDIOSRV_VERSION
 
754
        },
 
755
        .helpstring     = NDR_AUDIOSRV_HELPSTRING,
 
756
        .num_calls      = 15,
 
757
        .calls          = audiosrv_calls,
 
758
        .endpoints      = &audiosrv_endpoints,
 
759
        .authservices   = &audiosrv_authservices
 
760
};
 
761