/*********************************************************
- * Copyright (C) 2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2021,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
/*
* componentMgrInstallManager.c --
*
- * This file contains all the neccessary functions and handling of performing
+ * This file contains all the necessary functions and handling of performing
* check status operation and add/remove of a component.
- * The operations are triggerred as an async process and GSource timers are
+ * The operations are triggered as an async process and GSource timers are
* created to monitor the execution status of the async process.
* After successful completion of the async process, it's resources are
* released to make way for a new async process.
ComponentMgr_ResetComponentGSourceTimer(componentIndex);
/*
- * After checkstatus operation has completed sucessfully, we can have a
+ * After checkstatus operation has completed successfully, we can have a
* next sequence of operations to be executed on a component.
*/
if (callbackFunction != NULL) {
/*********************************************************
- * Copyright (C) 2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2021,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
REMOVING, /* The component is being removed on the guest OS.
*/
REMOVEFAILED, /* The component remove failed on the guest OS. */
+ UNMANAGED, /* The component is installed on the guest OS, but
+ is not managed (or manageable), through the
+ component manager plugin. */
SCRIPTFAILED = 126, /* The component script failed for some reason. */
SCRIPTTERMINATED = 130 /* The component script terminated for some reason.
*/
ABSENT, /* The action removes/uninstalls the components on the guest.*/
CHECKSTATUS, /* The action calls the preconfigured script to check the
current status of the component. */
- INVALIDACTION /* Action not recongnised by the plugin. */
+ INVALIDACTION /* Action not recognised by the plugin. */
} Action;
* current running async process for a component.
*/
int statuscount; /* A counter value to store max number of times to
- wait before starting another checkstatus opeartion
+ wait before starting another checkstatus operation
*/
Action action; /* Contains information about the action to be
performed on a component. */
/*********************************************************
- * Copyright (C) 2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2021,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* @param[in] ctx Tools application context.
* @param[in] guestInfoCmd Guestinfo command to fetch the guestVar.
* @param[out] outBuffer Output buffer to hold RPC result (optional).
- * @param[out] outBufferLen Output buffer len (optional).
+ * @param[out] outBufferLen Output buffer length (optional).
*
* @return
* TRUE if cmd executed successfully, otherwise FALSE
case REMOVING: return "REMOVING";
case INSTALLFAILED: return "INSTALLFAILED";
case REMOVEFAILED: return "REMOVEFAILED";
+ case UNMANAGED: return "UNMANAGED";
case SCRIPTFAILED: return "SCRIPTFAILED";
case SCRIPTTERMINATED: return "SCRIPTTERMINATED";
}
* requested components.
*
* @param[in] ctx Tools application context.
- * @param[in] components Comma seperated list of available components.
+ * @param[in] components Comma separated list of available components.
*
* @return
* None