/usr/include/sipxtapi/rtcp/INetworkSource.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 | //
// 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 _INetworkSource_h
#define _INetworkSource_h
#include "rtcp/RtcpConfig.h"
// Includes
#include "IBaseClass.h"
#include "INetworkChannel.h"
/**
*
* Interface Name: INetworkSource
*
* Inheritance: INetworkChannel
*
*
* Description: The INetworkSource interface allows allows a consumer to
* receive and dispatch PDUs that arrive on a Network channel.
*
* Notes:
*
*/
interface INetworkSource : public INetworkChannel
{
// Public Methods
public:
/*|><|************************************************************************
Name: CNetworkChannel::Receive
Description: A polymorphic method of IChannel that processes any receive
events associated with a channel. This version of receive
shall handle inbound data on either a connectionless or
connection-oriented channel. Arriving data shall be
dispatched to a Processing routine while various errors or
channel conditions shall be reported and returned as errors.
Returns: int.
***********************************************************************|><|*/
virtual int Receive(unsigned char *puchBuffer,
unsigned long ulBufferSize)=0;
/*|><|************************************************************************
Name: Dispatch
Description: A method that takes a data transmission forwarded by the
Receive() method and routes it to the appopriate receiver.
Returns: void.
***********************************************************************|><|*/
virtual void Dispatch(unsigned char * puchBuffer,
unsigned long ulBytesRecvd)=0;
};
#endif
|