Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/lib/smbconf/smbconf_private.h

    r414 r745  
    2828
    2929struct smbconf_ops {
    30         WERROR (*init)(struct smbconf_ctx *ctx, const char *path);
     30        sbcErr (*init)(struct smbconf_ctx *ctx, const char *path);
    3131        int (*shutdown)(struct smbconf_ctx *ctx);
    3232        bool (*requires_messaging)(struct smbconf_ctx *ctx);
    3333        bool (*is_writeable)(struct smbconf_ctx *ctx);
    34         WERROR (*open_conf)(struct smbconf_ctx *ctx);
     34        sbcErr (*open_conf)(struct smbconf_ctx *ctx);
    3535        int (*close_conf)(struct smbconf_ctx *ctx);
    3636        void (*get_csn)(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
    3737                        const char *service, const char *param);
    38         WERROR (*drop)(struct smbconf_ctx *ctx);
    39         WERROR (*get_share_names)(struct smbconf_ctx *ctx,
     38        sbcErr (*drop)(struct smbconf_ctx *ctx);
     39        sbcErr (*get_share_names)(struct smbconf_ctx *ctx,
    4040                                  TALLOC_CTX *mem_ctx,
    4141                                  uint32_t *num_shares,
    4242                                  char ***share_names);
    4343        bool (*share_exists)(struct smbconf_ctx *ctx, const char *service);
    44         WERROR (*create_share)(struct smbconf_ctx *ctx, const char *service);
    45         WERROR (*get_share)(struct smbconf_ctx *ctx,
     44        sbcErr (*create_share)(struct smbconf_ctx *ctx, const char *service);
     45        sbcErr (*get_share)(struct smbconf_ctx *ctx,
    4646                            TALLOC_CTX *mem_ctx,
    4747                            const char *servicename,
    4848                            struct smbconf_service **service);
    49         WERROR (*delete_share)(struct smbconf_ctx *ctx,
     49        sbcErr (*delete_share)(struct smbconf_ctx *ctx,
    5050                                    const char *servicename);
    51         WERROR (*set_parameter)(struct smbconf_ctx *ctx,
     51        sbcErr (*set_parameter)(struct smbconf_ctx *ctx,
    5252                                const char *service,
    5353                                const char *param,
    5454                                const char *valstr);
    55         WERROR (*get_parameter)(struct smbconf_ctx *ctx,
     55        sbcErr (*get_parameter)(struct smbconf_ctx *ctx,
    5656                                TALLOC_CTX *mem_ctx,
    5757                                const char *service,
    5858                                const char *param,
    5959                                char **valstr);
    60         WERROR (*delete_parameter)(struct smbconf_ctx *ctx,
     60        sbcErr (*delete_parameter)(struct smbconf_ctx *ctx,
    6161                                   const char *service, const char *param);
    62         WERROR (*get_includes)(struct smbconf_ctx *ctx,
     62        sbcErr (*get_includes)(struct smbconf_ctx *ctx,
    6363                               TALLOC_CTX *mem_ctx,
    6464                               const char *service,
    6565                               uint32_t *num_includes, char ***includes);
    66         WERROR (*set_includes)(struct smbconf_ctx *ctx,
     66        sbcErr (*set_includes)(struct smbconf_ctx *ctx,
    6767                               const char *service,
    6868                               uint32_t num_includes, const char **includes);
    69         WERROR (*delete_includes)(struct smbconf_ctx *ctx,
     69        sbcErr (*delete_includes)(struct smbconf_ctx *ctx,
    7070                                  const char *service);
    71         WERROR (*transaction_start)(struct smbconf_ctx *ctx);
    72         WERROR (*transaction_commit)(struct smbconf_ctx *ctx);
    73         WERROR (*transaction_cancel)(struct smbconf_ctx *ctx);
     71        sbcErr (*transaction_start)(struct smbconf_ctx *ctx);
     72        sbcErr (*transaction_commit)(struct smbconf_ctx *ctx);
     73        sbcErr (*transaction_cancel)(struct smbconf_ctx *ctx);
    7474};
    7575
     
    8080};
    8181
    82 WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
     82sbcErr smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
    8383                             const char *path, struct smbconf_ops *ops);
    8484
    85 WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
     85sbcErr smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
    8686                                   char ***array,
    8787                                   uint32_t count,
Note: See TracChangeset for help on using the changeset viewer.