File: ntop.i

package info (click to toggle)
ntop 3%3A5.0.1%2Bdfsg1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,720 kB
  • ctags: 11,480
  • sloc: ansic: 79,804; sh: 21,658; python: 1,948; awk: 1,504; perl: 971; makefile: 745; php: 123; xml: 71; sql: 13; sed: 11
file content (19 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// File : ntop.i
// Command: swig -perl5 ntop.i

%module ntop
%{
#include "ntop.h"
%}

// #include "ntop_perl.h"
void ntop_perl_sendString(char *str);
void ntop_perl_send_http_header(int mime_type, char *title);
void ntop_perl_send_html_footer();
void ntop_perl_loadHost();
void ntop_perl_getFirstHost(int actualDeviceId);
void ntop_perl_getNextHost(int actualDeviceId);
void ntop_perl_sendFile(char* fileName, int doNotUnlink);
HostTraffic* ntop_perl_findHostByNumIP(HostAddr hostIpAddress, short vlanId, int actualDeviceId);
HostTraffic* ntop_perl_findHostBySerial(HostSerial serial, int actualDeviceId);
HostTraffic* ntop_perl_findHostByMAC(char* macAddr, short vlanId, int actualDeviceId);