summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/init/init_1.c
blob: bc928ac3d5ce505a72aaa21a2c4d178d82e7c161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <libsmbclient.h>


int main()
{
	int err = -1;

	err = smbc_init(NULL, 0);

	if ( err < 0 )
		err = 1;

	return err;

}