Ignore:
Timestamp:
Apr 9, 2010, 3:51:41 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: trunk update to 3.5.2

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/librpc/gen_ndr/spoolss.h

    r414 r429  
    20692069        uint32_t value_name_len;/* [value(2*strlen_m_term(value_name))] */
    20702070        enum winreg_Type type;
    2071         union spoolss_PrinterData *data;/* [relative,subcontext_size(r->data_length),subcontext(0),switch_is(type)] */
    2072         uint32_t data_length;/* [value(ndr_size_spoolss_PrinterData(data,type,ndr->iconv_convenience,ndr->flags))] */
     2071        DATA_BLOB *data;/* [relative,subcontext_size(data_length),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */
     2072        uint32_t data_length;/* [value(data->length)] */
    20732073}/* [relative_base,gensize,public] */;
    20742074
     
    26872687
    26882688
    2689 struct _spoolss_GetPrinterData {
     2689struct spoolss_GetPrinterData {
    26902690        struct {
    26912691                struct policy_handle *handle;/* [ref] */
     
    26962696        struct {
    26972697                enum winreg_Type *type;/* [ref] */
    2698                 DATA_BLOB *data;/* [ref] */
     2698                uint8_t *data;/* [ref,size_is(offered)] */
    26992699                uint32_t *needed;/* [ref] */
    27002700                WERROR result;
     
    27042704
    27052705
    2706 struct __spoolss_GetPrinterData {
    2707         struct {
    2708                 enum winreg_Type type;
    2709         } in;
    2710 
    2711         struct {
    2712                 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
    2713         } out;
    2714 
    2715 };
    2716 
    2717 
    2718 struct spoolss_GetPrinterData {
    2719         struct {
    2720                 struct policy_handle *handle;/* [ref] */
    2721                 const char *value_name;/* [charset(UTF16)] */
    2722                 uint32_t offered;
    2723         } in;
    2724 
    2725         struct {
    2726                 enum winreg_Type *type;/* [ref] */
    2727                 union spoolss_PrinterData *data;/* [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */
    2728                 uint32_t *needed;/* [ref] */
    2729                 WERROR result;
    2730         } out;
    2731 
    2732 };
    2733 
    2734 
    2735 struct _spoolss_SetPrinterData {
     2706struct spoolss_SetPrinterData {
    27362707        struct {
    27372708                struct policy_handle *handle;/* [ref] */
    27382709                const char *value_name;/* [charset(UTF16)] */
    27392710                enum winreg_Type type;
    2740                 DATA_BLOB data;
    2741                 uint32_t _offered;
    2742         } in;
    2743 
    2744         struct {
    2745                 WERROR result;
    2746         } out;
    2747 
    2748 };
    2749 
    2750 
    2751 struct __spoolss_SetPrinterData {
    2752         struct {
    2753                 enum winreg_Type type;
    2754         } in;
    2755 
    2756         struct {
    2757                 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
    2758         } out;
    2759 
    2760 };
    2761 
    2762 
    2763 struct spoolss_SetPrinterData {
    2764         struct {
    2765                 struct policy_handle *handle;/* [ref] */
    2766                 const char *value_name;/* [charset(UTF16)] */
    2767                 enum winreg_Type type;
    2768                 union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
    2769                 uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
     2711                uint8_t *data;/* [ref,size_is(offered)] */
     2712                uint32_t offered;
    27702713        } in;
    27712714
     
    34913434
    34923435
    3493 struct _spoolss_SetPrinterDataEx {
     3436struct spoolss_SetPrinterDataEx {
    34943437        struct {
    34953438                struct policy_handle *handle;/* [ref] */
     
    34973440                const char *value_name;/* [charset(UTF16)] */
    34983441                enum winreg_Type type;
    3499                 DATA_BLOB data;
    3500                 uint32_t _offered;
    3501         } in;
    3502 
    3503         struct {
    3504                 WERROR result;
    3505         } out;
    3506 
    3507 };
    3508 
    3509 
    3510 struct __spoolss_SetPrinterDataEx {
    3511         struct {
    3512                 enum winreg_Type type;
    3513         } in;
    3514 
    3515         struct {
    3516                 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
    3517         } out;
    3518 
    3519 };
    3520 
    3521 
    3522 struct spoolss_SetPrinterDataEx {
    3523         struct {
    3524                 struct policy_handle *handle;/* [ref] */
    3525                 const char *key_name;/* [charset(UTF16)] */
    3526                 const char *value_name;/* [charset(UTF16)] */
    3527                 enum winreg_Type type;
    3528                 union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
    3529                 uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
    3530         } in;
    3531 
    3532         struct {
    3533                 WERROR result;
    3534         } out;
    3535 
    3536 };
    3537 
    3538 
    3539 struct _spoolss_GetPrinterDataEx {
     3442                uint8_t *data;/* [ref,size_is(offered)] */
     3443                uint32_t offered;
     3444        } in;
     3445
     3446        struct {
     3447                WERROR result;
     3448        } out;
     3449
     3450};
     3451
     3452
     3453struct spoolss_GetPrinterDataEx {
    35403454        struct {
    35413455                struct policy_handle *handle;/* [ref] */
     
    35473461        struct {
    35483462                enum winreg_Type *type;/* [ref] */
    3549                 DATA_BLOB *data;/* [ref] */
    3550                 uint32_t *needed;/* [ref] */
    3551                 WERROR result;
    3552         } out;
    3553 
    3554 };
    3555 
    3556 
    3557 struct __spoolss_GetPrinterDataEx {
    3558         struct {
    3559                 enum winreg_Type type;
    3560         } in;
    3561 
    3562         struct {
    3563                 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
    3564         } out;
    3565 
    3566 };
    3567 
    3568 
    3569 struct spoolss_GetPrinterDataEx {
    3570         struct {
    3571                 struct policy_handle *handle;/* [ref] */
    3572                 const char *key_name;/* [charset(UTF16)] */
    3573                 const char *value_name;/* [charset(UTF16)] */
    3574                 uint32_t offered;
    3575         } in;
    3576 
    3577         struct {
    3578                 enum winreg_Type *type;/* [ref] */
    3579                 union spoolss_PrinterData *data;/* [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */
     3463                uint8_t *data;/* [ref,size_is(offered)] */
    35803464                uint32_t *needed;/* [ref] */
    35813465                WERROR result;
Note: See TracChangeset for help on using the changeset viewer.