sigar/bindings/perl/typemap

50 lines
1.1 KiB
Plaintext
Raw Normal View History

2004-06-22 06:37:04 +08:00
Sigar T_PTROBJ
sigar_pid_t T_UV
sigar_uint64_t T_UV
2004-06-22 06:37:04 +08:00
const char * T_PV
2006-07-05 03:49:18 +08:00
Sigar::NetAddress T_NETADDR
2004-06-22 06:37:04 +08:00
#generated list
Sigar::Uptime T_PTROBJ
Sigar::Mem T_PTROBJ
Sigar::ProcCred T_PTROBJ
Sigar::ProcFd T_PTROBJ
Sigar::DirStat T_PTROBJ
Sigar::ProcCredName T_PTROBJ
Sigar::FileAttrs T_PTROBJ
Sigar::Cpu T_PTROBJ
Sigar::CpuInfo T_PTROBJ
Sigar::NetInterfaceConfig T_PTROBJ
Sigar::Swap T_PTROBJ
Sigar::ProcState T_PTROBJ
Sigar::NetConnection T_PTROBJ
Sigar::ProcExe T_PTROBJ
Sigar::ProcTime T_PTROBJ
2007-03-12 05:48:47 +08:00
Sigar::ProcCpu T_PTROBJ
2004-06-22 06:37:04 +08:00
Sigar::ProcMem T_PTROBJ
Sigar::FileSystem T_PTROBJ
Sigar::FileSystemUsage T_PTROBJ
Sigar::ProcStat T_PTROBJ
Sigar::NetRoute T_PTROBJ
Sigar::NetInterfaceStat T_PTROBJ
2005-05-14 08:00:58 +08:00
Sigar::Who T_PTROBJ
Sigar::ThreadCpu T_PTROBJ
2005-12-07 01:13:59 +08:00
Sigar::ResourceLimit T_PTROBJ
Sigar::NetInfo T_PTROBJ
2006-07-05 03:49:18 +08:00
Sigar::DirUsage T_PTROBJ
Sigar::SysInfo T_PTROBJ
Sigar::NetStat T_PTROBJ
2007-09-02 04:52:10 +08:00
Sigar::Tcp T_PTROBJ
Sigar::NfsClientV2 T_PTROBJ
Sigar::NfsServerV2 T_PTROBJ
Sigar::NfsClientV3 T_PTROBJ
Sigar::NfsServerV3 T_PTROBJ
2004-09-18 04:21:39 +08:00
OUTPUT
T_NETADDR
{
2006-07-05 03:49:18 +08:00
char addr_str[INET6_ADDRSTRLEN];
sigar_net_address_to_string(NULL, &$var, addr_str);
2004-09-18 04:21:39 +08:00
sv_setpv($arg, addr_str);
}