/usr/include/sipxtapi/rtcp/IGetByeInfo.h is in libsipxtapi-dev 3.3.0~test17-2.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 | //
// Copyright (C) 2006-2013 SIPez LLC. All rights reserved.
//
// 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.
//
// $$
///////////////////////////////////////////////////////////////////////////////
// Border Guard
#ifndef _IGetByeInfo_h
#define _IGetByeInfo_h
#include "rtcp/RtcpConfig.h"
// Include
#include "IBaseClass.h"
/**
*
* Interface Name: IGetByeInfo
*
* Inheritance: None
*
*
* Description: The IGetByeInfo interface allows consumers to extract
* information from an RTCP Bye packet. This data will allow
* a consumer to retrieve the reason for termination and the
* SSRC and CSRCS affected by the termination.
*
* Notes:
*
*/
interface IGetByeInfo : public IBaseClass
{
// Public Methods
public:
/**
*
* Method Name: GetSSRC
*
*
* Inputs: None
*
*
* Outputs: None
*
* Returns: ssrc_t - The SSRC of the Bye Report
*
* Description: Returns the SSRC Associated with the Bye Report.
*
* Usage Notes:
*
*
*/
virtual ssrc_t GetSSRC(void)=0;
/**
*
* Method Name: GetReason
*
*
* Inputs: None
*
* Outputs: unsigned char *puchReason
* Character buffer in which the Reason attribute shall be returned
*
* Returns: unsigned long
* Length of the item being returned in the unsigned character buffer
*
* Description: Retrieves the Reason attribute stored within the object and
* returns its associated length.
*
* Usage Notes: All unsigned character strings returned are limited to 255
* bytes in length. Any wide unsigned character support for
* internationalized display is a responsibility assumed by
* the caller.
*/
virtual unsigned long GetReason(unsigned char *puchReason)=0;
/**
*
* Method Name: GetCSRC
*
*
* Inputs: bool bNBO
* Flag identifying whether data should be represented in NBO format
*
* Outputs: ssrc_t *paulCSRC
* Contributing Source Identifier(s) Array pointer
*
* Returns: unsigned long - Number of Contributing Source Identifier(s)
*
* Description: Returns the contributing source values associated with the
* RTP packet.
*
* Usage Notes:
*
*
*/
virtual unsigned long GetCSRC(ssrc_t *paulCSRC, bool bNBO=FALSE)=0;
/**
*
* Method Name: GetByeInterface()
*
*
* Inputs: None
*
* Outputs: None
*
* Returns: IByeReport * - Pointer to the Bye Report Interface
*
* Description: Returns the Bye Report interface.
*
* Usage Notes:
*
*/
virtual IByeReport * GetByeInterface(void) = 0;
};
#endif
|