This file is indexed.

/usr/include/osp/ospauthrsp.h is in libosptk-dev 4.13.0-1build1.

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
/**************************************************************************
*** 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 authorization response objects */
#ifndef _OSPAUTHRSP_H
#define _OSPAUTHRSP_H

#include "osp/osp.h"
#include "osp/ospxmlelem.h"
#include "osp/ospmsg.h"
#include "osp/ospmsgattr.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"
#include "osp/ospstir.h"

typedef struct {
    OSPTTIME Timestamp;
    char *MessageId;
    char *ComponentId;
    OSPT_STATUS *Status;
    OSPT_TN_AUDIT *TNAudit;
    OSPTTRXID TrxId;
    OSPTLIST Destination;
    unsigned DelayLimit;
    unsigned DelayPref;
    unsigned NumDestination;
    OSPTCSAUDIT *CSAudit;
    OSPE_ROLE Role;
    OSPTBOOL HasRole;
    OSPT_IDENTITY Identity;
} OSPT_AUTH_RSP;

#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)

/* Function Prototypes */
#ifdef __cplusplus
extern "C" {
#endif

    OSPT_AUTH_RSP *OSPPAuthRspNew(void);
    void OSPPAuthRspDelete(OSPT_AUTH_RSP **);
    unsigned OSPPAuthRspFromElement(OSPT_XML_ELEM *, OSPT_AUTH_RSP **);
    OSPTBOOL OSPPAuthRspHasDest(OSPT_AUTH_RSP *ospvAuthRsp);
    OSPT_DEST *OSPPAuthRspAddDest(OSPT_AUTH_RSP *, OSPT_DEST *);
    OSPT_DEST *OSPPAuthRspFirstDest(OSPT_AUTH_RSP *);
    OSPT_DEST *OSPPAuthRspNextDest(OSPT_AUTH_RSP *, OSPT_DEST *);
    OSPTBOOL OSPPAuthRspHasComponentId(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetComponentId(OSPT_AUTH_RSP *, const char *);
    void OSPPAuthRspComponentIdFromElement(OSPT_XML_ELEM *, const char **);
    OSPTBOOL OSPPAuthRspHasMessageId(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetMessageId(OSPT_AUTH_RSP *, const char *);
    void OSPPAuthRspMessageIdFromElement(OSPT_XML_ELEM *, const char **);
    const char *OSPPAuthRspGetMessageId(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetTimestamp(OSPT_AUTH_RSP *, OSPTTIME);
    OSPTBOOL OSPPAuthRspHasStatus(OSPT_AUTH_RSP *);
    OSPT_STATUS *OSPPAuthRspGetStatus(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetTrxId(OSPT_AUTH_RSP *, OSPTTRXID);
    OSPTBOOL OSPPAuthRspHasDelayLimit(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetDelayLimit(OSPT_AUTH_RSP *, unsigned);
    unsigned OSPPAuthRspGetDelayLimit(OSPT_AUTH_RSP *);
    OSPTBOOL OSPPAuthRspHasDelayPref(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetDelayPref(OSPT_AUTH_RSP *, unsigned);
    OSPTBOOL OSPPAuthRspHasNumDests(OSPT_AUTH_RSP *);
    void OSPPAuthRspIncNumDests(OSPT_AUTH_RSP *);
    unsigned OSPPAuthRspGetNumDests(OSPT_AUTH_RSP *);
    OSPT_TN_AUDIT *OSPPAuthRspGetTNAudit(OSPT_AUTH_RSP *);
    OSPTBOOL OSPPAuthRspHasCSAudit(OSPT_AUTH_RSP *);
    OSPTCSAUDIT *OSPPAuthRspGetCSAudit(OSPT_AUTH_RSP *);
    OSPTBOOL OSPPAuthRspHasRole(OSPT_AUTH_RSP *);
    void OSPPAuthRspSetRole(OSPT_AUTH_RSP *, OSPE_ROLE);
    OSPE_ROLE OSPPAuthRspGetRole(OSPT_AUTH_RSP *);

#ifdef __cplusplus
}
#endif

#endif /* _OSPAUTHRSP_H */