more netware linkage fixes

This commit is contained in:
Doug MacEachern 2005-08-28 05:59:53 +00:00
parent 59ec9d00e1
commit f38169afa4
2 changed files with 14 additions and 1 deletions

View File

@ -1045,6 +1045,12 @@ int sigar_resource_limit_get(sigar_t *sigar,
{
return SIGAR_ENOTIMPL;
}
int sigar_who_list_get(sigar_t *sigar,
sigar_who_list_t *wholist)
{
return SIGAR_ENOTIMPL;
}
#else
int sigar_who_list_get(sigar_t *sigar,
@ -1703,7 +1709,7 @@ SIGAR_DECLARE(int) sigar_fqdn_get(sigar_t *sigar, char *name, int namelen)
sigar_log_printf(sigar, SIGAR_LOG_DEBUG,
"[fqdn] unresolved using gethostbyname.h_addr_list");
#ifndef WIN32
#if !defined(WIN32) && !defined(NETWARE)
if (!IS_FQDN(name) && /* e.g. aix gethostname is already fqdn */
(getdomainname(domain, sizeof(domain) - 1) == 0) &&
(domain[0] != '\0') &&

View File

@ -158,6 +158,13 @@ int sigar_file_attrs_get(sigar_t *sigar,
return SIGAR_ENOTIMPL;
}
int sigar_link_attrs_get(sigar_t *sigar,
const char *file,
sigar_file_attrs_t *fileattrs)
{
return SIGAR_ENOTIMPL;
}
#elif defined(WIN32)
#include <accctrl.h>