Lines Matching defs:svinfo
661 srvsvc_server_info_t *svinfo)
693 bzero(svinfo, sizeof (srvsvc_server_info_t));
694 svinfo->sv_platform_id = sv101->sv101_platform_id;
695 svinfo->sv_version_major = sv101->sv101_version_major;
696 svinfo->sv_version_minor = sv101->sv101_version_minor;
697 svinfo->sv_type = sv101->sv101_type;
699 svinfo->sv_name = strdup((char *)sv101->sv101_name);
701 svinfo->sv_comment = strdup((char *)sv101->sv101_comment);
703 if (svinfo->sv_type & SV_TYPE_WFW)
704 svinfo->sv_os = NATIVE_OS_WIN95;
705 if (svinfo->sv_type & SV_TYPE_WINDOWS)
706 svinfo->sv_os = NATIVE_OS_WIN95;
707 if ((svinfo->sv_type & SV_TYPE_NT) ||
708 (svinfo->sv_type & SV_TYPE_SERVER_NT))
709 svinfo->sv_os = NATIVE_OS_WINNT;
710 if (svinfo->sv_version_major > 4)
711 svinfo->sv_os = NATIVE_OS_WIN2000;
887 srvsvc_server_info_t svinfo;
897 if (srvsvc_net_server_getinfo(server, domain, &svinfo) == 0) {
899 svinfo.sv_name ? svinfo.sv_name : "NULL",
900 svinfo.sv_comment ? svinfo.sv_comment : "NULL",
901 svinfo.sv_version_major, svinfo.sv_version_minor,
902 svinfo.sv_platform_id, svinfo.sv_type);
904 free(svinfo.sv_name);
905 free(svinfo.sv_comment);