source: branches/samba-3.3.x/examples/libsmbclient/testctx.c@ 1075

Last change on this file since 1075 was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 289 bytes
Line 
1#include <libsmbclient.h>
2
3void create_and_destroy_context (void)
4{
5 SMBCCTX *ctx;
6 ctx = smbc_new_context ();
7 smbc_init_context (ctx);
8
9 smbc_free_context (ctx, 1);
10}
11
12int main (int argc, char **argv)
13{
14 create_and_destroy_context ();
15 create_and_destroy_context ();
16 return 0;
17}
Note: See TracBrowser for help on using the repository browser.