diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-17 22:44:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-17 22:44:01 +0000 |
commit | f9a96f060bdc8d045748b5f7e31d177e43e8810a (patch) | |
tree | a8d75fc796573d7b841896116073a43d0e8ab958 /source3/include | |
parent | 373d7c62577c13e1a85043844953a8d779858432 (diff) | |
download | samba-f9a96f060bdc8d045748b5f7e31d177e43e8810a.tar.gz samba-f9a96f060bdc8d045748b5f7e31d177e43e8810a.tar.bz2 samba-f9a96f060bdc8d045748b5f7e31d177e43e8810a.zip |
clientgen.c: Changes 'cli_xxx_' calls to use the following
regularized parameter syntax:
setup, setup_count, max_setup_count,
params, params_count, max_params_count,
data, data_count, max_data_count,
(and if a reply is needed)
*reply_params, *reply_data_len
*reply_data, *reply_data_len
This allows the pointers and the lengths
that relate to these pointers to be next
to each other in the parameter list. This
makes seeing what you are passing to these
functions much easier to see.
Getting ready for adding the lib/rpc/client
functions needed to do security=domain.
torture.c: Fixed it so it uses / rather than \\
internally for the //machine/share syntax.
Jeremy.
(This used to be commit 38350ea8b949d0908497490898ff04df7591ccac)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b1a5edab62..3afc150649 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -51,6 +51,12 @@ void cmd_help(char *dum_in, char *dum_out); /*The following definitions come from clientgen.c */ +BOOL cli_api_pipe(struct cli_state *cli, char *pipe_name, int pipe_name_len, + uint16 *setup, uint32 setup_count, uint32 max_setup_count, + char *params, uint32 param_count, uint32 max_param_count, + char *data, uint32 data_count, uint32 max_data_count, + char **rparam, uint32 *rparam_count, + char **rdata, uint32 *rdata_count); BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation); BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype, void (*fn)(char *, uint32, char *)); |