/usr/include/aqbanking5/aqbanking/security.h is in libaqbanking34-dev 5.4.3beta-2+b1.
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 | /* This file is auto-generated from "security.xml" by the typemaker
tool of Gwenhywfar.
Do not edit this file -- all changes will be lost! */
#ifndef SECURITY_H
#define SECURITY_H
/** @page P_AB_SECURITY_PUBLIC AB_Security (public)
This page describes the properties of AB_SECURITY
@anchor AB_SECURITY_Name
<h3>Name</h3>
<p>
Full name of the security.</p>
<p>
Set this property with @ref AB_Security_SetName,
get it with @ref AB_Security_GetName
</p>
@anchor AB_SECURITY_UniqueId
<h3>UniqueId</h3>
<p>
Unique id of the security within the namespace.</p>
<p>
Set this property with @ref AB_Security_SetUniqueId,
get it with @ref AB_Security_GetUniqueId
</p>
@anchor AB_SECURITY_NameSpace
<h3>NameSpace</h3>
<p>
Namespace for uniqueId (e.g. CUSIP for North America)</p>
<p>
Set this property with @ref AB_Security_SetNameSpace,
get it with @ref AB_Security_GetNameSpace
</p>
@anchor AB_SECURITY_TickerSymbol
<h3>TickerSymbol</h3>
<p>
Ticker symbol of the security.</p>
<p>
Set this property with @ref AB_Security_SetTickerSymbol,
get it with @ref AB_Security_GetTickerSymbol
</p>
@anchor AB_SECURITY_Units
<h3>Units</h3>
<p>
Number of units held (e.g. number of stock units etc)</p>
<p>
Set this property with @ref AB_Security_SetUnits,
get it with @ref AB_Security_GetUnits
</p>
@anchor AB_SECURITY_UnitPriceValue
<h3>UnitPriceValue</h3>
<p>
Price of a unit as of unitPriceDate.</p>
<p>
Set this property with @ref AB_Security_SetUnitPriceValue,
get it with @ref AB_Security_GetUnitPriceValue
</p>
@anchor AB_SECURITY_UnitPriceDate
<h3>UnitPriceDate</h3>
<p>
Date for the unitPriceValue</p>
<p>
Set this property with @ref AB_Security_SetUnitPriceDate,
get it with @ref AB_Security_GetUnitPriceDate
</p>
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct AB_SECURITY AB_SECURITY;
#ifdef __cplusplus
} /* __cplusplus */
#endif
#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/list2.h>
/* headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/gwentime.h>
#include <aqbanking/value.h>
#ifdef __cplusplus
extern "C" {
#endif
GWEN_LIST_FUNCTION_LIB_DEFS(AB_SECURITY, AB_Security, AQBANKING_API)
AQBANKING_API AB_SECURITY_LIST *AB_Security_List_dup(const AB_SECURITY_LIST *stl);
GWEN_LIST2_FUNCTION_LIB_DEFS(AB_SECURITY, AB_Security, AQBANKING_API)
/** Destroys all objects stored in the given LIST2 and the list itself
*/
AQBANKING_API void AB_Security_List2_freeAll(AB_SECURITY_LIST2 *stl);
/** Creates a new object.
*/
AQBANKING_API AB_SECURITY *AB_Security_new(void);
/** Creates an object from the data in the given GWEN_DB_NODE
*/
AQBANKING_API AB_SECURITY *AB_Security_fromDb(GWEN_DB_NODE *db);
/** Creates and returns a deep copy of thegiven object.
*/
AQBANKING_API AB_SECURITY *AB_Security_dup(const AB_SECURITY*st);
/** Destroys the given object.
*/
AQBANKING_API void AB_Security_free(AB_SECURITY *st);
/** Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
*/
AQBANKING_API void AB_Security_Attach(AB_SECURITY *st);
/** Reads data from a GWEN_DB.
*/
AQBANKING_API int AB_Security_ReadDb(AB_SECURITY *st, GWEN_DB_NODE *db);
/** Stores an object in the given GWEN_DB_NODE
*/
AQBANKING_API int AB_Security_toDb(const AB_SECURITY*st, GWEN_DB_NODE *db);
/** Returns 0 if this object has not been modified, !=0 otherwise
*/
AQBANKING_API int AB_Security_IsModified(const AB_SECURITY *st);
/** Sets the modified state of the given object
*/
AQBANKING_API void AB_Security_SetModified(AB_SECURITY *st, int i);
/**
* Returns the property @ref AB_SECURITY_Name
*/
AQBANKING_API const char *AB_Security_GetName(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_Name
*/
AQBANKING_API void AB_Security_SetName(AB_SECURITY *el, const char *d);
/**
* Returns the property @ref AB_SECURITY_UniqueId
*/
AQBANKING_API const char *AB_Security_GetUniqueId(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_UniqueId
*/
AQBANKING_API void AB_Security_SetUniqueId(AB_SECURITY *el, const char *d);
/**
* Returns the property @ref AB_SECURITY_NameSpace
*/
AQBANKING_API const char *AB_Security_GetNameSpace(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_NameSpace
*/
AQBANKING_API void AB_Security_SetNameSpace(AB_SECURITY *el, const char *d);
/**
* Returns the property @ref AB_SECURITY_TickerSymbol
*/
AQBANKING_API const char *AB_Security_GetTickerSymbol(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_TickerSymbol
*/
AQBANKING_API void AB_Security_SetTickerSymbol(AB_SECURITY *el, const char *d);
/**
* Returns the property @ref AB_SECURITY_Units
*/
AQBANKING_API const AB_VALUE *AB_Security_GetUnits(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_Units
*/
AQBANKING_API void AB_Security_SetUnits(AB_SECURITY *el, const AB_VALUE *d);
/**
* Returns the property @ref AB_SECURITY_UnitPriceValue
*/
AQBANKING_API const AB_VALUE *AB_Security_GetUnitPriceValue(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_UnitPriceValue
*/
AQBANKING_API void AB_Security_SetUnitPriceValue(AB_SECURITY *el, const AB_VALUE *d);
/**
* Returns the property @ref AB_SECURITY_UnitPriceDate
*/
AQBANKING_API const GWEN_TIME *AB_Security_GetUnitPriceDate(const AB_SECURITY *el);
/**
* Set the property @ref AB_SECURITY_UnitPriceDate
*/
AQBANKING_API void AB_Security_SetUnitPriceDate(AB_SECURITY *el, const GWEN_TIME *d);
#ifdef __cplusplus
} /* __cplusplus */
#endif
#endif /* SECURITY_H */
|