home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / mrdebug.tar.Z / mrdebug.tar / user_proto.h < prev    next >
Text File  |  1993-10-25  |  1KB  |  30 lines

  1. /*****************************************************
  2.  
  3.   This file contains the function prototypes for the
  4.   file user.c.  These functions are all used in
  5.   conjunction with the user interface.
  6.  
  7. *****************************************************/
  8.  
  9. /********CONSTANTS **********************/
  10. #define     NO_ACTION     1
  11. #define     FIND_TREE     2
  12. #define     PRINT_TREE    3
  13. #define     PRINT_UNREACH 4
  14. #define     PRINT_PATH    5
  15. #define     DONE          9
  16.  
  17.  
  18. int           parse_user_input( Network *net, NAME source, NAME dest, long *max_thresh,
  19.                     Ifc_list *subnets, FILE **out );
  20. int           disable_edge( Network *net, NAME frm_name, NAME to_name, FILE *out );
  21. int           delete_subnet_conn( Network *net, Interface *frm_ifc, NAME frm_name, FILE *out );
  22. void           add_subnet_conn( Network *net, Interface *frm_ifc, NAME frm_name, FILE *out );
  23. int           delete_edge( Network *net, NAME frm_name, NAME to_name, FILE *out );
  24. Change_item  *push_change( Change_stack *stack, u_long type, NAME frm_name, NAME to_name );
  25. Change_item  *extract_change( Change_stack *stack, u_long type, NAME frm_name,
  26.                   NAME to_name );
  27. void          print_changes( Change_stack *stack, long number, FILE *out );
  28. void          explain_output( FILE *out );
  29. void          print_network( FILE *net_out, Network  *net );
  30.