This file is indexed.

/usr/include/sipxtapi/mp/MpStreamMsg.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
//  
// Copyright (C) 2006 SIPez LLC. 
// Licensed to SIPfoundry under a Contributor Agreement. 
//
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////


#ifndef _MpStreamMsg_h_
#define _MpStreamMsg_h_

// SYSTEM INCLUDES

// APPLICATION INCLUDES
#include <utl/UtlString.h>

#include "os/OsMsg.h"
#include "mp/StreamDefs.h"

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

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

   /// Phone set message types
   typedef enum
   {
      STREAM_REALIZE_URL,
      STREAM_REALIZE_BUFFER,
      STREAM_PREFETCH,
      STREAM_PLAY,
      STREAM_REWIND,
      STREAM_PAUSE,
      STREAM_STOP,
      STREAM_DESTROY      
   } MpStreamMsgType;

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

     /// Constructor
   MpStreamMsg(int msg, UtlString& target, StreamHandle handle, void* pPtr1=NULL,
               void* pPtr2=NULL, intptr_t int1=-1, intptr_t int2=-1);

     /// Copy constructor
   MpStreamMsg(const MpStreamMsg& rMpStreamMsg);

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

     /// Destructor
   virtual
   ~MpStreamMsg();

//@}

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

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

     /// Sets the target id of the stream message
   void setTarget(UtlString& target);

     /// Sets the stream handle of the stream message
   void setHandle(StreamHandle handle);

     /// Sets pointer 1 (void*) of the stream message
   void setPtr1(void* p);

     /// Sets pointer 2 (void*) of the stream message
   void setPtr2(void* p);

     /// Sets integer 1 of the stream message
   void setInt1(intptr_t i);

     /// Sets integer 2 of the stream message
   void setInt2(intptr_t i);

//@}

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

     /// Returns the type of the stream  message
   int getMsg() const;
   
     /// Return the target id of the stream message
   UtlString getTarget() const;

     /// Return stream handle of stream msg
   StreamHandle getHandle() const;

     /// Return pointer 1 (void*) of the stream message
   void* getPtr1() const;

     /// Return pointer 2 (void*) of the stream message
   void* getPtr2() const;

     /// Return integer 1 of the media stream message
   intptr_t getInt1() const;

     /// Return integer 2 of the media stream message
   intptr_t getInt2() const;

//@}

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

//@}

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

/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:   
   UtlString    mTarget;   ///< Target ID
   StreamHandle mHandle;   ///< Stream Handle
   void*        mpPtr1;    ///< Message pointer 1
   void*        mpPtr2;    ///< Message pointer 2
   intptr_t     mInt1;     ///< Message integer 1
   intptr_t     mInt2;     ///< Message integer 2

};

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

#endif  // _MpStreamMsg_h_