openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

diag_pp.h (694B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      6  *
      7  * File:        diag_pp.h
      8  * Purpose:     
      9  */
     10 
     11 #ifndef   _DIAG_PP_H_
     12 #define   _DIAG_PP_H_
     13 
     14 #include <appl/diag/shell.h>
     15 #include <appl/diag/parse.h>
     16 
     17 /*Structs*/
     18 typedef struct
     19 {
     20     const char     *long_name;
     21     const char     *short_name;
     22     int           (*cmd_diag_pp_function) (int, args_t *); /* define callback for print */
     23 
     24 } DIAG_PP_COMMAND_DEF;
     25 
     26 /* Functions */
     27 cmd_result_t
     28 cmd_dpp_diag_pp(int unit, args_t* a); 
     29 
     30 void
     31 print_pp_usage(int unit);
     32 
     33 #endif /* _DIAG_PP_H_ */
     34