2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* Utility to forcibly remove AFS software without using InstallShield */
12 #include <afs/param.h>
23 #include "forceremove.h"
26 static int DoClient34(struct cmd_syndesc *as, char *arock)
28 DWORD status = Client34Eradicate(FALSE);
30 if (status == ERROR_SUCCESS) {
31 printf("Client 3.4a removal succeeded\n");
33 printf("Client 3.4a removal failed (%d)\n", (int)status);
41 struct cmd_syndesc *ts;
43 ts = cmd_CreateSyntax("client34", DoClient34, 0,
44 "remove AFS 3.4a client");
48 int main(int argc, char *argv[])
52 /* initialize command syntax */
53 initialize_cmd_error_table();
57 code = cmd_Dispatch(argc, argv);