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 1135d8d4d1SNiels Sascha Reedijk 12*ce64ffdbSNiels Sascha Reedijk #ifndef LIBNETAPI_DEPRECATED 13*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookie; 14*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookieJar; 15*ce64ffdbSNiels Sascha Reedijk using BPrivate::Network::BNetworkCookieList; 16*ce64ffdbSNiels Sascha Reedijk #endif 17*ce64ffdbSNiels Sascha Reedijk 18*ce64ffdbSNiels Sascha Reedijk 1935d8d4d1SNiels Sascha Reedijk typedef BPrivate::SynchronizedHashMap<HashString, BNetworkCookieList*> 2035d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap; 2135d8d4d1SNiels Sascha Reedijk 2235d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateHashMap : public BNetworkCookieHashMap { 2335d8d4d1SNiels Sascha Reedijk }; 2435d8d4d1SNiels Sascha Reedijk 2535d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateIterator { 2635d8d4d1SNiels Sascha Reedijk PrivateIterator( 2735d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator it) 2835d8d4d1SNiels Sascha Reedijk : 2935d8d4d1SNiels Sascha Reedijk fCookieMapIterator(it) 3035d8d4d1SNiels Sascha Reedijk { 3135d8d4d1SNiels Sascha Reedijk } 3235d8d4d1SNiels Sascha Reedijk 3335d8d4d1SNiels Sascha Reedijk HashString fKey; 3435d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator 3535d8d4d1SNiels Sascha Reedijk fCookieMapIterator; 3635d8d4d1SNiels Sascha Reedijk }; 3735d8d4d1SNiels Sascha Reedijk 3835d8d4d1SNiels Sascha Reedijk #endif // _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 39