Cache Object's state functions.
git-svn-id: svn://10.0.0.236/trunk@10773 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9446da27fe
commit
cd4e898fad
13
mozilla/network/cache/nu/src/CacheStubs.cpp
vendored
13
mozilla/network/cache/nu/src/CacheStubs.cpp
vendored
@ -203,6 +203,12 @@ CacheObject_GetSize(const void* pThis)
|
||||
return pThis ? ((nsCacheObject*)pThis)->Size() : 0;
|
||||
}
|
||||
|
||||
PRUint32
|
||||
CacheObject_GetState(const void* pThis)
|
||||
{
|
||||
return pThis ? ((nsCacheObject*)pThis)->State() : 0;
|
||||
}
|
||||
|
||||
PRUint32
|
||||
CacheObject_Hits(const void* pThis)
|
||||
{
|
||||
@ -332,6 +338,13 @@ CacheObject_SetSize(void* pThis, const PRUint32 i_Size)
|
||||
((nsCacheObject*)pThis)->Size(i_Size);
|
||||
}
|
||||
|
||||
void
|
||||
CacheObject_SetState(void* pThis, const PRUint32 i_State)
|
||||
{
|
||||
if (pThis)
|
||||
((nsCacheObject*)pThis)->State(i_State);
|
||||
}
|
||||
|
||||
PRBool
|
||||
CacheObject_Synch(void* pThis)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user