135d8d4d1SNiels Sascha Reedijk /* 235d8d4d1SNiels Sascha Reedijk * Copyright 2010 Haiku Inc. All rights reserved. 335d8d4d1SNiels Sascha Reedijk * Distributed under the terms of the MIT License. 435d8d4d1SNiels Sascha Reedijk */ 535d8d4d1SNiels Sascha Reedijk #ifndef _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 635d8d4d1SNiels Sascha Reedijk #define _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 735d8d4d1SNiels Sascha Reedijk 835d8d4d1SNiels Sascha Reedijk 935d8d4d1SNiels Sascha Reedijk #include <HashMap.h> 1035d8d4d1SNiels Sascha Reedijk 11*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookie; 12*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookieJar; 13*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookieList; 14*ce64ffdbSNiels Sascha Reedijk 15*ce64ffdbSNiels Sascha Reedijk 1635d8d4d1SNiels Sascha Reedijk typedef BPrivate::SynchronizedHashMap<HashString, BNetworkCookieList*> 1735d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap; 1835d8d4d1SNiels Sascha Reedijk 1935d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateHashMap : public BNetworkCookieHashMap { 2035d8d4d1SNiels Sascha Reedijk }; 2135d8d4d1SNiels Sascha Reedijk 2235d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateIterator { PrivateIteratorPrivateIterator2335d8d4d1SNiels Sascha Reedijk PrivateIterator( 2435d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator it) 2535d8d4d1SNiels Sascha Reedijk : 2635d8d4d1SNiels Sascha Reedijk fCookieMapIterator(it) 2735d8d4d1SNiels Sascha Reedijk { 2835d8d4d1SNiels Sascha Reedijk } 2935d8d4d1SNiels Sascha Reedijk 3035d8d4d1SNiels Sascha Reedijk HashString fKey; 3135d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator 3235d8d4d1SNiels Sascha Reedijk fCookieMapIterator; 3335d8d4d1SNiels Sascha Reedijk }; 3435d8d4d1SNiels Sascha Reedijk 3535d8d4d1SNiels Sascha Reedijk #endif // _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 36