From c3ae4da83a437ff2e45f1bf85b6b90101cec77bd Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Wed, 28 Jan 2015 17:47:36 -0500 Subject: [PATCH] Fix include guards in rippled. --- src/ripple/app/book/Amount.h | 4 +- src/ripple/app/book/Amounts.h | 4 +- src/ripple/app/book/BookTip.h | 4 +- src/ripple/app/book/Offer.h | 4 +- src/ripple/app/book/OfferStream.h | 4 +- src/ripple/app/book/Quality.h | 4 +- src/ripple/app/book/Taker.h | 4 +- src/ripple/app/book/Types.h | 4 +- src/ripple/app/consensus/DisputedTx.h | 4 +- src/ripple/app/consensus/LedgerConsensus.h | 4 +- src/ripple/app/data/DBInit.h | 4 +- src/ripple/app/data/Database.h | 4 +- src/ripple/app/data/DatabaseCon.h | 4 +- src/ripple/app/data/SqliteDatabase.h | 4 +- src/ripple/app/ledger/AcceptedLedger.h | 4 +- src/ripple/app/ledger/AcceptedLedgerTx.h | 4 +- src/ripple/app/ledger/AccountStateSF.h | 4 +- src/ripple/app/ledger/BookListeners.h | 4 +- src/ripple/app/ledger/ConsensusTransSetSF.h | 4 +- .../app/ledger/DirectoryEntryIterator.h | 4 +- src/ripple/app/ledger/InboundLedger.h | 4 +- src/ripple/app/ledger/InboundLedgers.h | 4 +- src/ripple/app/ledger/Ledger.h | 4 +- src/ripple/app/ledger/LedgerCleaner.h | 4 +- src/ripple/app/ledger/LedgerEntrySet.h | 4 +- src/ripple/app/ledger/LedgerHistory.h | 4 +- src/ripple/app/ledger/LedgerHolder.h | 4 +- src/ripple/app/ledger/LedgerMaster.h | 4 +- src/ripple/app/ledger/LedgerProposal.h | 4 +- src/ripple/app/ledger/LedgerTiming.h | 4 +- src/ripple/app/ledger/LedgerToJson.h | 4 +- src/ripple/app/ledger/OrderBookDB.h | 4 +- src/ripple/app/ledger/OrderBookIterator.h | 4 +- src/ripple/app/ledger/TransactionStateSF.h | 4 +- src/ripple/app/main/Application.h | 4 +- src/ripple/app/main/CollectorManager.h | 4 +- src/ripple/app/main/LoadManager.h | 4 +- src/ripple/app/main/LocalCredentials.h | 4 +- src/ripple/app/main/NodeStoreScheduler.h | 4 +- src/ripple/app/main/Tuning.h | 4 +- src/ripple/app/misc/AccountState.h | 4 +- src/ripple/app/misc/AmendmentTable.h | 4 +- src/ripple/app/misc/CanonicalTXSet.h | 4 +- .../app/misc/DefaultMissingNodeHandler.h | 4 +- src/ripple/app/misc/FeeVote.h | 4 +- src/ripple/app/misc/IHashRouter.h | 4 +- src/ripple/app/misc/NetworkOPs.h | 4 +- src/ripple/app/misc/OrderBook.h | 4 +- src/ripple/app/misc/SHAMapStore.h | 4 +- src/ripple/app/misc/SHAMapStoreImp.h | 4 +- src/ripple/app/misc/Validations.h | 4 +- src/ripple/app/node/SqliteFactory.h | 4 +- src/ripple/app/paths/AccountCurrencies.h | 4 +- src/ripple/app/paths/Credit.h | 4 +- src/ripple/app/paths/FindPaths.h | 4 +- src/ripple/app/paths/Node.h | 4 +- src/ripple/app/paths/NodeDirectory.h | 4 +- src/ripple/app/paths/PathRequest.h | 4 +- src/ripple/app/paths/PathRequests.h | 4 +- src/ripple/app/paths/PathState.h | 4 +- src/ripple/app/paths/Pathfinder.h | 4 +- src/ripple/app/paths/RippleCalc.h | 4 +- src/ripple/app/paths/RippleLineCache.h | 4 +- src/ripple/app/paths/RippleState.h | 4 +- src/ripple/app/paths/Tuning.h | 4 +- src/ripple/app/paths/Types.h | 4 +- src/ripple/app/paths/cursor/PathCursor.h | 4 +- src/ripple/app/paths/cursor/RippleLiquidity.h | 4 +- src/ripple/app/peers/ClusterNodeStatus.h | 4 +- src/ripple/app/peers/PeerSet.h | 4 +- src/ripple/app/peers/UniqueNodeList.h | 4 +- src/ripple/app/transactors/CreateOffer.h | 83 +++++++++++++++++++ src/ripple/app/transactors/CreateTicket.h | 27 ++++++ src/ripple/app/transactors/Transactor.h | 4 +- src/ripple/app/tx/LocalTxs.h | 4 +- src/ripple/app/tx/Transaction.h | 4 +- src/ripple/app/tx/TransactionAcquire.h | 4 +- src/ripple/app/tx/TransactionEngine.h | 4 +- src/ripple/app/tx/TransactionMaster.h | 4 +- src/ripple/app/tx/TransactionMeta.h | 4 +- src/ripple/app/websocket/WSConnection.h | 4 +- src/ripple/app/websocket/WSDoor.h | 4 +- src/ripple/app/websocket/WSServerHandler.h | 4 +- src/ripple/basics/ByteOrder.h | 4 +- src/ripple/basics/TestSuite.h | 4 +- src/ripple/basics/UnorderedContainers.h | 4 +- src/ripple/basics/base_uint.h | 4 +- .../basics/impl/CheckLibraryVersionsImpl.h | 4 +- src/ripple/core/ConfigSections.h | 4 +- src/ripple/core/Job.h | 4 +- src/ripple/core/JobTypes.h | 4 +- src/ripple/core/LoadEvent.h | 4 +- src/ripple/core/LoadFeeTrack.h | 4 +- src/ripple/core/LoadMonitor.h | 4 +- src/ripple/core/impl/LoadFeeTrackImp.h | 4 +- src/ripple/crypto/Base58.h | 4 +- src/ripple/crypto/Base58Data.h | 4 +- src/ripple/crypto/ECDSA.h | 4 +- src/ripple/crypto/ECIES.h | 4 +- src/ripple/crypto/GenerateDeterministicKey.h | 4 +- src/ripple/crypto/ec_key.h | 4 +- src/ripple/json/JsonPropertyStream.h | 4 +- src/ripple/json/impl/json_assert.h | 4 +- src/ripple/json/impl/json_autolink.h | 4 +- src/ripple/json/impl/json_batchallocator.h | 4 +- src/ripple/json/json_config.h | 4 +- src/ripple/json/json_features.h | 4 +- src/ripple/json/json_forwards.h | 4 +- src/ripple/json/json_reader.h | 4 +- src/ripple/json/json_value.h | 4 +- src/ripple/json/json_writer.h | 4 +- src/ripple/json/to_string.h | 4 +- src/ripple/net/HTTPClient.h | 4 +- src/ripple/net/HTTPRequest.h | 4 +- src/ripple/net/InfoSub.h | 4 +- src/ripple/net/RPCCall.h | 4 +- src/ripple/net/RPCErr.h | 4 +- src/ripple/net/RPCSub.h | 4 +- src/ripple/net/SNTPClient.h | 4 +- src/ripple/nodestore/tests/Base.test.h | 4 +- src/ripple/peerfinder/impl/PrivateTypes.h | 4 +- src/ripple/peerfinder/impl/iosformat.h | 4 +- src/ripple/peerfinder/sim/sync_timer.h | 4 +- src/ripple/protocol/Blob.h | 4 +- src/ripple/protocol/Issue.h | 4 +- src/ripple/protocol/SField.h | 4 +- src/ripple/protocol/STBitString.h | 4 +- src/ripple/protocol/STPathSet.h | 4 +- src/ripple/protocol/STTx.h | 4 +- src/ripple/protocol/STVector256.h | 4 +- src/ripple/protocol/SystemParameters.h | 4 +- src/ripple/protocol/TER.h | 4 +- src/ripple/protocol/UintTypes.h | 4 +- src/ripple/rpc/Context.h | 4 +- src/ripple/rpc/Coroutine.h | 4 +- src/ripple/rpc/InternalHandler.h | 4 +- src/ripple/rpc/RPCHandler.h | 4 +- src/ripple/rpc/Status.h | 4 +- src/ripple/rpc/Yield.h | 4 +- src/ripple/rpc/handlers/Handlers.h | 4 +- src/ripple/rpc/handlers/Ledger.h | 4 +- src/ripple/rpc/impl/DoPrint.h | 4 +- src/ripple/rpc/impl/Handler.h | 4 +- src/ripple/rpc/impl/JsonObject.h | 4 +- src/ripple/rpc/impl/JsonWriter.h | 4 +- src/ripple/rpc/impl/WriteJson.h | 4 +- src/ripple/shamap/SHAMapAddNode.h | 4 +- src/ripple/shamap/SHAMapItem.h | 4 +- src/ripple/shamap/SHAMapMissingNode.h | 4 +- src/ripple/shamap/SHAMapNodeID.h | 4 +- src/ripple/shamap/SHAMapSyncFilter.h | 4 +- src/ripple/shamap/SHAMapTreeNode.h | 4 +- src/ripple/shamap/TreeNodeCache.h | 4 +- src/ripple/unity/git_id.h | 4 +- src/ripple/unity/hyperleveldb.h | 4 +- src/ripple/unity/leveldb.h | 4 +- src/ripple/unity/rocksdb.h | 4 +- src/ripple/unity/websocket.h | 4 +- src/ripple/websocket/autosocket/AutoSocket.h | 4 +- 159 files changed, 425 insertions(+), 313 deletions(-) create mode 100644 src/ripple/app/transactors/CreateOffer.h create mode 100644 src/ripple/app/transactors/CreateTicket.h diff --git a/src/ripple/app/book/Amount.h b/src/ripple/app/book/Amount.h index fe04319ad..62e5736c1 100644 --- a/src/ripple/app/book/Amount.h +++ b/src/ripple/app/book/Amount.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_AMOUNT_H_INCLUDED -#define RIPPLE_CORE_AMOUNT_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_AMOUNT_H_INCLUDED +#define RIPPLE_APP_BOOK_AMOUNT_H_INCLUDED #include diff --git a/src/ripple/app/book/Amounts.h b/src/ripple/app/book/Amounts.h index e1a35c028..ac87756d2 100644 --- a/src/ripple/app/book/Amounts.h +++ b/src/ripple/app/book/Amounts.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_AMOUNTS_H_INCLUDED -#define RIPPLE_CORE_AMOUNTS_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_AMOUNTS_H_INCLUDED +#define RIPPLE_APP_BOOK_AMOUNTS_H_INCLUDED #include diff --git a/src/ripple/app/book/BookTip.h b/src/ripple/app/book/BookTip.h index af949b010..34cb086dc 100644 --- a/src/ripple/app/book/BookTip.h +++ b/src/ripple/app/book/BookTip.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_BOOKTIP_H_INCLUDED -#define RIPPLE_CORE_BOOKTIP_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_BOOKTIP_H_INCLUDED +#define RIPPLE_APP_BOOK_BOOKTIP_H_INCLUDED #include #include diff --git a/src/ripple/app/book/Offer.h b/src/ripple/app/book/Offer.h index 99e29dab0..63468582f 100644 --- a/src/ripple/app/book/Offer.h +++ b/src/ripple/app/book/Offer.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_OFFER_H_INCLUDED -#define RIPPLE_CORE_OFFER_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_OFFER_H_INCLUDED +#define RIPPLE_APP_BOOK_OFFER_H_INCLUDED #include #include diff --git a/src/ripple/app/book/OfferStream.h b/src/ripple/app/book/OfferStream.h index 76de3e2db..6d0b036e6 100644 --- a/src/ripple/app/book/OfferStream.h +++ b/src/ripple/app/book/OfferStream.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_OFFERSTREAM_H_INCLUDED -#define RIPPLE_CORE_OFFERSTREAM_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_OFFERSTREAM_H_INCLUDED +#define RIPPLE_APP_BOOK_OFFERSTREAM_H_INCLUDED #include #include diff --git a/src/ripple/app/book/Quality.h b/src/ripple/app/book/Quality.h index 9db92a3b1..460210657 100644 --- a/src/ripple/app/book/Quality.h +++ b/src/ripple/app/book/Quality.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_QUALITY_H_INCLUDED -#define RIPPLE_CORE_QUALITY_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_QUALITY_H_INCLUDED +#define RIPPLE_APP_BOOK_QUALITY_H_INCLUDED #include #include diff --git a/src/ripple/app/book/Taker.h b/src/ripple/app/book/Taker.h index 4044f245b..83dbf0323 100644 --- a/src/ripple/app/book/Taker.h +++ b/src/ripple/app/book/Taker.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_TAKER_H_INCLUDED -#define RIPPLE_CORE_TAKER_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_TAKER_H_INCLUDED +#define RIPPLE_APP_BOOK_TAKER_H_INCLUDED #include #include diff --git a/src/ripple/app/book/Types.h b/src/ripple/app/book/Types.h index 66945ac0a..3b25969f8 100644 --- a/src/ripple/app/book/Types.h +++ b/src/ripple/app/book/Types.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_TYPES_H_INCLUDED -#define RIPPLE_CORE_TYPES_H_INCLUDED +#ifndef RIPPLE_APP_BOOK_TYPES_H_INCLUDED +#define RIPPLE_APP_BOOK_TYPES_H_INCLUDED #include #include diff --git a/src/ripple/app/consensus/DisputedTx.h b/src/ripple/app/consensus/DisputedTx.h index c517e1444..338f68ea2 100644 --- a/src/ripple/app/consensus/DisputedTx.h +++ b/src/ripple/app/consensus/DisputedTx.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_DISPUTEDTX_H -#define RIPPLE_DISPUTEDTX_H +#ifndef RIPPLE_APP_CONSENSUS_DISPUTEDTX_H_INCLUDED +#define RIPPLE_APP_CONSENSUS_DISPUTEDTX_H_INCLUDED #include #include diff --git a/src/ripple/app/consensus/LedgerConsensus.h b/src/ripple/app/consensus/LedgerConsensus.h index b009bac7b..a6266f764 100644 --- a/src/ripple/app/consensus/LedgerConsensus.h +++ b/src/ripple/app/consensus/LedgerConsensus.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERCONSENSUS_H -#define RIPPLE_LEDGERCONSENSUS_H +#ifndef RIPPLE_APP_CONSENSUS_LEDGERCONSENSUS_H_INCLUDED +#define RIPPLE_APP_CONSENSUS_LEDGERCONSENSUS_H_INCLUDED #include #include diff --git a/src/ripple/app/data/DBInit.h b/src/ripple/app/data/DBInit.h index 36dfaa773..f069afc15 100644 --- a/src/ripple/app/data/DBInit.h +++ b/src/ripple/app/data/DBInit.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_DBINIT_H_INCLUDED -#define RIPPLE_DBINIT_H_INCLUDED +#ifndef RIPPLE_APP_DATA_DBINIT_H_INCLUDED +#define RIPPLE_APP_DATA_DBINIT_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/data/Database.h b/src/ripple/app/data/Database.h index d605c2f13..724b787fc 100644 --- a/src/ripple/app/data/Database.h +++ b/src/ripple/app/data/Database.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_DATABASE_H_INCLUDED -#define RIPPLE_DATABASE_H_INCLUDED +#ifndef RIPPLE_APP_DATA_DATABASE_H_INCLUDED +#define RIPPLE_APP_DATA_DATABASE_H_INCLUDED #include #include diff --git a/src/ripple/app/data/DatabaseCon.h b/src/ripple/app/data/DatabaseCon.h index d72231e20..f777c802c 100644 --- a/src/ripple/app/data/DatabaseCon.h +++ b/src/ripple/app/data/DatabaseCon.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_DATABASECON_H -#define RIPPLE_DATABASECON_H +#ifndef RIPPLE_APP_DATA_DATABASECON_H_INCLUDED +#define RIPPLE_APP_DATA_DATABASECON_H_INCLUDED #include #include diff --git a/src/ripple/app/data/SqliteDatabase.h b/src/ripple/app/data/SqliteDatabase.h index aca6c7def..873381dfb 100644 --- a/src/ripple/app/data/SqliteDatabase.h +++ b/src/ripple/app/data/SqliteDatabase.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SQLITEDATABASE_H_INCLUDED -#define RIPPLE_SQLITEDATABASE_H_INCLUDED +#ifndef RIPPLE_APP_DATA_SQLITEDATABASE_H_INCLUDED +#define RIPPLE_APP_DATA_SQLITEDATABASE_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/AcceptedLedger.h b/src/ripple/app/ledger/AcceptedLedger.h index 639703ea4..694c6766b 100644 --- a/src/ripple/app/ledger/AcceptedLedger.h +++ b/src/ripple/app/ledger/AcceptedLedger.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ACCEPTEDLEDGER_H -#define RIPPLE_ACCEPTEDLEDGER_H +#ifndef RIPPLE_APP_LEDGER_ACCEPTEDLEDGER_H_INCLUDED +#define RIPPLE_APP_LEDGER_ACCEPTEDLEDGER_H_INCLUDED #include diff --git a/src/ripple/app/ledger/AcceptedLedgerTx.h b/src/ripple/app/ledger/AcceptedLedgerTx.h index f12cd3a11..47b7be973 100644 --- a/src/ripple/app/ledger/AcceptedLedgerTx.h +++ b/src/ripple/app/ledger/AcceptedLedgerTx.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ACCEPTEDLEDGERTX_H -#define RIPPLE_ACCEPTEDLEDGERTX_H +#ifndef RIPPLE_APP_LEDGER_ACCEPTEDLEDGERTX_H_INCLUDED +#define RIPPLE_APP_LEDGER_ACCEPTEDLEDGERTX_H_INCLUDED #include diff --git a/src/ripple/app/ledger/AccountStateSF.h b/src/ripple/app/ledger/AccountStateSF.h index 97697325c..7c0930c62 100644 --- a/src/ripple/app/ledger/AccountStateSF.h +++ b/src/ripple/app/ledger/AccountStateSF.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGER_ACCOUNTSTATESF_H_INCLUDED -#define RIPPLE_LEDGER_ACCOUNTSTATESF_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_ACCOUNTSTATESF_H_INCLUDED +#define RIPPLE_APP_LEDGER_ACCOUNTSTATESF_H_INCLUDED #include diff --git a/src/ripple/app/ledger/BookListeners.h b/src/ripple/app/ledger/BookListeners.h index dac8e679a..2f473e0a6 100644 --- a/src/ripple/app/ledger/BookListeners.h +++ b/src/ripple/app/ledger/BookListeners.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_BOOKLISTENERS_H -#define RIPPLE_BOOKLISTENERS_H +#ifndef RIPPLE_APP_LEDGER_BOOKLISTENERS_H_INCLUDED +#define RIPPLE_APP_LEDGER_BOOKLISTENERS_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/ConsensusTransSetSF.h b/src/ripple/app/ledger/ConsensusTransSetSF.h index 425bfd877..88354fa2d 100644 --- a/src/ripple/app/ledger/ConsensusTransSetSF.h +++ b/src/ripple/app/ledger/ConsensusTransSetSF.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGER_CONSENSUSTRANSSETSF_H_INCLUDED -#define RIPPLE_LEDGER_CONSENSUSTRANSSETSF_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_CONSENSUSTRANSSETSF_H_INCLUDED +#define RIPPLE_APP_LEDGER_CONSENSUSTRANSSETSF_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/DirectoryEntryIterator.h b/src/ripple/app/ledger/DirectoryEntryIterator.h index 0fa87d730..b2a534c58 100644 --- a/src/ripple/app/ledger/DirectoryEntryIterator.h +++ b/src/ripple/app/ledger/DirectoryEntryIterator.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_DIRECTORYENTRYITERATOR_H_INCLUDED -#define RIPPLE_DIRECTORYENTRYITERATOR_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_DIRECTORYENTRYITERATOR_H_INCLUDED +#define RIPPLE_APP_LEDGER_DIRECTORYENTRYITERATOR_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/InboundLedger.h b/src/ripple/app/ledger/InboundLedger.h index 8689f03ce..c29f29f60 100644 --- a/src/ripple/app/ledger/InboundLedger.h +++ b/src/ripple/app/ledger/InboundLedger.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_INBOUNDLEDGER_H -#define RIPPLE_INBOUNDLEDGER_H +#ifndef RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED +#define RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/InboundLedgers.h b/src/ripple/app/ledger/InboundLedgers.h index f5a033919..8db87e456 100644 --- a/src/ripple/app/ledger/InboundLedgers.h +++ b/src/ripple/app/ledger/InboundLedgers.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_INBOUNDLEDGERS_H -#define RIPPLE_INBOUNDLEDGERS_H +#ifndef RIPPLE_APP_LEDGER_INBOUNDLEDGERS_H_INCLUDED +#define RIPPLE_APP_LEDGER_INBOUNDLEDGERS_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/Ledger.h b/src/ripple/app/ledger/Ledger.h index f507d8a9a..b9c9fc45e 100644 --- a/src/ripple/app/ledger/Ledger.h +++ b/src/ripple/app/ledger/Ledger.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGER_H -#define RIPPLE_LEDGER_H +#ifndef RIPPLE_APP_LEDGER_LEDGER_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGER_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerCleaner.h b/src/ripple/app/ledger/LedgerCleaner.h index 177ed7171..a54ecb46e 100644 --- a/src/ripple/app/ledger/LedgerCleaner.h +++ b/src/ripple/app/ledger/LedgerCleaner.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERCLEANER_H_INCLUDED -#define RIPPLE_LEDGERCLEANER_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_LEDGERCLEANER_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERCLEANER_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerEntrySet.h b/src/ripple/app/ledger/LedgerEntrySet.h index ad08a6033..91d569fd8 100644 --- a/src/ripple/app/ledger/LedgerEntrySet.h +++ b/src/ripple/app/ledger/LedgerEntrySet.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERENTRYSET_H -#define RIPPLE_LEDGERENTRYSET_H +#ifndef RIPPLE_APP_LEDGER_LEDGERENTRYSET_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERENTRYSET_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerHistory.h b/src/ripple/app/ledger/LedgerHistory.h index 28a1b97c7..05bf8ed1b 100644 --- a/src/ripple/app/ledger/LedgerHistory.h +++ b/src/ripple/app/ledger/LedgerHistory.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERHISTORY_H -#define RIPPLE_LEDGERHISTORY_H +#ifndef RIPPLE_APP_LEDGER_LEDGERHISTORY_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERHISTORY_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerHolder.h b/src/ripple/app/ledger/LedgerHolder.h index 5699c7294..aaa2554d2 100644 --- a/src/ripple/app/ledger/LedgerHolder.h +++ b/src/ripple/app/ledger/LedgerHolder.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERHOLDER_H -#define RIPPLE_LEDGERHOLDER_H +#ifndef RIPPLE_APP_LEDGER_LEDGERHOLDER_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERHOLDER_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/ledger/LedgerMaster.h b/src/ripple/app/ledger/LedgerMaster.h index ffc81ff5e..a6782b6f6 100644 --- a/src/ripple/app/ledger/LedgerMaster.h +++ b/src/ripple/app/ledger/LedgerMaster.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGERMASTER_H_INCLUDED -#define RIPPLE_LEDGERMASTER_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_LEDGERMASTER_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERMASTER_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerProposal.h b/src/ripple/app/ledger/LedgerProposal.h index 229b1e8eb..83d19b2ac 100644 --- a/src/ripple/app/ledger/LedgerProposal.h +++ b/src/ripple/app/ledger/LedgerProposal.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_LEDGERPROPOSAL_H_INCLUDED -#define RIPPLE_APP_LEDGERPROPOSAL_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_LEDGERPROPOSAL_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERPROPOSAL_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/LedgerTiming.h b/src/ripple/app/ledger/LedgerTiming.h index 94b88d782..a57307b90 100644 --- a/src/ripple/app/ledger/LedgerTiming.h +++ b/src/ripple/app/ledger/LedgerTiming.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef __LEDGERTIMING__ -#define __LEDGERTIMING__ +#ifndef RIPPLE_APP_LEDGER_LEDGERTIMING_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERTIMING_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/ledger/LedgerToJson.h b/src/ripple/app/ledger/LedgerToJson.h index 2264f34eb..8cea96616 100644 --- a/src/ripple/app/ledger/LedgerToJson.h +++ b/src/ripple/app/ledger/LedgerToJson.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_APP_LEDGER_LEDGERTOJSON_H -#define RIPPLED_RIPPLE_APP_LEDGER_LEDGERTOJSON_H +#ifndef RIPPLE_APP_LEDGER_LEDGERTOJSON_H_INCLUDED +#define RIPPLE_APP_LEDGER_LEDGERTOJSON_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/OrderBookDB.h b/src/ripple/app/ledger/OrderBookDB.h index 936c5e5e6..9ae230435 100644 --- a/src/ripple/app/ledger/OrderBookDB.h +++ b/src/ripple/app/ledger/OrderBookDB.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ORDERBOOKDB_H_INCLUDED -#define RIPPLE_ORDERBOOKDB_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_ORDERBOOKDB_H_INCLUDED +#define RIPPLE_APP_LEDGER_ORDERBOOKDB_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/OrderBookIterator.h b/src/ripple/app/ledger/OrderBookIterator.h index fd4100014..bf3ab7ea9 100644 --- a/src/ripple/app/ledger/OrderBookIterator.h +++ b/src/ripple/app/ledger/OrderBookIterator.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ORDERBOOKITERATOR_H_INCLUDED -#define RIPPLE_ORDERBOOKITERATOR_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_ORDERBOOKITERATOR_H_INCLUDED +#define RIPPLE_APP_LEDGER_ORDERBOOKITERATOR_H_INCLUDED #include #include diff --git a/src/ripple/app/ledger/TransactionStateSF.h b/src/ripple/app/ledger/TransactionStateSF.h index b9338ef1e..9e4a4d344 100644 --- a/src/ripple/app/ledger/TransactionStateSF.h +++ b/src/ripple/app/ledger/TransactionStateSF.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEDGER_TRANSACTIONSTATESF_H_INCLUDED -#define RIPPLE_LEDGER_TRANSACTIONSTATESF_H_INCLUDED +#ifndef RIPPLE_APP_LEDGER_TRANSACTIONSTATESF_H_INCLUDED +#define RIPPLE_APP_LEDGER_TRANSACTIONSTATESF_H_INCLUDED #include #include diff --git a/src/ripple/app/main/Application.h b/src/ripple/app/main/Application.h index 3f1440db0..c5aebb21c 100644 --- a/src/ripple/app/main/Application.h +++ b/src/ripple/app/main/Application.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_APPLICATION_H_INCLUDED -#define RIPPLE_APP_APPLICATION_H_INCLUDED +#ifndef RIPPLE_APP_MAIN_APPLICATION_H_INCLUDED +#define RIPPLE_APP_MAIN_APPLICATION_H_INCLUDED #include #include diff --git a/src/ripple/app/main/CollectorManager.h b/src/ripple/app/main/CollectorManager.h index e85adca52..c28b7697e 100644 --- a/src/ripple/app/main/CollectorManager.h +++ b/src/ripple/app/main/CollectorManager.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RIPPLECOLLECTOR_H_INCLUDED -#define RIPPLE_RIPPLECOLLECTOR_H_INCLUDED +#ifndef RIPPLE_APP_MAIN_COLLECTORMANAGER_H_INCLUDED +#define RIPPLE_APP_MAIN_COLLECTORMANAGER_H_INCLUDED #include #include diff --git a/src/ripple/app/main/LoadManager.h b/src/ripple/app/main/LoadManager.h index bd291a2c5..e0e8262c5 100644 --- a/src/ripple/app/main/LoadManager.h +++ b/src/ripple/app/main/LoadManager.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOADMANAGER_H_INCLUDED -#define RIPPLE_LOADMANAGER_H_INCLUDED +#ifndef RIPPLE_APP_MAIN_LOADMANAGER_H_INCLUDED +#define RIPPLE_APP_MAIN_LOADMANAGER_H_INCLUDED #include #include // diff --git a/src/ripple/app/main/LocalCredentials.h b/src/ripple/app/main/LocalCredentials.h index a2e482b72..955000a3b 100644 --- a/src/ripple/app/main/LocalCredentials.h +++ b/src/ripple/app/main/LocalCredentials.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOCALCREDENTIALS_H -#define RIPPLE_LOCALCREDENTIALS_H +#ifndef RIPPLE_APP_MAIN_LOCALCREDENTIALS_H_INCLUDED +#define RIPPLE_APP_MAIN_LOCALCREDENTIALS_H_INCLUDED #include #include diff --git a/src/ripple/app/main/NodeStoreScheduler.h b/src/ripple/app/main/NodeStoreScheduler.h index 303492859..c0fd145a3 100644 --- a/src/ripple/app/main/NodeStoreScheduler.h +++ b/src/ripple/app/main/NodeStoreScheduler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED -#define RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED +#ifndef RIPPLE_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED +#define RIPPLE_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED #include #include diff --git a/src/ripple/app/main/Tuning.h b/src/ripple/app/main/Tuning.h index fa09ebb4b..d035e9cbb 100644 --- a/src/ripple/app/main/Tuning.h +++ b/src/ripple/app/main/Tuning.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APPLICATION_TUNING_H_INCLUDED -#define RIPPLE_APPLICATION_TUNING_H_INCLUDED +#ifndef RIPPLE_APP_MAIN_TUNING_H_INCLUDED +#define RIPPLE_APP_MAIN_TUNING_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/misc/AccountState.h b/src/ripple/app/misc/AccountState.h index e0a594a5b..47d277c48 100644 --- a/src/ripple/app/misc/AccountState.h +++ b/src/ripple/app/misc/AccountState.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ACCOUNTSTATE_H -#define RIPPLE_ACCOUNTSTATE_H +#ifndef RIPPLE_APP_MISC_ACCOUNTSTATE_H_INCLUDED +#define RIPPLE_APP_MISC_ACCOUNTSTATE_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/AmendmentTable.h b/src/ripple/app/misc/AmendmentTable.h index 3fd3da6d7..a51540e03 100644 --- a/src/ripple/app/misc/AmendmentTable.h +++ b/src/ripple/app/misc/AmendmentTable.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_AMENDMENT_TABLE_H -#define RIPPLE_AMENDMENT_TABLE_H +#ifndef RIPPLE_APP_MISC_AMENDMENTTABLE_H_INCLUDED +#define RIPPLE_APP_MISC_AMENDMENTTABLE_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/CanonicalTXSet.h b/src/ripple/app/misc/CanonicalTXSet.h index e028d9d05..447785d61 100644 --- a/src/ripple/app/misc/CanonicalTXSet.h +++ b/src/ripple/app/misc/CanonicalTXSet.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CANONICALTXSET_H -#define RIPPLE_CANONICALTXSET_H +#ifndef RIPPLE_APP_MISC_CANONICALTXSET_H_INCLUDED +#define RIPPLE_APP_MISC_CANONICALTXSET_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/DefaultMissingNodeHandler.h b/src/ripple/app/misc/DefaultMissingNodeHandler.h index ea8d2577b..d576919c3 100644 --- a/src/ripple/app/misc/DefaultMissingNodeHandler.h +++ b/src/ripple/app/misc/DefaultMissingNodeHandler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_DEFAULTMISSINGNODEHANDLER_H_INCLUDED -#define RIPPLE_APP_DEFAULTMISSINGNODEHANDLER_H_INCLUDED +#ifndef RIPPLE_APP_MISC_DEFAULTMISSINGNODEHANDLER_H_INCLUDED +#define RIPPLE_APP_MISC_DEFAULTMISSINGNODEHANDLER_H_INCLUDED #include diff --git a/src/ripple/app/misc/FeeVote.h b/src/ripple/app/misc/FeeVote.h index 1c8566228..c78f72c34 100644 --- a/src/ripple/app/misc/FeeVote.h +++ b/src/ripple/app/misc/FeeVote.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_FEEVOTE_H_INCLUDED -#define RIPPLE_APP_FEEVOTE_H_INCLUDED +#ifndef RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED +#define RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/IHashRouter.h b/src/ripple/app/misc/IHashRouter.h index 3f3686016..120c8a4b1 100644 --- a/src/ripple/app/misc/IHashRouter.h +++ b/src/ripple/app/misc/IHashRouter.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_HASHROUTER_H_INCLUDED -#define RIPPLE_HASHROUTER_H_INCLUDED +#ifndef RIPPLE_APP_MISC_IHASHROUTER_H_INCLUDED +#define RIPPLE_APP_MISC_IHASHROUTER_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/NetworkOPs.h b/src/ripple/app/misc/NetworkOPs.h index e98e946fd..d9bfa2fe7 100644 --- a/src/ripple/app/misc/NetworkOPs.h +++ b/src/ripple/app/misc/NetworkOPs.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NETWORKOPS_H -#define RIPPLE_NETWORKOPS_H +#ifndef RIPPLE_APP_MISC_NETWORKOPS_H_INCLUDED +#define RIPPLE_APP_MISC_NETWORKOPS_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/OrderBook.h b/src/ripple/app/misc/OrderBook.h index 08be8e74a..c8a2612d0 100644 --- a/src/ripple/app/misc/OrderBook.h +++ b/src/ripple/app/misc/OrderBook.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ORDERBOOK_H -#define RIPPLE_ORDERBOOK_H +#ifndef RIPPLE_APP_MISC_ORDERBOOK_H_INCLUDED +#define RIPPLE_APP_MISC_ORDERBOOK_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/misc/SHAMapStore.h b/src/ripple/app/misc/SHAMapStore.h index 320e5591d..796f3c87c 100644 --- a/src/ripple/app/misc/SHAMapStore.h +++ b/src/ripple/app/misc/SHAMapStore.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_SHAMAPSTORE_H_INCLUDED -#define RIPPLE_APP_SHAMAPSTORE_H_INCLUDED +#ifndef RIPPLE_APP_MISC_SHAMAPSTORE_H_INCLUDED +#define RIPPLE_APP_MISC_SHAMAPSTORE_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/SHAMapStoreImp.h b/src/ripple/app/misc/SHAMapStoreImp.h index e8c6b928c..7c73cea6c 100644 --- a/src/ripple/app/misc/SHAMapStoreImp.h +++ b/src/ripple/app/misc/SHAMapStoreImp.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_SHAMAPSTOREIMP_H_INCLUDED -#define RIPPLE_APP_SHAMAPSTOREIMP_H_INCLUDED +#ifndef RIPPLE_APP_MISC_SHAMAPSTOREIMP_H_INCLUDED +#define RIPPLE_APP_MISC_SHAMAPSTOREIMP_H_INCLUDED #include #include diff --git a/src/ripple/app/misc/Validations.h b/src/ripple/app/misc/Validations.h index e04a839c6..7c6b810de 100644 --- a/src/ripple/app/misc/Validations.h +++ b/src/ripple/app/misc/Validations.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_VALIDATIONS_H_INCLUDED -#define RIPPLE_VALIDATIONS_H_INCLUDED +#ifndef RIPPLE_APP_MISC_VALIDATIONS_H_INCLUDED +#define RIPPLE_APP_MISC_VALIDATIONS_H_INCLUDED #include #include // diff --git a/src/ripple/app/node/SqliteFactory.h b/src/ripple/app/node/SqliteFactory.h index 52d10a5a2..613ab2f46 100644 --- a/src/ripple/app/node/SqliteFactory.h +++ b/src/ripple/app/node/SqliteFactory.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_SQLITEFACTORY_H_INCLUDED -#define RIPPLE_APP_SQLITEFACTORY_H_INCLUDED +#ifndef RIPPLE_APP_NODE_SQLITEFACTORY_H_INCLUDED +#define RIPPLE_APP_NODE_SQLITEFACTORY_H_INCLUDED #include diff --git a/src/ripple/app/paths/AccountCurrencies.h b/src/ripple/app/paths/AccountCurrencies.h index 207fc3475..7d082d4f0 100644 --- a/src/ripple/app/paths/AccountCurrencies.h +++ b/src/ripple/app/paths/AccountCurrencies.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_APP_PATHS_ACCOUNTCURRENCIES_H -#define RIPPLED_RIPPLE_APP_PATHS_ACCOUNTCURRENCIES_H +#ifndef RIPPLE_APP_PATHS_ACCOUNTCURRENCIES_H_INCLUDED +#define RIPPLE_APP_PATHS_ACCOUNTCURRENCIES_H_INCLUDED #include diff --git a/src/ripple/app/paths/Credit.h b/src/ripple/app/paths/Credit.h index e0ba4b45e..78372be3a 100644 --- a/src/ripple/app/paths/Credit.h +++ b/src/ripple/app/paths/Credit.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_APP_PATHS_CREDIT_H -#define RIPPLED_RIPPLE_APP_PATHS_CREDIT_H +#ifndef RIPPLE_APP_PATHS_CREDIT_H_INCLUDED +#define RIPPLE_APP_PATHS_CREDIT_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/FindPaths.h b/src/ripple/app/paths/FindPaths.h index 83feebc5f..cdc65e85f 100644 --- a/src/ripple/app/paths/FindPaths.h +++ b/src/ripple/app/paths/FindPaths.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_APP_PATHS_FINDPATHS_H -#define RIPPLED_RIPPLE_APP_PATHS_FINDPATHS_H +#ifndef RIPPLE_APP_PATHS_FINDPATHS_H_INCLUDED +#define RIPPLE_APP_PATHS_FINDPATHS_H_INCLUDED #include diff --git a/src/ripple/app/paths/Node.h b/src/ripple/app/paths/Node.h index 94dc91b5c..a4230e2f0 100644 --- a/src/ripple/app/paths/Node.h +++ b/src/ripple/app/paths/Node.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_PATH_NODE_H -#define RIPPLE_APP_PATH_NODE_H +#ifndef RIPPLE_APP_PATHS_NODE_H_INCLUDED +#define RIPPLE_APP_PATHS_NODE_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/NodeDirectory.h b/src/ripple/app/paths/NodeDirectory.h index a3660786c..1d8791761 100644 --- a/src/ripple/app/paths/NodeDirectory.h +++ b/src/ripple/app/paths/NodeDirectory.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_MODULE_APP_PATHS_NODEDIRECTORY_H -#define RIPPLED_RIPPLE_MODULE_APP_PATHS_NODEDIRECTORY_H +#ifndef RIPPLE_APP_PATHS_NODEDIRECTORY_H_INCLUDED +#define RIPPLE_APP_PATHS_NODEDIRECTORY_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/PathRequest.h b/src/ripple/app/paths/PathRequest.h index 40a1a3243..d40ddde37 100644 --- a/src/ripple/app/paths/PathRequest.h +++ b/src/ripple/app/paths/PathRequest.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PATHREQUEST_H -#define RIPPLE_PATHREQUEST_H +#ifndef RIPPLE_APP_PATHS_PATHREQUEST_H_INCLUDED +#define RIPPLE_APP_PATHS_PATHREQUEST_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/PathRequests.h b/src/ripple/app/paths/PathRequests.h index 5731abd98..0d507284b 100644 --- a/src/ripple/app/paths/PathRequests.h +++ b/src/ripple/app/paths/PathRequests.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PATHREQUESTS_H -#define RIPPLE_PATHREQUESTS_H +#ifndef RIPPLE_APP_PATHS_PATHREQUESTS_H_INCLUDED +#define RIPPLE_APP_PATHS_PATHREQUESTS_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/PathState.h b/src/ripple/app/paths/PathState.h index a76c0b072..83d143ff0 100644 --- a/src/ripple/app/paths/PathState.h +++ b/src/ripple/app/paths/PathState.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PATHSTATE_H -#define RIPPLE_PATHSTATE_H +#ifndef RIPPLE_APP_PATHS_PATHSTATE_H_INCLUDED +#define RIPPLE_APP_PATHS_PATHSTATE_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/Pathfinder.h b/src/ripple/app/paths/Pathfinder.h index 9e1871078..f328a6735 100644 --- a/src/ripple/app/paths/Pathfinder.h +++ b/src/ripple/app/paths/Pathfinder.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PATHFINDER_H -#define RIPPLE_PATHFINDER_H +#ifndef RIPPLE_APP_PATHS_PATHFINDER_H_INCLUDED +#define RIPPLE_APP_PATHS_PATHFINDER_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/RippleCalc.h b/src/ripple/app/paths/RippleCalc.h index 6ec05a7ae..aaddab050 100644 --- a/src/ripple/app/paths/RippleCalc.h +++ b/src/ripple/app/paths/RippleCalc.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RIPPLECALC_H -#define RIPPLE_RIPPLECALC_H +#ifndef RIPPLE_APP_PATHS_RIPPLECALC_H_INCLUDED +#define RIPPLE_APP_PATHS_RIPPLECALC_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/RippleLineCache.h b/src/ripple/app/paths/RippleLineCache.h index 8f9557364..5e5f0ad19 100644 --- a/src/ripple/app/paths/RippleLineCache.h +++ b/src/ripple/app/paths/RippleLineCache.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RIPPLELINECACHE_H -#define RIPPLE_RIPPLELINECACHE_H +#ifndef RIPPLE_APP_PATHS_RIPPLELINECACHE_H_INCLUDED +#define RIPPLE_APP_PATHS_RIPPLELINECACHE_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/RippleState.h b/src/ripple/app/paths/RippleState.h index 6f7ebf245..491eddf77 100644 --- a/src/ripple/app/paths/RippleState.h +++ b/src/ripple/app/paths/RippleState.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RIPPLESTATE_H -#define RIPPLE_RIPPLESTATE_H +#ifndef RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED +#define RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED #include #include diff --git a/src/ripple/app/paths/Tuning.h b/src/ripple/app/paths/Tuning.h index d786502df..658e1a92d 100644 --- a/src/ripple/app/paths/Tuning.h +++ b/src/ripple/app/paths/Tuning.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_PATHS_TUNING_H -#define RIPPLE_APP_PATHS_TUNING_H +#ifndef RIPPLE_APP_PATHS_TUNING_H_INCLUDED +#define RIPPLE_APP_PATHS_TUNING_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/paths/Types.h b/src/ripple/app/paths/Types.h index d0b660562..a1fa74907 100644 --- a/src/ripple/app/paths/Types.h +++ b/src/ripple/app/paths/Types.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TYPES_H_INCLUDED -#define RIPPLE_TYPES_H_INCLUDED +#ifndef RIPPLE_APP_PATHS_TYPES_H_INCLUDED +#define RIPPLE_APP_PATHS_TYPES_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/paths/cursor/PathCursor.h b/src/ripple/app/paths/cursor/PathCursor.h index 6c8b93300..c35dd6ce8 100644 --- a/src/ripple/app/paths/cursor/PathCursor.h +++ b/src/ripple/app/paths/cursor/PathCursor.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_MODULE_APP_PATHS_PATHCURSOR_H -#define RIPPLED_RIPPLE_MODULE_APP_PATHS_PATHCURSOR_H +#ifndef RIPPLE_APP_PATHS_CURSOR_PATHCURSOR_H_INCLUDED +#define RIPPLE_APP_PATHS_CURSOR_PATHCURSOR_H_INCLUDED #include diff --git a/src/ripple/app/paths/cursor/RippleLiquidity.h b/src/ripple/app/paths/cursor/RippleLiquidity.h index 3ff6c75a1..a408e55d1 100644 --- a/src/ripple/app/paths/cursor/RippleLiquidity.h +++ b/src/ripple/app/paths/cursor/RippleLiquidity.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PATHS_CALCULATORS_H -#define RIPPLE_PATHS_CALCULATORS_H +#ifndef RIPPLE_APP_PATHS_CURSOR_RIPPLELIQUIDITY_H_INCLUDED +#define RIPPLE_APP_PATHS_CURSOR_RIPPLELIQUIDITY_H_INCLUDED #include diff --git a/src/ripple/app/peers/ClusterNodeStatus.h b/src/ripple/app/peers/ClusterNodeStatus.h index cbab6b750..d51106ddf 100644 --- a/src/ripple/app/peers/ClusterNodeStatus.h +++ b/src/ripple/app/peers/ClusterNodeStatus.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CLUSTERNODESTATUS_H_INCLUDED -#define RIPPLE_CLUSTERNODESTATUS_H_INCLUDED +#ifndef RIPPLE_APP_PEERS_CLUSTERNODESTATUS_H_INCLUDED +#define RIPPLE_APP_PEERS_CLUSTERNODESTATUS_H_INCLUDED namespace ripple { diff --git a/src/ripple/app/peers/PeerSet.h b/src/ripple/app/peers/PeerSet.h index ab3de7f44..c2f1b2ef6 100644 --- a/src/ripple/app/peers/PeerSet.h +++ b/src/ripple/app/peers/PeerSet.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PEERSET_H -#define RIPPLE_PEERSET_H +#ifndef RIPPLE_APP_PEERS_PEERSET_H_INCLUDED +#define RIPPLE_APP_PEERS_PEERSET_H_INCLUDED #include #include diff --git a/src/ripple/app/peers/UniqueNodeList.h b/src/ripple/app/peers/UniqueNodeList.h index d887c54f4..c6897f316 100644 --- a/src/ripple/app/peers/UniqueNodeList.h +++ b/src/ripple/app/peers/UniqueNodeList.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_UNIQUENODELIST_H_INCLUDED -#define RIPPLE_UNIQUENODELIST_H_INCLUDED +#ifndef RIPPLE_APP_PEERS_UNIQUENODELIST_H_INCLUDED +#define RIPPLE_APP_PEERS_UNIQUENODELIST_H_INCLUDED #include #include // diff --git a/src/ripple/app/transactors/CreateOffer.h b/src/ripple/app/transactors/CreateOffer.h new file mode 100644 index 000000000..28299e5b8 --- /dev/null +++ b/src/ripple/app/transactors/CreateOffer.h @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +/* + This file is part of rippled: https://github.com/ripple/rippled + Copyright (c) 2012, 2013 Ripple Labs Inc. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ +//============================================================================== + +#ifndef RIPPLE_APP_TRANSACTORS_CREATEOFFER_H_INCLUDED +#define RIPPLE_APP_TRANSACTORS_CREATEOFFER_H_INCLUDED + +#include +#include +#include +#include +#include +#include +#include +#include + +namespace ripple { + +class CreateOffer + : public Transactor +{ +private: + // What kind of offer we are placing +#if RIPPLE_ENABLE_AUTOBRIDGING + bool autobridging_; +#endif + + // Determine if we are authorized to hold the asset we want to get + TER + checkAcceptAsset(IssueRef issue) const; + + /* Fill offer as much as possible by consuming offers already on the books. + We adjusts account balances and charges fees on top to taker. + + @param taker_amount.in How much the taker offers + @param taker_amount.out How much the taker wants + + @return result.first crossing operation success/failure indicator. + result.second amount of offer left unfilled - only meaningful + if result.first is tesSUCCESS. + */ + std::pair + crossOffersBridged (core::LedgerView& view, + core::Amounts const& taker_amount); + + std::pair + crossOffersDirect (core::LedgerView& view, + core::Amounts const& taker_amount); + + std::pair + crossOffers (core::LedgerView& view, + core::Amounts const& taker_amount); + +public: + CreateOffer (bool autobridging, STTx const& txn, + TransactionEngineParams params, TransactionEngine* engine); + + TER + doApply() override; +}; + +TER +transact_CreateOffer (STTx const& txn, + TransactionEngineParams params, TransactionEngine* engine); + +} + +#endif diff --git a/src/ripple/app/transactors/CreateTicket.h b/src/ripple/app/transactors/CreateTicket.h new file mode 100644 index 000000000..ffe7a8b54 --- /dev/null +++ b/src/ripple/app/transactors/CreateTicket.h @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +/* + This file is part of rippled: https://github.com/ripple/rippled + Copyright (c) 2014 Ripple Labs Inc. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ +//============================================================================== + +#ifndef RIPPLE_APP_TRANSACTORS_CREATETICKET_H_INCLUDED +#define RIPPLE_APP_TRANSACTORS_CREATETICKET_H_INCLUDED + +namespace ripple { + +} + +#endif diff --git a/src/ripple/app/transactors/Transactor.h b/src/ripple/app/transactors/Transactor.h index db1655e9a..2cbfacb7d 100644 --- a/src/ripple/app/transactors/Transactor.h +++ b/src/ripple/app/transactors/Transactor.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TX_TRANSACTOR_H_INCLUDED -#define RIPPLE_TX_TRANSACTOR_H_INCLUDED +#ifndef RIPPLE_APP_TRANSACTORS_TRANSACTOR_H_INCLUDED +#define RIPPLE_APP_TRANSACTORS_TRANSACTOR_H_INCLUDED #include diff --git a/src/ripple/app/tx/LocalTxs.h b/src/ripple/app/tx/LocalTxs.h index 09eedf66d..7825f51f2 100644 --- a/src/ripple/app/tx/LocalTxs.h +++ b/src/ripple/app/tx/LocalTxs.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOCALTRANSACTIONS_H -#define RIPPLE_LOCALTRANSACTIONS_H +#ifndef RIPPLE_APP_TX_LOCALTXS_H_INCLUDED +#define RIPPLE_APP_TX_LOCALTXS_H_INCLUDED #include #include diff --git a/src/ripple/app/tx/Transaction.h b/src/ripple/app/tx/Transaction.h index 12ba4ff4d..041caa4d9 100644 --- a/src/ripple/app/tx/Transaction.h +++ b/src/ripple/app/tx/Transaction.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TRANSACTION_H -#define RIPPLE_TRANSACTION_H +#ifndef RIPPLE_APP_TX_TRANSACTION_H_INCLUDED +#define RIPPLE_APP_TX_TRANSACTION_H_INCLUDED #include #include diff --git a/src/ripple/app/tx/TransactionAcquire.h b/src/ripple/app/tx/TransactionAcquire.h index e3ed40283..0b16492e4 100644 --- a/src/ripple/app/tx/TransactionAcquire.h +++ b/src/ripple/app/tx/TransactionAcquire.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TRANSACTIONACQUIRE_H -#define RIPPLE_TRANSACTIONACQUIRE_H +#ifndef RIPPLE_APP_TX_TRANSACTIONACQUIRE_H_INCLUDED +#define RIPPLE_APP_TX_TRANSACTIONACQUIRE_H_INCLUDED #include #include diff --git a/src/ripple/app/tx/TransactionEngine.h b/src/ripple/app/tx/TransactionEngine.h index 94c54b8c0..5d831733b 100644 --- a/src/ripple/app/tx/TransactionEngine.h +++ b/src/ripple/app/tx/TransactionEngine.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_TRANSACTIONENGINE_H_INCLUDED -#define RIPPLE_APP_TRANSACTIONENGINE_H_INCLUDED +#ifndef RIPPLE_APP_TX_TRANSACTIONENGINE_H_INCLUDED +#define RIPPLE_APP_TX_TRANSACTIONENGINE_H_INCLUDED #include #include diff --git a/src/ripple/app/tx/TransactionMaster.h b/src/ripple/app/tx/TransactionMaster.h index 0547edc1d..426b31d03 100644 --- a/src/ripple/app/tx/TransactionMaster.h +++ b/src/ripple/app/tx/TransactionMaster.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef __TRANSACTIONMASTER__ -#define __TRANSACTIONMASTER__ +#ifndef RIPPLE_APP_TX_TRANSACTIONMASTER_H_INCLUDED +#define RIPPLE_APP_TX_TRANSACTIONMASTER_H_INCLUDED #include #include diff --git a/src/ripple/app/tx/TransactionMeta.h b/src/ripple/app/tx/TransactionMeta.h index fdb2dd833..1a1381d6d 100644 --- a/src/ripple/app/tx/TransactionMeta.h +++ b/src/ripple/app/tx/TransactionMeta.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TRANSACTIONMETA_H -#define RIPPLE_TRANSACTIONMETA_H +#ifndef RIPPLE_APP_TX_TRANSACTIONMETA_H_INCLUDED +#define RIPPLE_APP_TX_TRANSACTIONMETA_H_INCLUDED #include #include diff --git a/src/ripple/app/websocket/WSConnection.h b/src/ripple/app/websocket/WSConnection.h index 96e46b3aa..b27398e27 100644 --- a/src/ripple/app/websocket/WSConnection.h +++ b/src/ripple/app/websocket/WSConnection.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_WSCONNECTION_H -#define RIPPLE_WSCONNECTION_H +#ifndef RIPPLE_APP_WEBSOCKET_WSCONNECTION_H_INCLUDED +#define RIPPLE_APP_WEBSOCKET_WSCONNECTION_H_INCLUDED #include #include diff --git a/src/ripple/app/websocket/WSDoor.h b/src/ripple/app/websocket/WSDoor.h index 636d14c1f..cbf1862f8 100644 --- a/src/ripple/app/websocket/WSDoor.h +++ b/src/ripple/app/websocket/WSDoor.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_WSDOOR_H_INCLUDED -#define RIPPLE_WSDOOR_H_INCLUDED +#ifndef RIPPLE_APP_WEBSOCKET_WSDOOR_H_INCLUDED +#define RIPPLE_APP_WEBSOCKET_WSDOOR_H_INCLUDED #include #include diff --git a/src/ripple/app/websocket/WSServerHandler.h b/src/ripple/app/websocket/WSServerHandler.h index 9d0ff208d..4707e131d 100644 --- a/src/ripple/app/websocket/WSServerHandler.h +++ b/src/ripple/app/websocket/WSServerHandler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_WSSERVERHANDLER_H_INCLUDED -#define RIPPLE_WSSERVERHANDLER_H_INCLUDED +#ifndef RIPPLE_APP_WEBSOCKET_WSSERVERHANDLER_H_INCLUDED +#define RIPPLE_APP_WEBSOCKET_WSSERVERHANDLER_H_INCLUDED #include #include diff --git a/src/ripple/basics/ByteOrder.h b/src/ripple/basics/ByteOrder.h index 02a098dab..fa777f81a 100644 --- a/src/ripple/basics/ByteOrder.h +++ b/src/ripple/basics/ByteOrder.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_BASICS_BYTEORDER_H -#define RIPPLE_BASICS_BYTEORDER_H +#ifndef RIPPLE_BASICS_BYTEORDER_H_INCLUDED +#define RIPPLE_BASICS_BYTEORDER_H_INCLUDED #include diff --git a/src/ripple/basics/TestSuite.h b/src/ripple/basics/TestSuite.h index 53ae18e9c..4896614f3 100644 --- a/src/ripple/basics/TestSuite.h +++ b/src/ripple/basics/TestSuite.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_BASICS_TESTSUITE_H -#define RIPPLED_RIPPLE_BASICS_TESTSUITE_H +#ifndef RIPPLE_BASICS_TESTSUITE_H_INCLUDED +#define RIPPLE_BASICS_TESTSUITE_H_INCLUDED #include #include diff --git a/src/ripple/basics/UnorderedContainers.h b/src/ripple/basics/UnorderedContainers.h index f8ab93071..6497da4a7 100644 --- a/src/ripple/basics/UnorderedContainers.h +++ b/src/ripple/basics/UnorderedContainers.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_BASICS_UNORDERED_CONTAINERS_H_INCLUDED -#define RIPPLE_BASICS_UNORDERED_CONTAINERS_H_INCLUDED +#ifndef RIPPLE_BASICS_UNORDEREDCONTAINERS_H_INCLUDED +#define RIPPLE_BASICS_UNORDEREDCONTAINERS_H_INCLUDED #include #include diff --git a/src/ripple/basics/base_uint.h b/src/ripple/basics/base_uint.h index c16a1d2af..156e23112 100644 --- a/src/ripple/basics/base_uint.h +++ b/src/ripple/basics/base_uint.h @@ -22,8 +22,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. -#ifndef RIPPLE_PROTOCOL_BASE_UINT_H_INCLUDED -#define RIPPLE_PROTOCOL_BASE_UINT_H_INCLUDED +#ifndef RIPPLE_BASICS_BASE_UINT_H_INCLUDED +#define RIPPLE_BASICS_BASE_UINT_H_INCLUDED #include #include diff --git a/src/ripple/basics/impl/CheckLibraryVersionsImpl.h b/src/ripple/basics/impl/CheckLibraryVersionsImpl.h index e2d3c0fd8..e0f63797b 100644 --- a/src/ripple/basics/impl/CheckLibraryVersionsImpl.h +++ b/src/ripple/basics/impl/CheckLibraryVersionsImpl.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_BASICS_CHECKLIBRARYVERSIONS_IMPL_H_INCLUDED -#define RIPPLE_BASICS_CHECKLIBRARYVERSIONS_IMPL_H_INCLUDED +#ifndef RIPPLE_BASICS_CHECKLIBRARYVERSIONSIMPL_H_INCLUDED +#define RIPPLE_BASICS_CHECKLIBRARYVERSIONSIMPL_H_INCLUDED #include #include diff --git a/src/ripple/core/ConfigSections.h b/src/ripple/core/ConfigSections.h index d1ece80fa..1d6b7e18a 100644 --- a/src/ripple/core/ConfigSections.h +++ b/src/ripple/core/ConfigSections.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CONFIGSECTIONS_H_INCLUDED -#define RIPPLE_CONFIGSECTIONS_H_INCLUDED +#ifndef RIPPLE_CORE_CONFIGSECTIONS_H_INCLUDED +#define RIPPLE_CORE_CONFIGSECTIONS_H_INCLUDED namespace ripple { diff --git a/src/ripple/core/Job.h b/src/ripple/core/Job.h index fe2f2bf93..2ec2039d8 100644 --- a/src/ripple/core/Job.h +++ b/src/ripple/core/Job.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_JOB_H -#define RIPPLE_JOB_H +#ifndef RIPPLE_CORE_JOB_H_INCLUDED +#define RIPPLE_CORE_JOB_H_INCLUDED #include #include diff --git a/src/ripple/core/JobTypes.h b/src/ripple/core/JobTypes.h index decd09632..b3a2710e6 100644 --- a/src/ripple/core/JobTypes.h +++ b/src/ripple/core/JobTypes.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_JOBTYPES_H_INCLUDED -#define RIPPLE_JOBTYPES_H_INCLUDED +#ifndef RIPPLE_CORE_JOBTYPES_H_INCLUDED +#define RIPPLE_CORE_JOBTYPES_H_INCLUDED #include #include diff --git a/src/ripple/core/LoadEvent.h b/src/ripple/core/LoadEvent.h index a84edb1c8..773718bce 100644 --- a/src/ripple/core/LoadEvent.h +++ b/src/ripple/core/LoadEvent.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOADEVENT_H -#define RIPPLE_LOADEVENT_H +#ifndef RIPPLE_CORE_LOADEVENT_H_INCLUDED +#define RIPPLE_CORE_LOADEVENT_H_INCLUDED #include #include diff --git a/src/ripple/core/LoadFeeTrack.h b/src/ripple/core/LoadFeeTrack.h index cd699cc16..b24a8dcc8 100644 --- a/src/ripple/core/LoadFeeTrack.h +++ b/src/ripple/core/LoadFeeTrack.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOADFEETRACK_H_INCLUDED -#define RIPPLE_LOADFEETRACK_H_INCLUDED +#ifndef RIPPLE_CORE_LOADFEETRACK_H_INCLUDED +#define RIPPLE_CORE_LOADFEETRACK_H_INCLUDED #include #include diff --git a/src/ripple/core/LoadMonitor.h b/src/ripple/core/LoadMonitor.h index 9ffaa64e0..246e3f9a7 100644 --- a/src/ripple/core/LoadMonitor.h +++ b/src/ripple/core/LoadMonitor.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOADMONITOR_H_INCLUDED -#define RIPPLE_LOADMONITOR_H_INCLUDED +#ifndef RIPPLE_CORE_LOADMONITOR_H_INCLUDED +#define RIPPLE_CORE_LOADMONITOR_H_INCLUDED #include #include diff --git a/src/ripple/core/impl/LoadFeeTrackImp.h b/src/ripple/core/impl/LoadFeeTrackImp.h index 010f09397..f33ac1487 100644 --- a/src/ripple/core/impl/LoadFeeTrackImp.h +++ b/src/ripple/core/impl/LoadFeeTrackImp.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LOADFEETRACKIMP_H_INCLUDED -#define RIPPLE_LOADFEETRACKIMP_H_INCLUDED +#ifndef RIPPLE_CORE_LOADFEETRACKIMP_H_INCLUDED +#define RIPPLE_CORE_LOADFEETRACKIMP_H_INCLUDED #include #include diff --git a/src/ripple/crypto/Base58.h b/src/ripple/crypto/Base58.h index 6addda90c..7b8ff4e7b 100644 --- a/src/ripple/crypto/Base58.h +++ b/src/ripple/crypto/Base58.h @@ -29,8 +29,8 @@ // - E-mail usually won't line-break if there's no punctuation to break at. // - Doubleclicking selects the whole number as one word if it's all alphanumeric. // -#ifndef RIPPLE_CRYPTO_BASE58_H -#define RIPPLE_CRYPTO_BASE58_H +#ifndef RIPPLE_CRYPTO_BASE58_H_INCLUDED +#define RIPPLE_CRYPTO_BASE58_H_INCLUDED #include #include diff --git a/src/ripple/crypto/Base58Data.h b/src/ripple/crypto/Base58Data.h index 0d1014ce4..2caa78206 100644 --- a/src/ripple/crypto/Base58Data.h +++ b/src/ripple/crypto/Base58Data.h @@ -29,8 +29,8 @@ // - E-mail usually won't line-break if there's no punctuation to break at. // - Doubleclicking selects the whole number as one word if it's all alphanumeric. // -#ifndef RIPPLE_CRYPTO_BASE58DATA_H -#define RIPPLE_CRYPTO_BASE58DATA_H +#ifndef RIPPLE_CRYPTO_BASE58DATA_H_INCLUDED +#define RIPPLE_CRYPTO_BASE58DATA_H_INCLUDED #include #include diff --git a/src/ripple/crypto/ECDSA.h b/src/ripple/crypto/ECDSA.h index 4ef706f43..fa0fda349 100644 --- a/src/ripple/crypto/ECDSA.h +++ b/src/ripple/crypto/ECDSA.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ECDSA_H -#define RIPPLE_ECDSA_H +#ifndef RIPPLE_CRYPTO_ECDSA_H_INCLUDED +#define RIPPLE_CRYPTO_ECDSA_H_INCLUDED #include #include diff --git a/src/ripple/crypto/ECIES.h b/src/ripple/crypto/ECIES.h index cadd7f412..d6f66c725 100644 --- a/src/ripple/crypto/ECIES.h +++ b/src/ripple/crypto/ECIES.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ECIES_H -#define RIPPLE_ECIES_H +#ifndef RIPPLE_CRYPTO_ECIES_H_INCLUDED +#define RIPPLE_CRYPTO_ECIES_H_INCLUDED #include #include diff --git a/src/ripple/crypto/GenerateDeterministicKey.h b/src/ripple/crypto/GenerateDeterministicKey.h index b01bd28c6..92f4e6076 100644 --- a/src/ripple/crypto/GenerateDeterministicKey.h +++ b/src/ripple/crypto/GenerateDeterministicKey.h @@ -22,8 +22,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. -#ifndef RIPPLE_CKEYDETERMINISTIC_H -#define RIPPLE_CKEYDETERMINISTIC_H +#ifndef RIPPLE_CRYPTO_GENERATEDETERMINISTICKEY_H_INCLUDED +#define RIPPLE_CRYPTO_GENERATEDETERMINISTICKEY_H_INCLUDED #include #include diff --git a/src/ripple/crypto/ec_key.h b/src/ripple/crypto/ec_key.h index c4679a2fe..e1f21e109 100644 --- a/src/ripple/crypto/ec_key.h +++ b/src/ripple/crypto/ec_key.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ECKEY_H -#define RIPPLE_ECKEY_H +#ifndef RIPPLE_CRYPTO_EC_KEY_H_INCLUDED +#define RIPPLE_CRYPTO_EC_KEY_H_INCLUDED #include #include diff --git a/src/ripple/json/JsonPropertyStream.h b/src/ripple/json/JsonPropertyStream.h index 785203a18..9b8dfb1e1 100644 --- a/src/ripple/json/JsonPropertyStream.h +++ b/src/ripple/json/JsonPropertyStream.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_JSONPROPERTYSTREAM_H_INCLUDED -#define RIPPLE_JSONPROPERTYSTREAM_H_INCLUDED +#ifndef RIPPLE_JSON_JSONPROPERTYSTREAM_H_INCLUDED +#define RIPPLE_JSON_JSONPROPERTYSTREAM_H_INCLUDED #include #include diff --git a/src/ripple/json/impl/json_assert.h b/src/ripple/json/impl/json_assert.h index ab1d5ef12..33eb45b9b 100644 --- a/src/ripple/json/impl/json_assert.h +++ b/src/ripple/json/impl/json_assert.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSONCPPTL_ASSERT_H_INCLUDED -#define JSONCPPTL_ASSERT_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_ASSERT_H_INCLUDED +#define RIPPLE_JSON_JSON_ASSERT_H_INCLUDED #define JSON_ASSERT_UNREACHABLE assert( false ) #define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw diff --git a/src/ripple/json/impl/json_autolink.h b/src/ripple/json/impl/json_autolink.h index 162823dfa..b614d2821 100644 --- a/src/ripple/json/impl/json_autolink.h +++ b/src/ripple/json/impl/json_autolink.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSON_AUTOLINK_H_INCLUDED -#define JSON_AUTOLINK_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_AUTOLINK_H_INCLUDED +#define RIPPLE_JSON_JSON_AUTOLINK_H_INCLUDED // VFALCO TODO remove this file #error This file is deprecated! diff --git a/src/ripple/json/impl/json_batchallocator.h b/src/ripple/json/impl/json_batchallocator.h index 1b6d78286..4f2d1c99c 100644 --- a/src/ripple/json/impl/json_batchallocator.h +++ b/src/ripple/json/impl/json_batchallocator.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSONCPP_BATCHALLOCATOR_H_INCLUDED -#define JSONCPP_BATCHALLOCATOR_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_BATCHALLOCATOR_H_INCLUDED +#define RIPPLE_JSON_JSON_BATCHALLOCATOR_H_INCLUDED #ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION diff --git a/src/ripple/json/json_config.h b/src/ripple/json/json_config.h index 552c40a34..39e6e16d6 100644 --- a/src/ripple/json/json_config.h +++ b/src/ripple/json/json_config.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSON_CONFIG_H_INCLUDED -#define JSON_CONFIG_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_CONFIG_H_INCLUDED +#define RIPPLE_JSON_JSON_CONFIG_H_INCLUDED /// If defined, indicates that json library is embedded in CppTL library. //# define JSON_IN_CPPTL 1 diff --git a/src/ripple/json/json_features.h b/src/ripple/json/json_features.h index 80c324e7c..d81e3fe9c 100644 --- a/src/ripple/json/json_features.h +++ b/src/ripple/json/json_features.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef CPPTL_JSON_FEATURES_H_INCLUDED -#define CPPTL_JSON_FEATURES_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_FEATURES_H_INCLUDED +#define RIPPLE_JSON_JSON_FEATURES_H_INCLUDED #include diff --git a/src/ripple/json/json_forwards.h b/src/ripple/json/json_forwards.h index a0bea19a0..b3c9fd12d 100644 --- a/src/ripple/json/json_forwards.h +++ b/src/ripple/json/json_forwards.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSON_FORWARDS_H_INCLUDED -#define JSON_FORWARDS_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_FORWARDS_H_INCLUDED +#define RIPPLE_JSON_JSON_FORWARDS_H_INCLUDED #include diff --git a/src/ripple/json/json_reader.h b/src/ripple/json/json_reader.h index 61a55fa29..39ca10332 100644 --- a/src/ripple/json/json_reader.h +++ b/src/ripple/json/json_reader.h @@ -17,7 +17,9 @@ */ //============================================================================== -#ifndef CPPTL_JSON_READER_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_READER_H_INCLUDED +#define RIPPLE_JSON_JSON_READER_H_INCLUDED + # define CPPTL_JSON_READER_H_INCLUDED #include diff --git a/src/ripple/json/json_value.h b/src/ripple/json/json_value.h index 877746782..1b9d807d5 100644 --- a/src/ripple/json/json_value.h +++ b/src/ripple/json/json_value.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef CPPTL_JSON_H_INCLUDED -#define CPPTL_JSON_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_VALUE_H_INCLUDED +#define RIPPLE_JSON_JSON_VALUE_H_INCLUDED #include #include diff --git a/src/ripple/json/json_writer.h b/src/ripple/json/json_writer.h index 5406467b3..d2cce1796 100644 --- a/src/ripple/json/json_writer.h +++ b/src/ripple/json/json_writer.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSON_WRITER_H_INCLUDED -#define JSON_WRITER_H_INCLUDED +#ifndef RIPPLE_JSON_JSON_WRITER_H_INCLUDED +#define RIPPLE_JSON_JSON_WRITER_H_INCLUDED #include #include diff --git a/src/ripple/json/to_string.h b/src/ripple/json/to_string.h index e382b35da..3d05e2bcf 100644 --- a/src/ripple/json/to_string.h +++ b/src/ripple/json/to_string.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef JSON_TO_STRING_H_INCLUDED -#define JSON_TO_STRING_H_INCLUDED +#ifndef RIPPLE_JSON_TO_STRING_H_INCLUDED +#define RIPPLE_JSON_TO_STRING_H_INCLUDED #include #include diff --git a/src/ripple/net/HTTPClient.h b/src/ripple/net/HTTPClient.h index 81f0ae37c..aa3bcb48f 100644 --- a/src/ripple/net/HTTPClient.h +++ b/src/ripple/net/HTTPClient.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_BASICS_HTTPCLIENT_H_INCLUDED -#define RIPPLE_NET_BASICS_HTTPCLIENT_H_INCLUDED +#ifndef RIPPLE_NET_HTTPCLIENT_H_INCLUDED +#define RIPPLE_NET_HTTPCLIENT_H_INCLUDED #include #include diff --git a/src/ripple/net/HTTPRequest.h b/src/ripple/net/HTTPRequest.h index ce7535de3..3e8d3e281 100644 --- a/src/ripple/net/HTTPRequest.h +++ b/src/ripple/net/HTTPRequest.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_BASICS_HTTPREQUEST_H_INCLUDED -#define RIPPLE_NET_BASICS_HTTPREQUEST_H_INCLUDED +#ifndef RIPPLE_NET_HTTPREQUEST_H_INCLUDED +#define RIPPLE_NET_HTTPREQUEST_H_INCLUDED #include #include diff --git a/src/ripple/net/InfoSub.h b/src/ripple/net/InfoSub.h index 04c384fb7..000889f34 100644 --- a/src/ripple/net/InfoSub.h +++ b/src/ripple/net/InfoSub.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_RPC_INFOSUB_H_INCLUDED -#define RIPPLE_NET_RPC_INFOSUB_H_INCLUDED +#ifndef RIPPLE_NET_INFOSUB_H_INCLUDED +#define RIPPLE_NET_INFOSUB_H_INCLUDED #include #include diff --git a/src/ripple/net/RPCCall.h b/src/ripple/net/RPCCall.h index 1d85ffe4b..60cb9470c 100644 --- a/src/ripple/net/RPCCall.h +++ b/src/ripple/net/RPCCall.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_RPC_RPCCALL_H_INCLUDED -#define RIPPLE_NET_RPC_RPCCALL_H_INCLUDED +#ifndef RIPPLE_NET_RPCCALL_H_INCLUDED +#define RIPPLE_NET_RPCCALL_H_INCLUDED #include #include diff --git a/src/ripple/net/RPCErr.h b/src/ripple/net/RPCErr.h index bb695b98e..0841de2b0 100644 --- a/src/ripple/net/RPCErr.h +++ b/src/ripple/net/RPCErr.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_RPC_RPCERR_H_INCLUDED -#define RIPPLE_NET_RPC_RPCERR_H_INCLUDED +#ifndef RIPPLE_NET_RPCERR_H_INCLUDED +#define RIPPLE_NET_RPCERR_H_INCLUDED #include diff --git a/src/ripple/net/RPCSub.h b/src/ripple/net/RPCSub.h index 9f590ed76..f42e9336d 100644 --- a/src/ripple/net/RPCSub.h +++ b/src/ripple/net/RPCSub.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_RPC_RPCSUB_H_INCLUDED -#define RIPPLE_NET_RPC_RPCSUB_H_INCLUDED +#ifndef RIPPLE_NET_RPCSUB_H_INCLUDED +#define RIPPLE_NET_RPCSUB_H_INCLUDED #include #include diff --git a/src/ripple/net/SNTPClient.h b/src/ripple/net/SNTPClient.h index 460d303f3..a43c68d26 100644 --- a/src/ripple/net/SNTPClient.h +++ b/src/ripple/net/SNTPClient.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NET_BASICS_SNTPCLIENT_H_INCLUDED -#define RIPPLE_NET_BASICS_SNTPCLIENT_H_INCLUDED +#ifndef RIPPLE_NET_SNTPCLIENT_H_INCLUDED +#define RIPPLE_NET_SNTPCLIENT_H_INCLUDED #include diff --git a/src/ripple/nodestore/tests/Base.test.h b/src/ripple/nodestore/tests/Base.test.h index e74acac8a..49b5b4cc1 100644 --- a/src/ripple/nodestore/tests/Base.test.h +++ b/src/ripple/nodestore/tests/Base.test.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_NODESTORE_TESTBASE_H_INCLUDED -#define RIPPLE_NODESTORE_TESTBASE_H_INCLUDED +#ifndef RIPPLE_NODESTORE_BASE_H_INCLUDED +#define RIPPLE_NODESTORE_BASE_H_INCLUDED #include #include diff --git a/src/ripple/peerfinder/impl/PrivateTypes.h b/src/ripple/peerfinder/impl/PrivateTypes.h index 16e8704f5..b0ac33023 100644 --- a/src/ripple/peerfinder/impl/PrivateTypes.h +++ b/src/ripple/peerfinder/impl/PrivateTypes.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PEERFINDER_PRIVATE_TYPES_H_INCLUDED -#define RIPPLE_PEERFINDER_PRIVATE_TYPES_H_INCLUDED +#ifndef RIPPLE_PEERFINDER_PRIVATETYPES_H_INCLUDED +#define RIPPLE_PEERFINDER_PRIVATETYPES_H_INCLUDED namespace ripple { namespace PeerFinder { diff --git a/src/ripple/peerfinder/impl/iosformat.h b/src/ripple/peerfinder/impl/iosformat.h index d4f0c4b8a..27a10e9f8 100644 --- a/src/ripple/peerfinder/impl/iosformat.h +++ b/src/ripple/peerfinder/impl/iosformat.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef BEAST_IOSFORMAT_H_INCLUDED -#define BEAST_IOSFORMAT_H_INCLUDED +#ifndef RIPPLE_PEERFINDER_IOSFORMAT_H_INCLUDED +#define RIPPLE_PEERFINDER_IOSFORMAT_H_INCLUDED #include #include diff --git a/src/ripple/peerfinder/sim/sync_timer.h b/src/ripple/peerfinder/sim/sync_timer.h index 2d9bc6772..7819d6fb4 100644 --- a/src/ripple/peerfinder/sim/sync_timer.h +++ b/src/ripple/peerfinder/sim/sync_timer.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef BEASTSYNC_SYNC_DEADLINE_TIMER_H_INCLUDED -#define BEASTSYNC_SYNC_DEADLINE_TIMER_H_INCLUDED +#ifndef RIPPLE_PEERFINDER_SIM_SYNC_TIMER_H_INCLUDED +#define RIPPLE_PEERFINDER_SIM_SYNC_TIMER_H_INCLUDED //#include diff --git a/src/ripple/protocol/Blob.h b/src/ripple/protocol/Blob.h index 9951f33f8..5ca7d1309 100644 --- a/src/ripple/protocol/Blob.h +++ b/src/ripple/protocol/Blob.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_TYPES_BLOB_H_INCLUDED -#define RIPPLE_TYPES_BLOB_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_BLOB_H_INCLUDED +#define RIPPLE_PROTOCOL_BLOB_H_INCLUDED #include diff --git a/src/ripple/protocol/Issue.h b/src/ripple/protocol/Issue.h index 7d107920c..2de3530b8 100644 --- a/src/ripple/protocol/Issue.h +++ b/src/ripple/protocol/Issue.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_ISSUE_INCLUDED -#define RIPPLE_PROTOCOL_ISSUE_INCLUDED +#ifndef RIPPLE_PROTOCOL_ISSUE_H_INCLUDED +#define RIPPLE_PROTOCOL_ISSUE_H_INCLUDED #include #include diff --git a/src/ripple/protocol/SField.h b/src/ripple/protocol/SField.h index 622ef6616..8dcf0337b 100644 --- a/src/ripple/protocol/SField.h +++ b/src/ripple/protocol/SField.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_FIELDNAMES_H_INCLUDED -#define RIPPLE_PROTOCOL_FIELDNAMES_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_SFIELD_H_INCLUDED +#define RIPPLE_PROTOCOL_SFIELD_H_INCLUDED #include #include diff --git a/src/ripple/protocol/STBitString.h b/src/ripple/protocol/STBitString.h index f1c04bcf6..ff2f3604c 100644 --- a/src/ripple/protocol/STBitString.h +++ b/src/ripple/protocol/STBitString.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_STBITS_H_INCLUDED -#define RIPPLE_PROTOCOL_STBITS_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_STBITSTRING_H_INCLUDED +#define RIPPLE_PROTOCOL_STBITSTRING_H_INCLUDED #include diff --git a/src/ripple/protocol/STPathSet.h b/src/ripple/protocol/STPathSet.h index c86b92ec8..43211d93a 100644 --- a/src/ripple/protocol/STPathSet.h +++ b/src/ripple/protocol/STPathSet.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_STPATHELEMENT_H_INCLUDED -#define RIPPLE_PROTOCOL_STPATHELEMENT_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_STPATHSET_H_INCLUDED +#define RIPPLE_PROTOCOL_STPATHSET_H_INCLUDED #include #include diff --git a/src/ripple/protocol/STTx.h b/src/ripple/protocol/STTx.h index b33235014..df9c9f5b1 100644 --- a/src/ripple/protocol/STTx.h +++ b/src/ripple/protocol/STTx.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SERIALIZEDTRANSACTION_H -#define RIPPLE_SERIALIZEDTRANSACTION_H +#ifndef RIPPLE_PROTOCOL_STTX_H_INCLUDED +#define RIPPLE_PROTOCOL_STTX_H_INCLUDED #include #include diff --git a/src/ripple/protocol/STVector256.h b/src/ripple/protocol/STVector256.h index 554fa1c0b..20c83d264 100644 --- a/src/ripple/protocol/STVector256.h +++ b/src/ripple/protocol/STVector256.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_SERIALIZEDTYPES_H_INCLUDED -#define RIPPLE_PROTOCOL_SERIALIZEDTYPES_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_STVECTOR256_H_INCLUDED +#define RIPPLE_PROTOCOL_STVECTOR256_H_INCLUDED #include #include diff --git a/src/ripple/protocol/SystemParameters.h b/src/ripple/protocol/SystemParameters.h index 036046214..cace66172 100644 --- a/src/ripple/protocol/SystemParameters.h +++ b/src/ripple/protocol/SystemParameters.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_CORE_SYSTEMPARAMETERS_H_INCLUDED -#define RIPPLE_CORE_SYSTEMPARAMETERS_H_INCLUDED +#ifndef RIPPLE_PROTOCOL_SYSTEMPARAMETERS_H_INCLUDED +#define RIPPLE_PROTOCOL_SYSTEMPARAMETERS_H_INCLUDED #include #include diff --git a/src/ripple/protocol/TER.h b/src/ripple/protocol/TER.h index c64192509..849ab5ebd 100644 --- a/src/ripple/protocol/TER.h +++ b/src/ripple/protocol/TER.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_TER_H -#define RIPPLE_PROTOCOL_TER_H +#ifndef RIPPLE_PROTOCOL_TER_H_INCLUDED +#define RIPPLE_PROTOCOL_TER_H_INCLUDED #include diff --git a/src/ripple/protocol/UintTypes.h b/src/ripple/protocol/UintTypes.h index 867192a4f..e2ea198f7 100644 --- a/src/ripple/protocol/UintTypes.h +++ b/src/ripple/protocol/UintTypes.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_PROTOCOL_BASICS -#define RIPPLE_PROTOCOL_BASICS +#ifndef RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED +#define RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED #include #include diff --git a/src/ripple/rpc/Context.h b/src/ripple/rpc/Context.h index 5cba92b3d..159c6cb13 100644 --- a/src/ripple/rpc/Context.h +++ b/src/ripple/rpc/Context.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RPC_CONTEXT -#define RIPPLE_RPC_CONTEXT +#ifndef RIPPLE_RPC_CONTEXT_H_INCLUDED +#define RIPPLE_RPC_CONTEXT_H_INCLUDED #include #include diff --git a/src/ripple/rpc/Coroutine.h b/src/ripple/rpc/Coroutine.h index b0c0136a9..7a8784b5b 100644 --- a/src/ripple/rpc/Coroutine.h +++ b/src/ripple/rpc/Coroutine.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_RPC_COROUTINE_H -#define RIPPLED_RIPPLE_RPC_COROUTINE_H +#ifndef RIPPLE_RPC_COROUTINE_H_INCLUDED +#define RIPPLE_RPC_COROUTINE_H_INCLUDED #include diff --git a/src/ripple/rpc/InternalHandler.h b/src/ripple/rpc/InternalHandler.h index 665e0e858..703a409d7 100644 --- a/src/ripple/rpc/InternalHandler.h +++ b/src/ripple/rpc/InternalHandler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_RPC_INTERNAL_HANDLER -#define RIPPLE_APP_RPC_INTERNAL_HANDLER +#ifndef RIPPLE_RPC_INTERNALHANDLER_H_INCLUDED +#define RIPPLE_RPC_INTERNALHANDLER_H_INCLUDED namespace ripple { namespace RPC { diff --git a/src/ripple/rpc/RPCHandler.h b/src/ripple/rpc/RPCHandler.h index 059b4fe18..32f229355 100644 --- a/src/ripple/rpc/RPCHandler.h +++ b/src/ripple/rpc/RPCHandler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_RPC_HANDLER -#define RIPPLE_APP_RPC_HANDLER +#ifndef RIPPLE_RPC_RPCHANDLER_H_INCLUDED +#define RIPPLE_RPC_RPCHANDLER_H_INCLUDED #include #include diff --git a/src/ripple/rpc/Status.h b/src/ripple/rpc/Status.h index cb3fb6c22..94df3eb88 100644 --- a/src/ripple/rpc/Status.h +++ b/src/ripple/rpc/Status.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_STATUS_H -#define RIPPLE_STATUS_H +#ifndef RIPPLE_RPC_STATUS_H_INCLUDED +#define RIPPLE_RPC_STATUS_H_INCLUDED #include #include diff --git a/src/ripple/rpc/Yield.h b/src/ripple/rpc/Yield.h index 40f99cc40..8c4f8c4db 100644 --- a/src/ripple/rpc/Yield.h +++ b/src/ripple/rpc/Yield.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_RPC_YIELD_H -#define RIPPLED_RIPPLE_RPC_YIELD_H +#ifndef RIPPLE_RPC_YIELD_H_INCLUDED +#define RIPPLE_RPC_YIELD_H_INCLUDED #include #include diff --git a/src/ripple/rpc/handlers/Handlers.h b/src/ripple/rpc/handlers/Handlers.h index c39ebd920..fbac3665c 100644 --- a/src/ripple/rpc/handlers/Handlers.h +++ b/src/ripple/rpc/handlers/Handlers.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_HANDLER_HANDLERS -#define RIPPLE_HANDLER_HANDLERS +#ifndef RIPPLE_RPC_HANDLERS_HANDLERS_H_INCLUDED +#define RIPPLE_RPC_HANDLERS_HANDLERS_H_INCLUDED namespace ripple { diff --git a/src/ripple/rpc/handlers/Ledger.h b/src/ripple/rpc/handlers/Ledger.h index bb35cd8a7..ff75b5c37 100644 --- a/src/ripple/rpc/handlers/Ledger.h +++ b/src/ripple/rpc/handlers/Ledger.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_RPC_HANDLERS_LEDGER_H -#define RIPPLED_RIPPLE_RPC_HANDLERS_LEDGER_H +#ifndef RIPPLE_RPC_HANDLERS_LEDGER_H_INCLUDED +#define RIPPLE_RPC_HANDLERS_LEDGER_H_INCLUDED #include #include diff --git a/src/ripple/rpc/impl/DoPrint.h b/src/ripple/rpc/impl/DoPrint.h index b943e6715..b0e7dfa2e 100644 --- a/src/ripple/rpc/impl/DoPrint.h +++ b/src/ripple/rpc/impl/DoPrint.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RPC_PRINT_H_INCLUDED -#define RIPPLE_RPC_PRINT_H_INCLUDED +#ifndef RIPPLE_RPC_DOPRINT_H_INCLUDED +#define RIPPLE_RPC_DOPRINT_H_INCLUDED #include #include diff --git a/src/ripple/rpc/impl/Handler.h b/src/ripple/rpc/impl/Handler.h index c3bf002cc..2f80d494c 100644 --- a/src/ripple/rpc/impl/Handler.h +++ b/src/ripple/rpc/impl/Handler.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_RPC_HANDLER -#define RIPPLE_RPC_HANDLER +#ifndef RIPPLE_RPC_HANDLER_H_INCLUDED +#define RIPPLE_RPC_HANDLER_H_INCLUDED #include #include diff --git a/src/ripple/rpc/impl/JsonObject.h b/src/ripple/rpc/impl/JsonObject.h index 246c45183..977350eb1 100644 --- a/src/ripple/rpc/impl/JsonObject.h +++ b/src/ripple/rpc/impl/JsonObject.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_RPC_IMPL_JSONCOLLECTIONS_H -#define RIPPLED_RIPPLE_RPC_IMPL_JSONCOLLECTIONS_H +#ifndef RIPPLE_RPC_JSONOBJECT_H_INCLUDED +#define RIPPLE_RPC_JSONOBJECT_H_INCLUDED #include diff --git a/src/ripple/rpc/impl/JsonWriter.h b/src/ripple/rpc/impl/JsonWriter.h index d945c70ae..e9a811884 100644 --- a/src/ripple/rpc/impl/JsonWriter.h +++ b/src/ripple/rpc/impl/JsonWriter.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_BASICS_TYPES_JSONWRITER_H -#define RIPPLED_RIPPLE_BASICS_TYPES_JSONWRITER_H +#ifndef RIPPLE_RPC_JSONWRITER_H_INCLUDED +#define RIPPLE_RPC_JSONWRITER_H_INCLUDED #include #include diff --git a/src/ripple/rpc/impl/WriteJson.h b/src/ripple/rpc/impl/WriteJson.h index 28344d401..ec31fd4f2 100644 --- a/src/ripple/rpc/impl/WriteJson.h +++ b/src/ripple/rpc/impl/WriteJson.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLED_RIPPLE_RPC_IMPL_WRITELEGACYJSON_H -#define RIPPLED_RIPPLE_RPC_IMPL_WRITELEGACYJSON_H +#ifndef RIPPLE_RPC_WRITEJSON_H_INCLUDED +#define RIPPLE_RPC_WRITEJSON_H_INCLUDED namespace ripple { namespace RPC { diff --git a/src/ripple/shamap/SHAMapAddNode.h b/src/ripple/shamap/SHAMapAddNode.h index 0c335a604..d8f1e5fd5 100644 --- a/src/ripple/shamap/SHAMapAddNode.h +++ b/src/ripple/shamap/SHAMapAddNode.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAPADDNODE_H -#define RIPPLE_SHAMAPADDNODE_H +#ifndef RIPPLE_SHAMAP_SHAMAPADDNODE_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPADDNODE_H_INCLUDED #include diff --git a/src/ripple/shamap/SHAMapItem.h b/src/ripple/shamap/SHAMapItem.h index 51a17628d..ad17c273d 100644 --- a/src/ripple/shamap/SHAMapItem.h +++ b/src/ripple/shamap/SHAMapItem.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAPITEM_H -#define RIPPLE_SHAMAPITEM_H +#ifndef RIPPLE_SHAMAP_SHAMAPITEM_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPITEM_H_INCLUDED #include #include diff --git a/src/ripple/shamap/SHAMapMissingNode.h b/src/ripple/shamap/SHAMapMissingNode.h index 714bd0a48..6b632406d 100644 --- a/src/ripple/shamap/SHAMapMissingNode.h +++ b/src/ripple/shamap/SHAMapMissingNode.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAPMISSINGNODE_H -#define RIPPLE_SHAMAPMISSINGNODE_H +#ifndef RIPPLE_SHAMAP_SHAMAPMISSINGNODE_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPMISSINGNODE_H_INCLUDED #include diff --git a/src/ripple/shamap/SHAMapNodeID.h b/src/ripple/shamap/SHAMapNodeID.h index f81070a70..e978abfeb 100644 --- a/src/ripple/shamap/SHAMapNodeID.h +++ b/src/ripple/shamap/SHAMapNodeID.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAPNODEID_H -#define RIPPLE_SHAMAPNODEID_H +#ifndef RIPPLE_SHAMAP_SHAMAPNODEID_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPNODEID_H_INCLUDED #include #include diff --git a/src/ripple/shamap/SHAMapSyncFilter.h b/src/ripple/shamap/SHAMapSyncFilter.h index b3b6ff17e..7774662ca 100644 --- a/src/ripple/shamap/SHAMapSyncFilter.h +++ b/src/ripple/shamap/SHAMapSyncFilter.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAPSYNCFILTER_H -#define RIPPLE_SHAMAPSYNCFILTER_H +#ifndef RIPPLE_SHAMAP_SHAMAPSYNCFILTER_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPSYNCFILTER_H_INCLUDED #include diff --git a/src/ripple/shamap/SHAMapTreeNode.h b/src/ripple/shamap/SHAMapTreeNode.h index 397544a86..04b862264 100644 --- a/src/ripple/shamap/SHAMapTreeNode.h +++ b/src/ripple/shamap/SHAMapTreeNode.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_SHAMAP_SHAMAPTREENODE_H -#define RIPPLE_SHAMAP_SHAMAPTREENODE_H +#ifndef RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED +#define RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED #include #include diff --git a/src/ripple/shamap/TreeNodeCache.h b/src/ripple/shamap/TreeNodeCache.h index c223f2a39..c9b8eafa1 100644 --- a/src/ripple/shamap/TreeNodeCache.h +++ b/src/ripple/shamap/TreeNodeCache.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_APP_SHAMAP_TREENODECACHE_H_INCLUDED -#define RIPPLE_APP_SHAMAP_TREENODECACHE_H_INCLUDED +#ifndef RIPPLE_SHAMAP_TREENODECACHE_H_INCLUDED +#define RIPPLE_SHAMAP_TREENODECACHE_H_INCLUDED #include diff --git a/src/ripple/unity/git_id.h b/src/ripple/unity/git_id.h index ec383ef26..1772f6405 100644 --- a/src/ripple/unity/git_id.h +++ b/src/ripple/unity/git_id.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_GIT_TAG_H_INCLUDED -#define RIPPLE_GIT_TAG_H_INCLUDED +#ifndef RIPPLE_UNITY_GIT_ID_H_INCLUDED +#define RIPPLE_UNITY_GIT_ID_H_INCLUDED #include diff --git a/src/ripple/unity/hyperleveldb.h b/src/ripple/unity/hyperleveldb.h index 28be45195..bdcf3a4c0 100644 --- a/src/ripple/unity/hyperleveldb.h +++ b/src/ripple/unity/hyperleveldb.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_HYPERLEVELDB_H_INCLUDED -#define RIPPLE_HYPERLEVELDB_H_INCLUDED +#ifndef RIPPLE_UNITY_HYPERLEVELDB_H_INCLUDED +#define RIPPLE_UNITY_HYPERLEVELDB_H_INCLUDED #include diff --git a/src/ripple/unity/leveldb.h b/src/ripple/unity/leveldb.h index 74f722b1e..e44f51b6d 100644 --- a/src/ripple/unity/leveldb.h +++ b/src/ripple/unity/leveldb.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_LEVELDB_H_INCLUDED -#define RIPPLE_LEVELDB_H_INCLUDED +#ifndef RIPPLE_UNITY_LEVELDB_H_INCLUDED +#define RIPPLE_UNITY_LEVELDB_H_INCLUDED #ifndef RIPPLE_LEVELDB_AVAILABLE # define RIPPLE_LEVELDB_AVAILABLE 1 diff --git a/src/ripple/unity/rocksdb.h b/src/ripple/unity/rocksdb.h index d014879b1..baa9f43d0 100644 --- a/src/ripple/unity/rocksdb.h +++ b/src/ripple/unity/rocksdb.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_ROCKSDB_H_INCLUDED -#define RIPPLE_ROCKSDB_H_INCLUDED +#ifndef RIPPLE_UNITY_ROCKSDB_H_INCLUDED +#define RIPPLE_UNITY_ROCKSDB_H_INCLUDED #include diff --git a/src/ripple/unity/websocket.h b/src/ripple/unity/websocket.h index 80537e05b..84d359bd5 100644 --- a/src/ripple/unity/websocket.h +++ b/src/ripple/unity/websocket.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_WEBSOCKET_H_INCLUDED -#define RIPPLE_WEBSOCKET_H_INCLUDED +#ifndef RIPPLE_UNITY_WEBSOCKET_H_INCLUDED +#define RIPPLE_UNITY_WEBSOCKET_H_INCLUDED // needed before inclusion of stdint.h for INT32_MIN/INT32_MAX macros #ifndef __STDC_LIMIT_MACROS diff --git a/src/ripple/websocket/autosocket/AutoSocket.h b/src/ripple/websocket/autosocket/AutoSocket.h index 75fa330d1..decff24cd 100644 --- a/src/ripple/websocket/autosocket/AutoSocket.h +++ b/src/ripple/websocket/autosocket/AutoSocket.h @@ -17,8 +17,8 @@ */ //============================================================================== -#ifndef RIPPLE_WEBSOCKET_AUTOSOCKET_H_INCLUDED -#define RIPPLE_WEBSOCKET_AUTOSOCKET_H_INCLUDED +#ifndef RIPPLE_WEBSOCKET_AUTOSOCKET_AUTOSOCKET_H_INCLUDED +#define RIPPLE_WEBSOCKET_AUTOSOCKET_AUTOSOCKET_H_INCLUDED #include #include