This file is indexed.

/usr/include/sipxtapi/mp/MpResourceMsg.h is in libsipxtapi-dev 3.3.0~test17-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//  
// Copyright (C) 2007-2011 SIPez LLC.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement. 
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////

#ifndef _MpResourceMsg_h_
#define _MpResourceMsg_h_

// SYSTEM INCLUDES

// APPLICATION INCLUDES
#include "os/OsMsg.h"
#include "utl/UtlString.h"

// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS

/// Message object used to communicate with the media processing task
class MpResourceMsg : public OsMsg
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:

     /// Resource message types
   typedef enum
   {
      MPRM_RESOURCE_ENABLE,            ///< All resources:  Enable resource
      MPRM_RESOURCE_DISABLE,           ///< All resources: Disable resource
      MPRM_ENABLE_ALL_NOTIFICATIONS,   ///< All resources: Enable all notifications to be sent from a resource
      MPRM_DISABLE_ALL_NOTIFICATIONS,  ///< All resources: Disable all notification from being sent a from resource

      MPRM_START_TONE,          ///< MprToneGen: Start a tone.
      MPRM_STOP_TONE,           ///< MprToneGen: Stop a tone.

      MPRM_BRIDGE_SET_GAINS,    ///< MprBridge: Set row or column in mix matrix.

      MPRM_DECODE_SELECT_CODECS,  ///< MprDecode/MprEncode: Select codecs.

      MPRM_SET_SOCKETS,         ///< MprFromNet and containers set RTP/RTCP sockets
      MPRM_RESET_SOCKETS,       ///< MprFromNet and containers stop reading sockets

      // Add new built in resource operation messages above

      // Non-builtin resource messages
      MPRM_EXTERNAL_MESSAGE_START = 128
      // Do not add new message types after this
   } MpResourceMsgType;

/* ============================ CREATORS ================================== */
///@name Creators
//@{

     /// Constructor
   MpResourceMsg(MpResourceMsgType msg, const UtlString& msgDestName);

     /// Copy constructor
   MpResourceMsg(const MpResourceMsg& rMpResourceMsg);

     /// Create a copy of this msg object (which may be of a derived type)
   virtual OsMsg* createCopy() const;

     /// Destructor
   virtual
   ~MpResourceMsg();

//@}

/* ============================ MANIPULATORS ============================== */
///@name Manipulators
//@{

     /// Assignment operator
   MpResourceMsg& operator=(const MpResourceMsg& rhs);

     /// Set the name of the resource this message applies to.
   void setDestResourceName(const UtlString& msgDestName);
     /**<
     *  Sets the name of the intended recipient for this message.
     */
//@}

/* ============================ ACCESSORS ================================= */
///@name Accessors
//@{

     /// Returns the type of the media resource message
   int getMsg() const;

     /// Get the name of the resource this message applies to.
   UtlString getDestResourceName() const;
     /**<
     *  Returns the name of the MpResource object that is the intended 
     *  recipient for this message.
     */

//@}

/* ============================ INQUIRY =================================== */
///@name Inquiry
//@{

//@}

/* //////////////////////////// PROTECTED ///////////////////////////////// */
protected:

/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:
   UtlString mMsgDestName; ///< Intended recipient for this message
};

/* ============================ INLINE METHODS ============================ */

#endif  // _MpResourceMsg_h_