• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/testsuite/libsmbclient/src/init/
1#include <stdio.h>
2#include <stdlib.h>
3#include <string.h>
4#include <errno.h>
5#include <libsmbclient.h>
6
7
8int main(int argc, char **argv )
9{
10	int err = -1;
11
12	if ( argc > 1 )
13	{
14		err = smbc_init(NULL, atoi(argv[1]));
15
16		if ( err < 0 )
17			err = 1;
18
19	}
20
21	return err;
22
23}
24