/usr/include/osp/ospauthrsp.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 | /**************************************************************************
*** 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 ***
*** ***
**************************************************************************/
/*
* ospauthrsp.h - OSP authorisation response objects
*/
#ifndef _OSPAUTHRSP_H
#define _OSPAUTHRSP_H
#include "osp/osp.h"
#include "osp/ospxmlelem.h"
#include "osp/ospmsg.h"
#include "osp/ospcallid.h"
#include "osp/osptoken.h"
#include "osp/ospdest.h"
#include "osp/ospstatus.h"
#include "osp/osptnaudit.h"
#include "osp/ospciscoext.h"
typedef struct
{
OSPTTIME ospmAuthRspTimestamp;
unsigned char *ospmAuthRspMessageId;
unsigned char *ospmAuthRspComponentId;
OSPTSTATUS *ospmAuthRspStatus;
OSPTTNAUDIT *ospmAuthRspTNAudit;
OSPTTRXID ospmAuthRspTrxId;
OSPTLIST ospmAuthRspDest;
unsigned ospmAuthRspTNDelayLimit;
unsigned ospmAuthRspTNDelayPref;
unsigned ospmNumDests;
OSPTCSAUDIT *ospmAuthRspCSAudit;
}
OSPTAUTHRSP;
#define OSPPAuthRspDestHasNumber(ospvDest) OSPPDestHasNumber(ospvDest)
#define OSPPAuthRspDestSetNumber(ospvDest,ospvNum) OSPPDestSetNumber(ospvDest,ospvNum)
#define OSPPAuthRspDestGetNumber(ospvDest) OSPPDestGetNumber(ospvDest)
#define OSPPAuthRspDestHasAddr(ospvDest) OSPPDestHasAddr(ospvDest)
#define OSPPAuthRspDestSetAddr(ospvDest,ospvAddr) OSPPDestSetAddr(ospvDest,ospvAddr)
#define OSPPAuthRspDestGetAddr(ospvDest) OSPPDestGetAddr(ospvDest)
#define OSPPAuthRspDestHasValidAfter(ospvDest) OSPPDestHasValidAfter(ospvDest)
#define OSPPAuthRspDestSetValidAfter(ospvDest,ospvTime) OSPPDestSetValidAfter(ospvDest,ospvTime)
#define OSPPAuthRspDestGetValidAfter(ospvDest) OSPPDestGetValidAfter(ospvDest)
#define OSPPAuthRspDestHasValidUntil(ospvDest) OSPPDestHasValidUntil(ospvDest)
#define OSPPAuthRspDestSetValidUntil(ospvDest,ospvTime) OSPPDestSetValidUntil(ospvDest,ospvTime)
#define OSPPAuthRspDestGetValidUntil(ospvDest) OSPPDestGetValidUntil(ospvDest)
#define OSPPAuthRspDestHasAuthority(ospvDest) OSPPDestHasAuthority(ospvDest)
#define OSPPAuthRspDestSetAuthority(ospvDest,ospvAuth) OSPPDestSetAuthority(ospvDest,ospvAuth)
#define OSPPAuthRspDestGetAuthority(ospvDest) OSPPDestGetAuthority(ospvDest)
#define OSPPAuthRspDestHasCallId(ospvDest) OSPPDestHasCallId(ospvDest)
#define OSPPAuthRspDestGetCallId(ospvDest) OSPPDestGetCallId(ospvDest)
#define OSPPAuthRspDestGetCallIdSize(ospvDest) OSPPDestGetCallIdSize(ospvDest)
#define OSPPAuthRspDestGetCallIdValue(ospvDest) OSPPDestGetCallIdValue(ospvDest)
#define OSPPAuthRspDestHasToken(ospvDest) OSPPDestHasToken(ospvDest)
#define OSPPAuthRspDestAddToken(ospvDest, ospvToken) OSPPDestAddToken(ospvDest, ospvToken)
#define OSPPAuthRspDestFirstToken(ospvDest) OSPPDestFirstToken(ospvDest)
#define OSPPAuthRspDestNextToken(ospvDest, ospvToken) OSPPDestNextToken(ospvDest, ospvToken)
#define OSPPAuthRspDestTokenGetSize(ospvToken) OSPPTokenGetSize(ospvToken)
#define OSPPAuthRspDestTokenGetValue(ospvToken) OSPPTokenGetValue(ospvToken)
#define OSPPAuthRspDestHasLimit(ospvDest) OSPPDestHasLimit(ospvDest)
#define OSPPAuthRspDestGetLimit(ospvDest) OSPPDestGetLimit(ospvDest)
#define OSPPAuthRspDestSetLimit(ospvDest, ospvLimit) OSPPDestSetLimit(ospvDest, ospvLimit)
#ifdef __cplusplus
extern "C"
{
#endif
/**/
/*-----------------------------------------------------------------------*
* function prototypes
*-----------------------------------------------------------------------*/
OSPTAUTHRSP *OSPPAuthRspNew(void);
void OSPPAuthRspDelete(OSPTAUTHRSP **);
unsigned OSPPAuthRspFromElement(OSPTXMLELEM *, OSPTAUTHRSP **);
OSPTDEST *OSPPAuthRspAddDest(OSPTAUTHRSP *, OSPTDEST *);
void OSPPAuthRspSetComponentId(OSPTAUTHRSP *, unsigned char *);
void OSPPAuthRspComponentIdFromElement(OSPTXMLELEM *, unsigned char **);
unsigned OSPPAuthRspHasMessageId(OSPTAUTHRSP *);
void OSPPAuthRspSetMessageId(OSPTAUTHRSP *, unsigned char *);
void OSPPAuthRspMessageIdFromElement(OSPTXMLELEM *, unsigned char **);
unsigned char *OSPPAuthRspGetMessageId(OSPTAUTHRSP *);
void OSPPAuthRspSetTimestamp(OSPTAUTHRSP *, OSPTTIME);
unsigned OSPPAuthRspHasComponentId(OSPTAUTHRSP *);
unsigned OSPPAuthRspHasStatus(OSPTAUTHRSP *);
OSPTSTATUS *OSPPAuthRspGetStatus(OSPTAUTHRSP *);
void OSPPAuthRspSetTrxId(OSPTAUTHRSP *, OSPTTRXID);
unsigned OSPPAuthRspHasDest(OSPTAUTHRSP *ospvAuthRsp);
OSPTDEST *OSPPAuthRspFirstDest(OSPTAUTHRSP *);
OSPTDEST *OSPPAuthRspNextDest(OSPTAUTHRSP *, OSPTDEST *);
unsigned OSPPAuthRspHasTNDelayLimit(OSPTAUTHRSP *);
void OSPPAuthRspSetTNDelayLimit(OSPTAUTHRSP *, unsigned);
unsigned OSPPAuthRspGetTNDelayLimit(OSPTAUTHRSP *);
unsigned OSPPAuthRspHasTNDelayPref(OSPTAUTHRSP *);
void OSPPAuthRspSetTNDelayPref(OSPTAUTHRSP *, unsigned);
unsigned OSPPAuthRspHasNumDests(OSPTAUTHRSP *);
void OSPPAuthRspIncNumDests(OSPTAUTHRSP *);
unsigned OSPPAuthRspGetNumDests(OSPTAUTHRSP *);
OSPTTNAUDIT *OSPPAuthRspGetTNAudit(OSPTAUTHRSP *);
OSPTCSAUDIT *OSPPAuthRspGetCSAudit(OSPTAUTHRSP *);
int OSPPAuthRspHasCSAudit(OSPTAUTHRSP *);
#ifdef __cplusplus
}
#endif
#endif /* _OSPAUTHRSP_H */
|