File/web/oldweb/webfuncs.inc

Description

/opt/nac/bin/funcs.inc

Long description for file: common PHP functions used by several scripts

PHP version 5

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Includes
 require_once ("../../etc/config.inc") (line 25)
 require_once ("../../bin/funcs.inc.php") (line 26)
Functions
display_class2_select (line 653)
void display_class2_select ( $selected)
  • $selected
display_class_select (line 630)
void display_class_select ( $selected)
  • $selected
display_dat_select (line 967)
void display_dat_select ()
display_os_select (line 607)
void display_os_select ( $selected)
  • $selected
display_uid_select (line 698)
void display_uid_select ( $selected)
  • $selected
display_vlan_select (line 676)
void display_vlan_select ( $selected)
  • $selected
format_mac (line 801)

Format mac from aa:bb:cc:dd:ee:ff to aabb.ccdd.eeff

  • return: MAC (aabb.ccdd.eeff)
string format_mac (string $macdouble)
  • string $macdouble: MAC (aa:bb:cc:dd:ee:ff)
get_actual_value (line 988)
void get_actual_value ( $mac,  $fieldname)
  • $mac
  • $fieldname
get_datversions (line 937)
void get_datversions ()
get_icon (line 316)
void get_icon ( $os,  $os1,  $os2,  $os3)
  • $os
  • $os1
  • $os2
  • $os3
get_lastseen (line 998)
void get_lastseen ( $mac)
  • $mac
get_latestdat (line 955)
void get_latestdat ()
get_location (line 876)
void get_location ( $port)
  • $port
get_locationid (line 855)
void get_locationid ( $port)
  • $port
get_nmap_id (line 561)
void get_nmap_id ( $sid)
  • $sid
get_nmap_mac (line 591)
void get_nmap_mac ( $id)
  • $id
get_nmap_os (line 576)
void get_nmap_os ( $nmap_ip)
  • $nmap_ip
get_switch_name (line 918)
void get_switch_name ( $switch_ip)
  • $switch_ip
get_users (line 1018)
void get_users ( $office)
  • $office
get_user_email (line 722)
void get_user_email ( $username)
  • $username
get_user_name (line 732)
void get_user_name ( $username)
  • $username
get_vlan_color (line 746)
void get_vlan_color ( $vlan)
  • $vlan
get_vlan_descr (line 839)

Format mac from aabb.ccdd.eeff to aa:bb:cc:dd:ee:ff

  • return: MAC (aabb.ccdd.eeff)
string get_vlan_descr ( $vlan, string $macdot)
  • string $macdot: MAC (aa:bb:cc:dd:ee:ff)
  • $vlan
header_read (line 242)
void header_read ()
main_stuff (line 260)
void main_stuff ()
print_location (line 902)
void print_location ( $locationid)
  • $locationid
strip_datversion (line 931)
void strip_datversion ( $long_version)
  • $long_version
validate_input (line 597)
void validate_input ( $string)
  • $string
vlans_for (line 39)
void vlans_for ( $username)
  • $username
vmps_footer (line 532)
void vmps_footer ()
vmps_header (line 527)
void vmps_header ()

Documentation generated on Mon, 06 Oct 2008 01:10:48 +0200 by phpDocumentor 1.4.0