version 1.33, 2003/11/12 18:21:34
|
version 1.34.4.2, 2004/04/26 20:21:21
|
|
|
#include <io.h> | #include <io.h> |
#include <conio.h> | #include <conio.h> |
#include <direct.h> | #include <direct.h> |
#include <sys/stat.h> |
|
#include <sys/types.h> | #include <sys/types.h> |
#include <windows.h> | #include <windows.h> |
#include <process.h> | #include <process.h> |
|
|
| |
String System::getSystemCreationClassName () | String System::getSystemCreationClassName () |
{ | { |
// |
return "CIM_ComputerSystem"; |
// ATTN: Implement this method to return the system creation class name |
|
// |
|
return String::EMPTY; |
|
} | } |
| |
Uint32 System::lookupPort( | Uint32 System::lookupPort( |
|
|
// | // |
if ( (serv = getservbyname(serviceName, TCP)) != NULL ) | if ( (serv = getservbyname(serviceName, TCP)) != NULL ) |
{ | { |
localPort = serv->s_port; |
localPort = ntohs(serv->s_port); |
} | } |
else | else |
{ | { |
|
|
return (strcasecmp(_fullpath( full, path_slash, _MAX_PATH ), path_slash) == 0) ? true : false; | return (strcasecmp(_fullpath( full, path_slash, _MAX_PATH ), path_slash) == 0) ? true : false; |
} | } |
| |
|
// Changes file permissions on the given file. |
|
Boolean System::changeFilePermissions(const char* path, mode_t mode) |
|
{ |
|
// ATTN: File permissions are not currently defined in Windows |
|
return true; |
|
} |
|
|
void System::openlog(const String ident) | void System::openlog(const String ident) |
{ | { |
return; | return; |