|NS_HIDDEN_ (nsresult) ProcessUpdates(nsIFile *greDir|
|This function processes any available updates. |
|nsIFile nsIFile *||updRootDir|
|nsIFile nsIFile int||argc|
|nsIFile nsIFile int char **||argv|
Convert an ASCII string to all upper/lowercase (a-z,A-Z only).
Try to acquire exclusive access to the specified profile directory.
Registers the functions with sqlite.
Resolves a relative path string containing "." and ".." with respect to a base path (assumed to already be resolved).
As part of that process, it may exit the current process and relaunch it at a later time.
Two directories are passed to this function: greDir (where the actual binary resides) and appDir (which contains application.ini for XULRunner apps). If this is not a XULRunner app then appDir is identical to greDir.
The argc and argv passed to this function should be what is needed to relaunch the current process.
This function does not modify appDir.