This file is indexed.

/usr/include/sipxtapi/rtcp/INetworkChannel.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
//
// 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 _INetworkChannel_h
#define _INetworkChannel_h

#include "rtcp/RtcpConfig.h"

// Include
#include "IBaseClass.h"


/**
 *
 * Interface Name:  INetworkChannel
 *
 * Inheritance:     IBaseClass
 *
 *
 * Description:     The INetworkChannel interface allows allows a consumer to
 *                  to create, control, and terminate a unidirectional
 *                  network connection for sending or receiving data.
 *
 * Notes:
 *
 */
interface INetworkChannel : public IBaseClass
 {

//  Public Methods

public:

/*|><|************************************************************************
 Name:          CNetworkChannel::Initialize

 Description:   A polymorphic method of INetworkChannel that handles the
                creation and initialization of an inbound or outbound
                connectionless datagram channels.  The method shall create
                and open the datagram channel in addition to binding it to
                establish a local port ID.

 Returns:       bool.
 ***********************************************************************|><|*/
    virtual bool  Initialize(void)=0;


/*|><|************************************************************************
 Name:          Connect

 Description:   A polymorphic method that manages the connection of an inbound
                or outbound connectionless datagram channels over TCP/IP.
                This is a non-blocking call.

 Returns:       bool.
 ***********************************************************************|><|*/
    virtual bool  Connect(unsigned char *puchIPAddress,
                          unsigned short usPortID)=0;



/*|><|************************************************************************
 Name:          Close

 Description:   A method that closes a connectionless datagram channel.

 Returns:       bool.
 ***********************************************************************|><|*/
    virtual bool  Close(void)=0;



/*|><|************************************************************************
 Name:          GetSocket

 Description:   An IChannel interface method that retrieves the socket handle
                associated with a given channel.

 Returns:       unsigned int.
 ***********************************************************************|><|*/
    virtual unsigned int  GetSocket(void)=0;

/*|><|************************************************************************
 Name:          GetPort

 Description:   An IChannel interface method that retrieves the port ID
                associated with a given channel.

 Returns:       unsigned short.
 ***********************************************************************|><|*/
    virtual unsigned short    GetPort(void)=0;


/*|><|************************************************************************
 Name:          IsOpened

 Description:   An IChannel interface method that returns a flag identifying
                whether a channel has been opened.

 Returns:       None.
 ***********************************************************************|><|*/
    virtual bool    IsOpened(void)=0;

/*|><|************************************************************************
 Name:          IsConnected

 Description:   An IChannel interface method that returns a flag identifying
                whether a channel has been connected.

 Returns:       None.
 ***********************************************************************|><|*/
    virtual bool    IsConnected(void)=0;


};


#endif