diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-27 21:50:11 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-27 21:50:11 +0000 |
commit | 3fc5ec73be6009d50ec1e8e83505572ad16c1943 (patch) | |
tree | 66759f75ddb08b8df70199443c38c98b9ed0994b /source3/include/rpcclient.h | |
parent | d4bf1ca515eb9015970cc339b6b9a2177691350d (diff) | |
download | samba-3fc5ec73be6009d50ec1e8e83505572ad16c1943.tar.gz samba-3fc5ec73be6009d50ec1e8e83505572ad16c1943.tar.xz samba-3fc5ec73be6009d50ec1e8e83505572ad16c1943.zip |
further abstraction involving client states. main client-side code
is pretty much independent of SMB client states, which will make it
easier to add other transports.
(This used to be commit a1ff7e8fc3129ba4a04722f977bc2d3725d13624)
Diffstat (limited to 'source3/include/rpcclient.h')
-rw-r--r-- | source3/include/rpcclient.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/source3/include/rpcclient.h b/source3/include/rpcclient.h index ba284e66f0c..210567c2ced 100644 --- a/source3/include/rpcclient.h +++ b/source3/include/rpcclient.h @@ -61,8 +61,6 @@ struct nt_client_info /************** \PIPE\lsarpc stuff ********************/ - POLICY_HND lsa_info_pol; - /* domain member */ DOM_SID level3_sid; DOM_SID level5_sid; @@ -86,4 +84,16 @@ struct client_info enum action_type {ACTION_HEADER, ACTION_ENUMERATE, ACTION_FOOTER}; +/**************************************************************************** + This defines the commands supported by this client + ****************************************************************************/ +struct command_set +{ + char *name; + void (*fn)(struct client_info*, int, char*[]); + char *description; + char compl_args[2]; + +}; + #endif /* _RPCCLIENT_H */ |