⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 airsnort
💻 C
字号:
/* * Initial main.c file generated by Glade. Edit as required. * Glade will not overwrite this file. */#ifdef HAVE_CONFIG_H#  include <config.h>#endif#include <gtk/gtk.h>#include <signal.h>#include <sys/time.h>#include "interface.h"#include "support.h"int resetMAC();void changeChannel(int);void loadOpts();#include "RC4.h"intmain (int argc, char *argv[]){  struct itimerval tval;  //this will be the channel scanning interval, currently 0.2 sec  struct timeval interval = {0, 200000};  GtkWidget *AirSnortWindow;  gtk_set_locale ();  gtk_init (&argc, &argv);  setupIdentity();  loadOpts();  /*   * The following code was added by Glade to create one of each component   * (except popup menus), just so that you see something after building   * the project. Delete any components that you don't want shown initially.   */  AirSnortWindow = create_AirSnortWindow ();  gtk_widget_show (AirSnortWindow);  //this sets up the kchannel scanning stuff  signal(SIGALRM, changeChannel);  tval.it_interval = interval;  tval.it_value = interval;  setitimer(ITIMER_REAL, &tval, NULL);  gtk_main ();  resetMAC();  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -