Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/client/cifsdd.c

    r414 r740  
    6161/* ------------------------------------------------------------------------- */
    6262
     63static const struct {
     64        enum argtype arg_type;
     65        const char * arg_name;
     66} names [] = {
     67        { ARG_NUMERIC, "COUNT" },
     68        { ARG_SIZE, "SIZE" },
     69        { ARG_PATHNAME, "FILE" },
     70        { ARG_BOOL, "BOOLEAN" },
     71};
     72
    6373static const char * argtype_str(enum argtype arg_type)
    6474{
    65         static const struct {
    66                 enum argtype arg_type;
    67                 const char * arg_name;
    68         } names [] =
    69         {
    70                 { ARG_NUMERIC, "COUNT" },
    71                 { ARG_SIZE, "SIZE" },
    72                 { ARG_PATHNAME, "FILE" },
    73                 { ARG_BOOL, "BOOLEAN" },
    74         };
    75 
    7675        int i;
    7776
     
    361360                                      const char *socket_options,
    362361                                      struct smbcli_session_options *smb_session_options,
    363                                       struct smb_iconv_convenience *iconv_convenience,
    364362                                      struct gensec_settings *gensec_settings)
    365363{
     
    386384                                      socket_options,
    387385                                      smb_options, smb_session_options,
    388                                       iconv_convenience,
    389386                                      gensec_settings);
    390387        } else if (strcmp(which, "of") == 0) {
     
    395392                                      socket_options,
    396393                                      smb_options, smb_session_options,
    397                                       iconv_convenience,
    398394                                      gensec_settings);
    399395        } else {
     
    429425        count = check_arg_numeric("count");
    430426
    431         lp_smbcli_options(lp_ctx, &options);
    432         lp_smbcli_session_options(lp_ctx, &session_options);
     427        lpcfg_smbcli_options(lp_ctx, &options);
     428        lpcfg_smbcli_session_options(lp_ctx, &session_options);
    433429
    434430        /* Allocate IO buffer. We need more than the max IO size because we
     
    448444                        (unsigned long long)iomax, options.max_xmit));
    449445
    450         if (!(ifile = open_file(lp_resolve_context(lp_ctx), ev, "if",
    451                                 lp_smb_ports(lp_ctx), &options,
    452                                 lp_socket_options(lp_ctx),
    453                                 &session_options, lp_iconv_convenience(lp_ctx),
    454                                 lp_gensec_settings(lp_ctx, lp_ctx)))) {
     446        if (!(ifile = open_file(lpcfg_resolve_context(lp_ctx), ev, "if",
     447                                lpcfg_smb_ports(lp_ctx), &options,
     448                                lpcfg_socket_options(lp_ctx),
     449                                &session_options,
     450                                lpcfg_gensec_settings(lp_ctx, lp_ctx)))) {
    455451                return(FILESYS_EXIT_CODE);
    456452        }
    457453
    458         if (!(ofile = open_file(lp_resolve_context(lp_ctx), ev, "of",
    459                                 lp_smb_ports(lp_ctx), &options,
    460                                 lp_socket_options(lp_ctx),
     454        if (!(ofile = open_file(lpcfg_resolve_context(lp_ctx), ev, "of",
     455                                lpcfg_smb_ports(lp_ctx), &options,
     456                                lpcfg_socket_options(lp_ctx),
    461457                                &session_options,
    462                                 lp_iconv_convenience(lp_ctx),
    463                                 lp_gensec_settings(lp_ctx, lp_ctx)))) {
     458                                lpcfg_gensec_settings(lp_ctx, lp_ctx)))) {
    464459                return(FILESYS_EXIT_CODE);
    465460        }
Note: See TracChangeset for help on using the changeset viewer.