Searched refs:cli2 (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/torture/
H A Dtorture.c650 static struct cli_state *cli1, *cli2; local
653 if (!torture_open_connection(&cli1, 0) || !torture_open_connection(&cli2, 1)) {
657 cli_sockopt(cli2, sockops);
661 test1 = rw_torture2(cli1, cli2);
673 if (!torture_close_connection(cli2)) {
933 struct cli_state *cli1, *cli2; local
939 if (!torture_open_connection(&cli1, 0) || !torture_open_connection(&cli2, 1)) {
943 cli_sockopt(cli2, sockops);
959 fnum3 = cli_open(cli2, fname, O_RDWR, DENY_NONE);
961 printf("open3 of %s failed (%s)\n", fname, cli_errstr(cli2));
1442 static struct cli_state *cli1, *cli2; local
1567 static struct cli_state *cli1, *cli2; local
1738 static struct cli_state *cli1, *cli2; local
2039 struct cli_state *cli1, *cli2; local
2713 struct cli_state *cli1, *cli2; local
2911 struct cli_state *cli2 = NULL; local
3705 static struct cli_state *cli2; local
[all...]
H A Ddenytest.c1495 static struct cli_state *cli1, *cli2; local
1501 if (!torture_open_connection(&cli1, 0) || !torture_open_connection(&cli2, 1)) {
1523 fnum2 = cli_open(cli2, fname,
1534 if (cli_read(cli2, fnum2, (char *)&x, 0, 1) == 1) {
1537 if (cli_write(cli2, fnum2, 0, (char *)&x, 0, 1) == 1) {
1558 if (fnum2 != -1) cli_close(cli2, fnum2);
1568 if (!torture_close_connection(cli2)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/rpcclient/
H A Dcmd_spoolss.c2504 struct rpc_pipe_client *cli2, POLICY_HND *hnd2 )
2519 printf("Retrieving printer properties for %s...", cli2->cli->desthost);
2520 werror = rpccli_spoolss_getprinter( cli2, mem_ctx, hnd2, 2, &ctr2);
2537 struct rpc_pipe_client *cli2, POLICY_HND *hnd2 )
2555 printf("Retrieving printer security for %s...", cli2->cli->desthost);
2556 werror = rpccli_spoolss_getprinter( cli2, mem_ctx, hnd2, 3, &ctr2);
2607 struct rpc_pipe_client *cli2 = NULL; local
2639 cli2 = cli_rpc_pipe_open_noauth(cli_server2, PI_SPOOLSS, &nt_status);
2640 if (!cli2) {
2660 werror = rpccli_spoolss_open_printer_ex( cli2, mem_ct
2503 compare_printer( struct rpc_pipe_client *cli1, POLICY_HND *hnd1, struct rpc_pipe_client *cli2, POLICY_HND *hnd2 ) argument
2536 compare_printer_secdesc( struct rpc_pipe_client *cli1, POLICY_HND *hnd1, struct rpc_pipe_client *cli2, POLICY_HND *hnd2 ) argument
[all...]

Completed in 120 milliseconds