aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llapr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llapr.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llapr.h b/linden/indra/llcommon/llapr.h
index 323dcb2..1b91d37 100644
--- a/linden/indra/llcommon/llapr.h
+++ b/linden/indra/llcommon/llapr.h
@@ -60,6 +60,20 @@ void ll_init_apr();
60 */ 60 */
61void ll_cleanup_apr(); 61void ll_cleanup_apr();
62 62
63class LLAPRPool
64{
65public:
66 LLAPRPool(apr_pool_t *parent = NULL, apr_size_t size = 0) ;
67 ~LLAPRPool() ;
68
69 apr_pool_t* getAPRPool() {return mPool ; }
70 apr_status_t getStatus() {return mStatus ; }
71
72private:
73 apr_pool_t* mPool ;
74 apr_status_t mStatus ;
75} ;
76
63/** 77/**
64 * @class LLScopedLock 78 * @class LLScopedLock
65 * @brief Small class to help lock and unlock mutexes. 79 * @brief Small class to help lock and unlock mutexes.