function clamav_menu in ClamAV 6
Same name and namespace in other branches
- 7 clamav.module \clamav_menu()
Implementation of hook_menu().
File
- ./clamav.module, line 57 
- Integrate ClamAV to allow uploaded files to be scanned for viruses.
Code
function clamav_menu() {
  return array(
    'clamav/upload/js' => array(
      'page callback' => 'clamav_upload_js',
      'access arguments' => array(
        'upload files',
      ),
      'type' => MENU_CALLBACK,
    ),
    'admin/settings/clamav' => array(
      'title' => 'Anti-virus (ClamAV)',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'clamav_admin_settings',
      ),
      'access arguments' => array(
        'administer site configuration',
      ),
      'file' => 'clamav.admin.inc',
    ),
  );
}