sigar/bindings/perl/typemap

39 lines
845 B
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
2004-09-18 04:21:39 +08:00
Sigar::NetAddr 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
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
2004-09-18 04:21:39 +08:00
OUTPUT
T_NETADDR
{
char addr_str[SIGAR_INET_ADDR_LEN];
sigar_inet_ntoa(NULL, $var, addr_str);
sv_setpv($arg, addr_str);
}