VBoxServicePropCache.h revision b2b3dd040e6419db8733be1dca655675d3c60e04
1280N/A/* $Id: */
1280N/A/** @file
1280N/A * VBoxServicePropCache - Guest property cache.
1280N/A */
1280N/A
1280N/A/*
1280N/A * Copyright (C) 2010 Oracle Corporation
1280N/A *
1280N/A * This file is part of VirtualBox Open Source Edition (OSE), as
1280N/A * available from http://www.virtualbox.org. This file is free software;
1280N/A * you can redistribute it and/or modify it under the terms of the GNU
1280N/A * General Public License (GPL) as published by the Free Software
1280N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
1280N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1280N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1280N/A */
1280N/A
1280N/A#ifndef ___VBoxServicePropCache_h
1280N/A#define ___VBoxServicePropCache_h
1280N/A
1280N/A#include "VBoxServiceInternal.h"
1280N/A
1280N/A#ifdef VBOX_WITH_GUEST_PROPS
1280N/A
3065N/A#define VBOXSERVICEPROPCACHEFLAG_TEMPORARY RT_BIT(1)
1280N/A#define VBOXSERVICEPROPCACHEFLAG_ALWAYS_UPDATE RT_BIT(2)
1280N/A
2086N/Aint VBoxServicePropCacheInit(PVBOXSERVICEVEPROPCACHE pCache, uint32_t u32ClientId);
1280N/APVBOXSERVICEVEPROPCACHEENTRY VBoxServicePropCacheFind(PVBOXSERVICEVEPROPCACHE pCache, const char *pszName, uint32_t uFlags);
1280N/Aint VBoxServicePropCacheUpdateEntry(PVBOXSERVICEVEPROPCACHE pCache, const char *pszName, uint32_t uFlags, const char *pszValueReset);
1280N/Aint VBoxServicePropCacheUpdate(PVBOXSERVICEVEPROPCACHE pCache, const char *pszName, const char *pszValueFormat, ...);
1280N/Aint VBoxServicePropCacheUpdateEx(PVBOXSERVICEVEPROPCACHE pCache, const char *pszName, uint32_t u32Flags, const char *pszValueReset, const char *pszValueFormat, ...);
1280N/Avoid VBoxServicePropCacheDestroy(PVBOXSERVICEVEPROPCACHE pCache);
1280N/A#endif
1280N/A
1280N/A#endif
1280N/A
1280N/A