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

Samba Server: update vendor to 3.6.0

Location:
vendor/current/examples/libsmbclient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/examples/libsmbclient/testctx.c

    r414 r740  
    11#include <libsmbclient.h>
     2#include <stdlib.h>
     3#include <stdio.h>
    24
    35void create_and_destroy_context (void)
    46{
     7  int i;
    58  SMBCCTX *ctx;
    69  ctx = smbc_new_context ();
     10  /* Both should do the same thing */
     11  smbc_setOptionDebugToStderr(ctx, 1);
     12  smbc_option_set(ctx, "debug_to_stderr", 1);
     13  smbc_setDebug(ctx, 1);
     14  i = smbc_getDebug(ctx);
     15  if (i != 1) {
     16          printf("smbc_getDebug() did not return debug level set\n");
     17          exit(1);
     18  }
     19  if (!smbc_getOptionDebugToStderr(ctx)) {
     20          printf("smbc_setOptionDebugToStderr() did not stick\n");
     21          exit(1);
     22  }
    723  smbc_init_context (ctx);
    8 
    924  smbc_free_context (ctx, 1);
    1025}
  • vendor/current/examples/libsmbclient/teststat2.c

    r414 r740  
    99 * This test is intended to ensure that the timestamps returned by
    1010 * libsmbclient are the same as timestamps returned by the local system.  To
    11  * test this, we assume a working Samba environment, and and access the same
     11 * test this, we assume a working Samba environment, and access the same
    1212 * file via SMB and locally (or NFS).
    1313 *
Note: See TracChangeset for help on using the changeset viewer.