home *** CD-ROM | disk | FTP | other *** search
/ Steganos Hacker Tools / SHT151.iso / programme / scanner / nmapNTsp1 / Win_2000.exe / nmapNT-src / nmapfe / nmapfe_sig.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-08  |  3.9 KB  |  105 lines

  1. /* Author: Zach
  2.  * Mail: key@aye.net
  3.  * IRC: EFNet as zach` or key in #bastards or #neatoelito
  4.  * AIM (Aol): GoldMatrix
  5.  *
  6.  * Change the source as you wish, but leave these comments..
  7.  *
  8.  * Long live Aol and pr: Phreak.  :-)
  9.  */
  10. #if MISSING_GTK
  11. #error "Your system does not appear to have GTK (www.gtk.org) installed.  Thus the Nmap X Front End will not compile.  You should still be able to use Nmap the normal way (via text console).  GUIs are for wimps anyway :)"
  12. #endif
  13.  
  14.  
  15. #include <gtk/gtk.h>
  16. void build_tree(char *buf);
  17. void stop_scan();
  18. gint read_data(gpointer data);
  19. void entry_toggle_checkbox (GtkWidget *entry, GtkWidget *checkbox);
  20. void validate_option_change(GtkWidget *target_option, char *ignored);
  21. void display_nmap_command_callback(GtkWidget *target_option, char *ignored);
  22. void display_nmap_command();
  23. void scan_options(GtkWidget *widget, int *the_option);
  24. char *build_command();
  25. void kill_output();
  26. int execute(char *command);
  27. void func_start_scan();
  28. void on_done_clicked(GtkButton *button, GtkWidget *widget);
  29. void on_cancel_clicked(GtkButton *button, GtkWidget *widget);
  30. void on_machine_activate();
  31. void on_rpc_activate (GtkMenuItem *menuitem, gpointer user_data);
  32.  
  33. void
  34. on_start_scan_clicked                  (GtkButton       *button,
  35.                                         GtkWidget        *entry);
  36.  
  37. void on_verb_activate            (GtkMenuItem    *menuitem, gpointer user_data);
  38.  
  39. void on_Append_activate            (GtkMenuItem    *menuitem, gpointer user_data);
  40.  
  41. void
  42. on_exit_me_clicked                        (GtkButton       *button,
  43.                                     gpointer    user_data);
  44.  
  45. void
  46. on_About_activate                      (GtkMenuItem     *menuitem,
  47.                                         GtkWidget        *about);
  48.  
  49. void
  50. on_Close_activate                      (GtkMenuItem     *menuitem,
  51.                                         gpointer         user_data);
  52.  
  53. void
  54. on_about_ok_clicked                    (GtkButton       *button,
  55.                                 GtkWidget    *about);
  56.  
  57. void
  58. on_help_ok_clicked                    (GtkButton       *button,
  59.                                 GtkWidget    *help);
  60.  
  61. void
  62. on_Save_Log_activate                   (GtkMenuItem     *menuitem,
  63.                                         gpointer         user_data);
  64.  
  65. void
  66. on_Open_Log_activate                   (GtkMenuItem     *menuitem,
  67.                                         gpointer         user_data);
  68.  
  69. void
  70. on_Help_Main_activate                  (GtkMenuItem     *menuitem,
  71.                                         gpointer         user_data);
  72.  
  73. void
  74. on_Help_activate                       (GtkMenuItem     *menuitem,
  75.                                         GtkWidget        *help);
  76. void
  77. on_View_Main_activate                  (GtkMenuItem     *menuitem,
  78.                                         gpointer         user_data);
  79.                                         
  80. void on_Trad_activate                  (GtkMenuItem *menuitem, GtkWidget *trad);
  81. void on_CTrad_activate                  (GtkMenuItem *menuitem, GtkWidget *ctrad);
  82. void on_Tree_activate                  (GtkMenuItem *menuitem, GtkWidget *tree);
  83.  
  84. void
  85. on_Start_Scan_activate                       (GtkMenuItem     *menuitem,
  86.                                         gpointer         user_data);
  87.  
  88. void
  89. on_Get_Nmap_Version_activate           (GtkMenuItem     *menuitem,
  90.                                         gpointer         user_data);
  91.  
  92. void
  93. on_ok_button1_clicked                  (GtkButton       *button,
  94.                                         GtkWidget     *window);
  95.  
  96. void
  97. on_cancel_button1_clicked              (GtkButton       *button,
  98.                                         GtkWidget         *window);
  99.  
  100. /* A few functions that should be in a util file (in fact, they should
  101.    share the same util file Nmap uses IMHO */
  102. int Strncpy(char *dest, const char *src, size_t n);
  103. int arg_parse(const char *command, char ***argv);
  104. void arg_parse_free(char **argv);
  105.