/usr/include/opal/asn/h4508.h is in libopal-dev 3.10.10~dfsg2-2+b2.
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 201 202 203 204 205 206 207 208 209 210 211 212 | //
// h4508.h
//
// Code automatically generated by asnparse.
//
#include <opal/buildopts.h>
#if ! H323_DISABLE_H4508
#ifndef __H4508_H
#define __H4508_H
#ifdef P_USE_PRAGMA
#pragma interface
#endif
#include <ptclib/asner.h>
#include "h4501.h"
#include "h4505.h"
//
// NameOperations
//
class H4508_NameOperations : public PASN_Enumeration
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_NameOperations, PASN_Enumeration);
#endif
public:
H4508_NameOperations(unsigned tag = UniversalEnumeration, TagClass tagClass = UniversalTagClass);
enum Enumerations {
e_callingName,
e_alertingName,
e_connectedName,
e_busyName
};
H4508_NameOperations & operator=(unsigned v);
PObject * Clone() const;
};
//
// Name
//
class H4508_NamePresentationAllowed;
class H4508_NamePresentationRestricted;
class H4508_Name : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_Name, PASN_Choice);
#endif
public:
H4508_Name(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_namePresentationAllowed,
e_namePresentationRestricted,
e_nameNotAvailable
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_NamePresentationAllowed &() const;
#else
operator H4508_NamePresentationAllowed &();
operator const H4508_NamePresentationAllowed &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_NamePresentationRestricted &() const;
#else
operator H4508_NamePresentationRestricted &();
operator const H4508_NamePresentationRestricted &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// NamePresentationAllowed
//
class H4508_SimpleName;
class H4508_ExtendedName;
class H4508_NamePresentationAllowed : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_NamePresentationAllowed, PASN_Choice);
#endif
public:
H4508_NamePresentationAllowed(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_simpleName,
e_extendedName
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_SimpleName &() const;
#else
operator H4508_SimpleName &();
operator const H4508_SimpleName &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_ExtendedName &() const;
#else
operator H4508_ExtendedName &();
operator const H4508_ExtendedName &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// NamePresentationRestricted
//
class H4508_SimpleName;
class H4508_ExtendedName;
class H4508_NamePresentationRestricted : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_NamePresentationRestricted, PASN_Choice);
#endif
public:
H4508_NamePresentationRestricted(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_simpleName,
e_extendedName,
e_restrictedNull
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_SimpleName &() const;
#else
operator H4508_SimpleName &();
operator const H4508_SimpleName &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H4508_ExtendedName &() const;
#else
operator H4508_ExtendedName &();
operator const H4508_ExtendedName &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// SimpleName
//
class H4508_SimpleName : public PASN_OctetString
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_SimpleName, PASN_OctetString);
#endif
public:
H4508_SimpleName(unsigned tag = UniversalOctetString, TagClass tagClass = UniversalTagClass);
H4508_SimpleName(const char * v);
H4508_SimpleName(const PString & v);
H4508_SimpleName(const PBYTEArray & v);
H4508_SimpleName & operator=(const char * v);
H4508_SimpleName & operator=(const PString & v);
H4508_SimpleName & operator=(const PBYTEArray & v);
PObject * Clone() const;
};
//
// ExtendedName
//
class H4508_ExtendedName : public PASN_BMPString
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H4508_ExtendedName, PASN_BMPString);
#endif
public:
H4508_ExtendedName(unsigned tag = UniversalBMPString, TagClass tagClass = UniversalTagClass);
H4508_ExtendedName & operator=(const char * v);
H4508_ExtendedName & operator=(const PString & v);
H4508_ExtendedName & operator=(const PWCharArray & v);
H4508_ExtendedName & operator=(const PASN_BMPString & v);
PObject * Clone() const;
};
#endif // __H4508_H
#endif // if ! H323_DISABLE_H4508
// End of h4508.h
|