From aa12f3e0e922f42318b71c601cba08a6c96ff486 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 22 Nov 1999 19:02:39 +0000 Subject: okay :) all cmd_() functions now take int argc, char **argv :) that means that some commands need more work, as they still use next_token(), the use of which i wish to avoid. plus, i was getting fed up of the poor command-line processing in some of these commands. i'm starting to need getopt() in them, especially in samsetuser. WARNING: only cmd_samr has been modded to use getopt() so far! reg commands won't work, esp. (This used to be commit 9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523) --- source3/rpcclient/cmd_netlogon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/rpcclient/cmd_netlogon.c') diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c index 5c17e5c3da..ed30a3122a 100644 --- a/source3/rpcclient/cmd_netlogon.c +++ b/source3/rpcclient/cmd_netlogon.c @@ -42,7 +42,7 @@ extern pstring global_myname; /**************************************************************************** experimental nt login. ****************************************************************************/ -void cmd_netlogon_login_test(struct client_info *info) +void cmd_netlogon_login_test(struct client_info *info, int argc, char *argv[]) { uint16 nt_pipe_fnum; #if 0 @@ -142,7 +142,7 @@ void cmd_netlogon_login_test(struct client_info *info) /**************************************************************************** experimental nt login. ****************************************************************************/ -void cmd_netlogon_domain_test(struct client_info *info) +void cmd_netlogon_domain_test(struct client_info *info, int argc, char *argv[]) { uint16 nt_pipe_fnum; @@ -183,7 +183,7 @@ void cmd_netlogon_domain_test(struct client_info *info) /**************************************************************************** experimental SAM synchronisation. ****************************************************************************/ -void cmd_sam_sync(struct client_info *info) +void cmd_sam_sync(struct client_info *info, int argc, char *argv[]) { SAM_DELTA_HDR hdr_deltas[MAX_SAM_DELTAS]; SAM_DELTA_CTR deltas[MAX_SAM_DELTAS]; -- cgit