/usr/include/sipxtapi/os/OsIntPtrMsg.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 | //
// 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 OsIntPtrMsg_h__
#define OsIntPtrMsg_h__
// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include "os/OsDefs.h"
#include "utl/UtlContainable.h"
#include "os/OsMsg.h"
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
//:Base class for message queue buffers
class OsIntPtrMsg : public OsMsg
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:
static const UtlContainableType TYPE ; /** < Class type used for runtime checking */
/* ============================ CREATORS ================================== */
OsIntPtrMsg(const unsigned char msgType,
const unsigned char msgSubType,
intptr_t pData1 = 0,
intptr_t pData2 = 0);
//:Constructor
OsIntPtrMsg(const OsIntPtrMsg& rOsMsg);
//:Copy constructor
virtual OsMsg* createCopy(void) const;
//:Create a copy of this msg object (which may be of a derived type)
/* ============================ MANIPULATORS ============================== */
OsIntPtrMsg& operator=(const OsIntPtrMsg& rhs);
//:Assignment operator
/* ============================ ACCESSORS ================================= */
intptr_t getData1() const { return mpData1; }
intptr_t getData2() const { return mpData2; }
void setData1(intptr_t val) { mpData1 = val; }
void setData2(intptr_t val) { mpData2 = val; }
/* ============================ INQUIRY =================================== */
/* //////////////////////////// PROTECTED ///////////////////////////////// */
protected:
intptr_t mpData1;
intptr_t mpData2;
/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:
};
/* ============================ INLINE METHODS ============================ */
#endif // OsIntPtrMsg_h__
|