/usr/include/thunderbird/nsPISocketTransportService.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsPISocketTransportService.idl
*/
#ifndef __gen_nsPISocketTransportService_h__
#define __gen_nsPISocketTransportService_h__
#ifndef __gen_nsISocketTransportService_h__
#include "nsISocketTransportService.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsPISocketTransportService */
#define NS_PISOCKETTRANSPORTSERVICE_IID_STR "bc5869e7-53a6-4195-8ab8-32e7116b87dd"
#define NS_PISOCKETTRANSPORTSERVICE_IID \
{0xbc5869e7, 0x53a6, 0x4195, \
{ 0x8a, 0xb8, 0x32, 0xe7, 0x11, 0x6b, 0x87, 0xdd }}
class NS_NO_VTABLE nsPISocketTransportService : public nsISocketTransportService {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_PISOCKETTRANSPORTSERVICE_IID)
/* void init (); */
NS_IMETHOD Init(void) = 0;
/* void shutdown (); */
NS_IMETHOD Shutdown(void) = 0;
/* attribute boolean autodialEnabled; */
NS_IMETHOD GetAutodialEnabled(bool *aAutodialEnabled) = 0;
NS_IMETHOD SetAutodialEnabled(bool aAutodialEnabled) = 0;
/* readonly attribute long sendBufferSize; */
NS_IMETHOD GetSendBufferSize(int32_t *aSendBufferSize) = 0;
/* attribute boolean offline; */
NS_IMETHOD GetOffline(bool *aOffline) = 0;
NS_IMETHOD SetOffline(bool aOffline) = 0;
/* readonly attribute long keepaliveIdleTime; */
NS_IMETHOD GetKeepaliveIdleTime(int32_t *aKeepaliveIdleTime) = 0;
/* readonly attribute long keepaliveRetryInterval; */
NS_IMETHOD GetKeepaliveRetryInterval(int32_t *aKeepaliveRetryInterval) = 0;
/* readonly attribute long keepaliveProbeCount; */
NS_IMETHOD GetKeepaliveProbeCount(int32_t *aKeepaliveProbeCount) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsPISocketTransportService, NS_PISOCKETTRANSPORTSERVICE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSPISOCKETTRANSPORTSERVICE \
NS_IMETHOD Init(void) override; \
NS_IMETHOD Shutdown(void) override; \
NS_IMETHOD GetAutodialEnabled(bool *aAutodialEnabled) override; \
NS_IMETHOD SetAutodialEnabled(bool aAutodialEnabled) override; \
NS_IMETHOD GetSendBufferSize(int32_t *aSendBufferSize) override; \
NS_IMETHOD GetOffline(bool *aOffline) override; \
NS_IMETHOD SetOffline(bool aOffline) override; \
NS_IMETHOD GetKeepaliveIdleTime(int32_t *aKeepaliveIdleTime) override; \
NS_IMETHOD GetKeepaliveRetryInterval(int32_t *aKeepaliveRetryInterval) override; \
NS_IMETHOD GetKeepaliveProbeCount(int32_t *aKeepaliveProbeCount) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSPISOCKETTRANSPORTSERVICE(_to) \
NS_IMETHOD Init(void) override { return _to Init(); } \
NS_IMETHOD Shutdown(void) override { return _to Shutdown(); } \
NS_IMETHOD GetAutodialEnabled(bool *aAutodialEnabled) override { return _to GetAutodialEnabled(aAutodialEnabled); } \
NS_IMETHOD SetAutodialEnabled(bool aAutodialEnabled) override { return _to SetAutodialEnabled(aAutodialEnabled); } \
NS_IMETHOD GetSendBufferSize(int32_t *aSendBufferSize) override { return _to GetSendBufferSize(aSendBufferSize); } \
NS_IMETHOD GetOffline(bool *aOffline) override { return _to GetOffline(aOffline); } \
NS_IMETHOD SetOffline(bool aOffline) override { return _to SetOffline(aOffline); } \
NS_IMETHOD GetKeepaliveIdleTime(int32_t *aKeepaliveIdleTime) override { return _to GetKeepaliveIdleTime(aKeepaliveIdleTime); } \
NS_IMETHOD GetKeepaliveRetryInterval(int32_t *aKeepaliveRetryInterval) override { return _to GetKeepaliveRetryInterval(aKeepaliveRetryInterval); } \
NS_IMETHOD GetKeepaliveProbeCount(int32_t *aKeepaliveProbeCount) override { return _to GetKeepaliveProbeCount(aKeepaliveProbeCount); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSPISOCKETTRANSPORTSERVICE(_to) \
NS_IMETHOD Init(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(); } \
NS_IMETHOD Shutdown(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Shutdown(); } \
NS_IMETHOD GetAutodialEnabled(bool *aAutodialEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutodialEnabled(aAutodialEnabled); } \
NS_IMETHOD SetAutodialEnabled(bool aAutodialEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutodialEnabled(aAutodialEnabled); } \
NS_IMETHOD GetSendBufferSize(int32_t *aSendBufferSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendBufferSize(aSendBufferSize); } \
NS_IMETHOD GetOffline(bool *aOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffline(aOffline); } \
NS_IMETHOD SetOffline(bool aOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOffline(aOffline); } \
NS_IMETHOD GetKeepaliveIdleTime(int32_t *aKeepaliveIdleTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeepaliveIdleTime(aKeepaliveIdleTime); } \
NS_IMETHOD GetKeepaliveRetryInterval(int32_t *aKeepaliveRetryInterval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeepaliveRetryInterval(aKeepaliveRetryInterval); } \
NS_IMETHOD GetKeepaliveProbeCount(int32_t *aKeepaliveProbeCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeepaliveProbeCount(aKeepaliveProbeCount); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsPISocketTransportService
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSPISOCKETTRANSPORTSERVICE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsPISocketTransportService)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* void init (); */
NS_IMETHODIMP _MYCLASS_::Init()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void shutdown (); */
NS_IMETHODIMP _MYCLASS_::Shutdown()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean autodialEnabled; */
NS_IMETHODIMP _MYCLASS_::GetAutodialEnabled(bool *aAutodialEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetAutodialEnabled(bool aAutodialEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long sendBufferSize; */
NS_IMETHODIMP _MYCLASS_::GetSendBufferSize(int32_t *aSendBufferSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean offline; */
NS_IMETHODIMP _MYCLASS_::GetOffline(bool *aOffline)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetOffline(bool aOffline)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long keepaliveIdleTime; */
NS_IMETHODIMP _MYCLASS_::GetKeepaliveIdleTime(int32_t *aKeepaliveIdleTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long keepaliveRetryInterval; */
NS_IMETHODIMP _MYCLASS_::GetKeepaliveRetryInterval(int32_t *aKeepaliveRetryInterval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long keepaliveProbeCount; */
NS_IMETHODIMP _MYCLASS_::GetKeepaliveProbeCount(int32_t *aKeepaliveProbeCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/*
* Network activity indicator: we send out these topics no more than every
* blipIntervalMilliseconds (as set by the
* "network.activity.blipIntervalMilliseconds" preference: if 0 no notifications
* are sent) if the network is currently active (i.e. we're sending/receiving
* data to/from the socket).
*/
#define NS_NETWORK_ACTIVITY_BLIP_UPLOAD_TOPIC "network-activity-blip-upload"
#define NS_NETWORK_ACTIVITY_BLIP_DOWNLOAD_TOPIC "network-activity-blip-download"
#endif /* __gen_nsPISocketTransportService_h__ */
|