~ubuntu-branches/ubuntu/breezy/samba/breezy-security

« back to all changes in this revision

Viewing changes to source/rpc_client/cli_echo.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-07-21 17:53:23 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050721175323-m3oh6aoigywohfnq
Tags: 3.0.14a-6ubuntu1
Resynchronise with Debian, resolving merge conflicts (#12360)

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        init_echo_q_add_one(&q, request);
49
49
 
50
50
        if (!echo_io_q_add_one("", &q, &qbuf, 0) ||
51
 
            !rpc_api_pipe_req(cli, ECHO_ADD_ONE, &qbuf, &rbuf))
 
51
            !rpc_api_pipe_req(cli, PI_ECHO, ECHO_ADD_ONE, &qbuf, &rbuf))
52
52
                goto done;
53
53
 
54
54
        /* Unmarshall response */
94
94
        init_echo_q_echo_data(&q, size, in_data);
95
95
 
96
96
        if (!echo_io_q_echo_data("", &q, &qbuf, 0) ||
97
 
            !rpc_api_pipe_req(cli, ECHO_DATA, &qbuf, &rbuf))
 
97
            !rpc_api_pipe_req(cli, PI_ECHO, ECHO_DATA, &qbuf, &rbuf))
98
98
                goto done;
99
99
 
100
100
        /* Unmarshall response */
142
142
        init_echo_q_sink_data(&q, size, in_data);
143
143
 
144
144
        if (!echo_io_q_sink_data("", &q, &qbuf, 0) ||
145
 
            !rpc_api_pipe_req(cli, ECHO_SINK_DATA, &qbuf, &rbuf)) {
 
145
            !rpc_api_pipe_req(cli, PI_ECHO, ECHO_SINK_DATA, &qbuf, &rbuf)) {
146
146
                goto done;
147
147
        }
148
148
 
187
187
        init_echo_q_source_data(&q, size);
188
188
 
189
189
        if (!echo_io_q_source_data("", &q, &qbuf, 0) ||
190
 
            !rpc_api_pipe_req(cli, ECHO_SOURCE_DATA, &qbuf, &rbuf)) {
 
190
            !rpc_api_pipe_req(cli, PI_ECHO, ECHO_SOURCE_DATA, &qbuf, &rbuf)) {
191
191
                goto done;
192
192
        }
193
193