Clean up a comment noticed by Jonathan Shao@Panasas.com and remove an
[Samba/gebeck_regimport.git] / source3 / include / rpc_echo.h
blob6b4ea6abfbad5bf99fa624907ba2808c7e004703
1 /*
2 Unix SMB/CIFS implementation.
4 Samba rpcecho definitions.
6 Copyright (C) Tim Potter 2003
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef _RPC_ECHO_H
24 #define _RPC_ECHO_H
26 #define ECHO_ADD_ONE 0x00
27 #define ECHO_DATA 0x01
28 #define ECHO_SINK_DATA 0x02
29 #define ECHO_SOURCE_DATA 0x03
31 typedef struct echo_q_add_one
33 uint32 request;
34 } ECHO_Q_ADD_ONE;
36 typedef struct echo_r_add_one
38 uint32 response;
39 } ECHO_R_ADD_ONE;
41 typedef struct echo_q_echo_data
43 uint32 size;
44 char *data;
45 } ECHO_Q_ECHO_DATA;
47 typedef struct echo_r_echo_data
49 uint32 size;
50 char *data;
51 } ECHO_R_ECHO_DATA;
53 typedef struct echo_q_source_data
55 uint32 size;
56 } ECHO_Q_SOURCE_DATA;
58 typedef struct echo_r_source_data
60 uint32 size;
61 char *data;
62 } ECHO_R_SOURCE_DATA;
64 typedef struct echo_q_sink_data
66 uint32 size;
67 char *data;
68 } ECHO_Q_SINK_DATA;
70 typedef struct echo_r_sink_data
72 int dummy; /* unused */
73 } ECHO_R_SINK_DATA;
75 #endif