root/examples/libsmbclient/testctx.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. create_and_destroy_context
  2. main

   1 #include <libsmbclient.h>
   2 
   3 void create_and_destroy_context (void)
     /* [<][>][^][v][top][bottom][index][help] */
   4 {
   5   SMBCCTX *ctx;
   6   ctx = smbc_new_context ();
   7   smbc_init_context (ctx);
   8 
   9   smbc_free_context (ctx, 1);
  10 }
  11 
  12 int main (int argc, char **argv)
     /* [<][>][^][v][top][bottom][index][help] */
  13 {
  14   create_and_destroy_context ();
  15   create_and_destroy_context ();
  16   return 0;
  17 }

/* [<][>][^][v][top][bottom][index][help] */