133 #ifndef OPENTXS_CLIENT_OT_OTAPI_OT_HPP
134 #define OPENTXS_CLIENT_OT_OTAPI_OT_HPP
148 typedef std::map<std::string, opentxs::OTDB::OfferDataNym*>
SubMap;
151 int32_t nIndex,
const MapOfMaps& map_of_maps,
185 const std::string& serverID,
const std::string& nymID);
193 extern std::string
Args;
195 extern std::string
HisNym;
197 extern std::string
MyAcct;
198 extern std::string
MyNym;
200 extern std::string
Server;
283 const std::string& p_nymID);
285 const std::string& p_nymID,
286 const std::string& p_strParam);
288 const std::string& p_nymID,
const std::string& p_strParam,
291 const std::string& p_nymID,
const std::string& p_strParam,
292 const std::string& p_strData);
294 const std::string& p_nymID,
const std::string& p_nymID2,
295 const std::string& p_strData,
296 const std::string& p_strData2);
298 const std::string& p_nymID,
const std::string& p_accountID,
299 const std::string& p_strParam, int64_t p_lData,
300 const std::string& p_strData2);
302 const std::string& p_nymID,
const std::string& p_accountID,
303 const std::string& p_strParam,
const std::string& p_strData,
306 const std::string& p_nymID,
const std::string& p_accountID,
307 const std::string& p_strParam,
const std::string& p_strData,
308 const std::string& p_strData2);
310 const std::string& p_nymID,
const std::string& p_assetID,
311 const std::string& p_basket,
const std::string& p_accountID,
312 bool p_bBool, int32_t p_nTransNumsNeeded);
314 const std::string& p_nymID,
const std::string& assetAccountID,
315 const std::string& currencyAcctID,
const std::string& scale,
316 const std::string& minIncrement,
const std::string& quantity,
317 const std::string& price,
bool bSelling);
324 const std::string& IN_FUNCTION)
const;
327 const std::string& IN_FUNCTION)
const;
329 const std::string& IN_FUNCTION,
331 bool bWillRetryAfterThis,
332 bool& bCanRetryAfterThis)
const;
334 const std::string& IN_FUNCTION);
336 const std::string& IN_FUNCTION,
337 int32_t nTotalRetries)
const;
340 #endif // OPENTXS_CLIENT_OT_OTAPI_OT_HPP
EXPORT OT_OTAPI_OT MapOfMaps * convert_offerlist_to_maps(opentxs::OTDB::OfferListNym &offerList)
EXPORT OT_OTAPI_OT int32_t output_nymoffer_data(const opentxs::OTDB::OfferDataNym &offer_data, int32_t nIndex, const MapOfMaps &map_of_maps, const SubMap &sub_map, the_lambda_struct &extra_vals)
std::map< std::string, opentxs::OTDB::OfferDataNym * > SubMap
OT_OTAPI_OT int32_t SendRequestLowLevel(OTAPI_Func &theFunction, const std::string &IN_FUNCTION) const
EXPORT static OT_OTAPI_OT void CopyVariables()
EXPORT OT_OTAPI_OT int32_t iterate_nymoffers_sub_map(const MapOfMaps &map_of_maps, SubMap &sub_map, LambdaFunc the_lambda)
EXPORT OT_OTAPI_OT opentxs::OTDB::OfferListNym * loadNymOffers(const std::string &serverID, const std::string &nymID)
OT_OTAPI_OT std::string SendTransaction(OTAPI_Func &theFunction, const std::string &IN_FUNCTION)
std::string the_asset_acct
OT_OTAPI_OT int32_t Run() const
std::vector< std::string > the_vector
std::string the_currency_acct
EXPORT OT_OTAPI_OT int32_t find_strange_offers(const opentxs::OTDB::OfferDataNym &offer_data, int32_t nIndex, const MapOfMaps &map_of_maps, const SubMap &sub_map, the_lambda_struct &extra_vals)
OT_OTAPI_OT std::string SendRequestOnce(OTAPI_Func &theFunction, const std::string &IN_FUNCTION, bool bIsTransaction, bool bWillRetryAfterThis, bool &bCanRetryAfterThis) const
int32_t(* LambdaFunc)(const opentxs::OTDB::OfferDataNym &offer_data, int32_t nIndex, const MapOfMaps &map_of_maps, const SubMap &sub_map, the_lambda_struct &extra_vals)
OT_OTAPI_OT std::string SendRequest(OTAPI_Func &theFunction, const std::string &IN_FUNCTION) const
std::map< std::string, SubMap * > MapOfMaps
OT_OTAPI_OT void InitCustom()
EXPORT OT_OTAPI_OT int32_t iterate_nymoffers_maps(MapOfMaps &map_of_maps, LambdaFunc the_lambda)