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

bslmgmt.h (834B)


      1 /*! \file bslmgmt.h
      2  *
      3  * Bsl management definition for LTSW.
      4  */
      5 /*
      6  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      7  * 
      8  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      9  */
     10 
     11 #ifndef DIAG_LTSW_BSLMGMT_H
     12 #define DIAG_LTSW_BSLMGMT_H
     13 
     14 /*!
     15  * \brief Install output redirection hook.
     16  *
     17  * An output redirection hook is used when the output from one command
     18  * should be used as input for another.
     19  *
     20  * If the redirection output hook returns a non-zero value, the log
     21  * message (command output) will not be sent to any of the installed
     22  * output sinks.
     23  *
     24  * \param [in] out_hook Output hook for redirection.
     25  *
     26  * \return Always 0.
     27  */
     28 extern int
     29 appl_ltsw_bslmgmt_redir_hook_set(bsl_out_hook_f out_hook);
     30 
     31 #endif /* DIAG_LTSW_BSLMGMT_H */