/usr/include/osp/ospusageind.h is in libosptk3-dev 3.4.2-1.2.
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 | /**************************************************************************
*** COPYRIGHT (c) 2002 by TransNexus, Inc. ***
*** ***
*** This software is property of TransNexus, Inc. ***
*** This software is freely available under license from TransNexus. ***
*** The license terms and conditions for free use of this software by ***
*** third parties are defined in the OSP Toolkit Software License ***
*** Agreement (LICENSE.txt). Any use of this software by third ***
*** parties, which does not comply with the terms and conditions of the ***
*** OSP Toolkit Software License Agreement is prohibited without ***
*** the prior, express, written consent of TransNexus, Inc. ***
*** ***
*** Thank you for using the OSP ToolKit(TM). Please report any bugs, ***
*** suggestions or feedback to support@transnexus.com ***
*** ***
**************************************************************************/
/*
* ospusageind.h - OSP Usage Indication Objects
*/
#ifndef _OSPUSAGEIND_H
#define _OSPUSAGEIND_H
#include "osp/osp.h"
#include "osp/ospxmlelem.h"
#include "osp/ospmsg.h"
#include "osp/ospcallid.h"
#include "osp/ospaltinfo.h"
#include "osp/ospstatistics.h"
typedef struct
{
OSPTLISTLINK ospmUsageIndLink;
OSPTTIME ospmUsageIndTimestamp;
OSPTTIME ospmUsageIndStartTime;
OSPTTIME ospmUsageIndEndTime;
OSPTTIME ospmUsageIndAlertTime;
OSPTTIME ospmUsageIndConnectTime;
OSPTTIME ospmUsageIndPostDialDelay;
OSPTBOOL ospvUsageIndIsPDDInfoPresent;
unsigned ospmUsageIndReleaseSource;
unsigned char ospmUsageIndConferenceId[OSPC_CONFIDSIZE]; /* This is in chararcters */
unsigned char *ospmUsageIndMessageId;
unsigned char *ospmUsageIndComponentId;
unsigned ospmUsageIndRole;
unsigned ospmUsageIndHasRole;
OSPTTRXID ospmUsageIndTransactionId;
OSPTCALLID *ospmUsageIndCallId;
int ospmUsageIndDuration;
unsigned char ospmUsageIndSourceNumber[OSPC_E164NUMSIZE];
unsigned char ospmUsageIndDestNumber[OSPC_E164NUMSIZE];
OSPTLIST ospmUsageIndSourceAlternate;
OSPTLIST ospmUsageIndDeviceInfo;
OSPTLIST ospmUsageIndDestinationAlternate;
unsigned long ospmUsageIndTNCustId;
unsigned long ospmUsageIndTNDeviceId;
unsigned ospmUsageIndTNFailReason;
unsigned ospmUsageIndTNFailReasonInd;
OSPTSTATISTICS *ospmUsageIndTNStats;
OSPTBOOL ospmUsageIndIsPricingInfoPresent;
OSPT_PRICING_INFO osmpUsageIndPricingInfo;
OSPTBOOL osmpUsageIndIsServiceInfoPresent;
OSPE_SERVICE_TYPE osmpUsageIndServiceType;
OSPTALTINFO *ospmUsageIndDestinationCount;
}
OSPTUSAGEIND;
/**/
/*-----------------------------------------------------------------------*
* function prototypes
*-----------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
{
#endif
OSPTUSAGEIND *OSPPUsageIndNew(void);
void OSPPUsageIndDelete( OSPTUSAGEIND **);
int OSPPUsageIndToElement(OSPTLIST *, OSPTXMLELEM **, void *);
void OSPPUsageIndSetCallId(OSPTUSAGEIND *, OSPTCALLID *);
void OSPPUsageIndMoveSourceAlt(OSPTUSAGEIND *, OSPTLIST *);
void OSPPUsageIndMoveDeviceInfo(OSPTUSAGEIND *, OSPTLIST *);
void OSPPUsageIndMoveDestinationAlt(OSPTUSAGEIND *, OSPTLIST *);
void OSPPUsageIndCopySourceAlt(OSPTUSAGEIND *, OSPTLIST *);
void OSPPUsageIndMergeSourceAlt(OSPTUSAGEIND *, OSPTLIST *,OSPTLIST *);
void OSPPUsageIndCopyDeviceInfo(OSPTUSAGEIND *, OSPTLIST *);
void OSPPUsageIndSetComponentId(OSPTUSAGEIND *, unsigned char *);
unsigned OSPPUsageIndHasMessageId(OSPTUSAGEIND *);
unsigned char *OSPPUsageIndGetMessageId(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasTimestamp(OSPTUSAGEIND *);
void OSPPUsageIndSetTimestamp(OSPTUSAGEIND *, OSPTTIME);
OSPTTIME OSPPUsageIndGetTimestamp(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasComponentId(OSPTUSAGEIND *);
unsigned char *OSPPUsageIndGetComponentId(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasRole(OSPTUSAGEIND *);
OSPE_MSG_ROLETYPES OSPPUsageIndGetRole(OSPTUSAGEIND *);
void OSPPUsageIndSetRole(OSPTUSAGEIND *, unsigned);
unsigned OSPPUsageIndHasTransactionId(OSPTUSAGEIND *);
void OSPPUsageIndSetTransactionId(OSPTUSAGEIND *, OSPTTRXID ospvTransactionId);
OSPTTRXID OSPPUsageIndGetTransactionId(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasCallId(OSPTUSAGEIND *);
OSPTCALLID *OSPPUsageIndGetCallId(OSPTUSAGEIND *);
void OSPPUsageIndSetSourceNumber(OSPTUSAGEIND *,unsigned char *);
unsigned char *OSPPUsageIndGetSourceNumber(OSPTUSAGEIND *);
void OSPPUsageIndSetCurrency(OSPTUSAGEIND *,unsigned char *);
unsigned char *OSPPUsageIndGetCurrency(OSPTUSAGEIND *);
void OSPPUsageIndSetDestNumber(OSPTUSAGEIND *,unsigned char *);
unsigned char *OSPPUsageIndGetDestNumber(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasSourceAlt(OSPTUSAGEIND *);
OSPTALTINFO *OSPPUsageIndFirstSourceAlt(OSPTUSAGEIND *);
OSPTALTINFO *OSPPUsageIndNextSourceAlt(OSPTUSAGEIND *, OSPTALTINFO *);
unsigned OSPPUsageIndHasDestinationAlt(OSPTUSAGEIND *);
unsigned OSPPUsageIndGetDestinationAltSize(OSPTALTINFO *);
OSPTALTINFO *OSPPUsageIndFirstDestinationAlt(OSPTUSAGEIND *);
OSPTALTINFO *OSPPUsageIndNextDestinationAlt(OSPTUSAGEIND *, OSPTALTINFO *);
unsigned OSPPUsageIndHasDuration(OSPTUSAGEIND *);
void OSPPUsageIndSetDuration(OSPTUSAGEIND *, int ospvDuration);
int OSPPUsageIndGetDuration(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasTNCustId(OSPTUSAGEIND *ospvUsageInd);
void OSPPUsageIndSetTNCustId(OSPTUSAGEIND *, unsigned long);
unsigned long OSPPUsageIndGetTNCustId(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasTNDeviceId(OSPTUSAGEIND *ospvUsageInd);
void OSPPUsageIndSetTNDeviceId(OSPTUSAGEIND *, unsigned long);
unsigned long OSPPUsageIndGetTNDeviceId(OSPTUSAGEIND *);
unsigned OSPPUsageIndHasTNFailReason(OSPTUSAGEIND *ospvUsageInd);
void OSPPUsageIndSetTNFailReason(OSPTUSAGEIND *, unsigned);
unsigned OSPPUsageIndGetTNFailReason(OSPTUSAGEIND *);
OSPTBOOL OSPPUsageIndHasTNStatistics(OSPTUSAGEIND *);
void OSPPUsageIndSetTNStatistics(OSPTUSAGEIND *, OSPTSTATISTICS *);
void OSPPUsageIndAddDestinationAlt(OSPTUSAGEIND *ospvUsageInd, OSPTALTINFO *ospvAltInfo);
void OSPPUsageIndSetStartTime(OSPTUSAGEIND *, OSPTTIME ospvStartTime);
OSPTTIME OSPPUsageIndGetStartTime(OSPTUSAGEIND *);
void OSPPUsageIndSetEndTime(OSPTUSAGEIND *, OSPTTIME ospvEndTime);
OSPTTIME OSPPUsageIndGetEndTime(OSPTUSAGEIND *);
void OSPPUsageIndSetConnectTime(OSPTUSAGEIND *, OSPTTIME ospvEndTime);
OSPTTIME OSPPUsageIndGetConnectTime(OSPTUSAGEIND *);
void OSPPUsageIndSetAlertTime(OSPTUSAGEIND *, OSPTTIME ospvEndTime);
OSPTTIME OSPPUsageIndGetAlertTime(OSPTUSAGEIND *);
void OSPPUsageIndSetPostDialDelay(OSPTUSAGEIND *, int ospvPostDialDelay);
int OSPPUsageIndGetPostDialDelay(OSPTUSAGEIND *);
void OSPPUsageIndSetIsPDDInfoPresent(OSPTUSAGEIND *, unsigned ospvIsPDDInfoPresent);
int OSPPUsageIndGetIsPDDInfoPresent(OSPTUSAGEIND *);
void OSPPUsageIndSetReleaseSource(OSPTUSAGEIND *, unsigned ospvReleaseSource);
unsigned OSPPUsageIndGetReleaseSource(OSPTUSAGEIND *);
void OSPPUsageIndSetConferenceId(OSPTUSAGEIND *,unsigned char *);
unsigned char * OSPPUsageIndGetConferenceId(OSPTUSAGEIND *);
void OSPPUsageIndSetDestinationCount(OSPTUSAGEIND *, unsigned ospvDestinationCount);
OSPTALTINFO *OSPPUsageIndGetDestinationCount(OSPTUSAGEIND *);
#ifdef __cplusplus
}
#endif
#endif /* _OSPUSAGEIND_H */
|