VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProvPoller.h@ 40272

Last change on this file since 40272 was 40271, checked in by vboxsync, 13 years ago

VBoxCredProv: fixed svn properties

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/* $Id: VBoxCredProvPoller.h 40271 2012-02-28 11:22:04Z vboxsync $ */
2/** @file
3 * VBoxCredPoller - Thread for retrieving user credentials.
4 */
5
6/*
7 * Copyright (C) 2012 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef __VBOX_CREDPROV_POLLER_H__
19#define __VBOX_CREDPROV_POLLER_H__
20
21#include <iprt/critsect.h>
22#include <iprt/thread.h>
23#include <iprt/semaphore.h>
24
25class VBoxCredProvProvider;
26//class VBoxCredProvCredential;
27
28class VBoxCredProvPoller
29{
30 public:
31
32 VBoxCredProvPoller(void);
33
34 virtual ~VBoxCredProvPoller(void);
35
36 public:
37
38 int Initialize(VBoxCredProvProvider *pProvider);
39 int Shutdown(void);
40 //VBoxCredProvProvider* GetProvider(void) { return m_pProv; }
41 //bool QueryCredentials(VBoxCredProvCredential *pCred);
42
43 protected:
44
45 /* void credentialsReset(void);
46 int credentialsRetrieve(void);*/
47 static int threadPoller(RTTHREAD ThreadSelf, void *pvUser);
48
49 protected:
50
51 RTTHREAD m_hThreadPoller; /* Thread handle */
52 //RTCRITSECT m_csCredUpate;
53 VBoxCredProvProvider *m_pProv; /* Pointer to parent */
54
55 #if 0
56 char *m_pszUser; /* Our lovely credentials */
57 char *m_pszPw;
58 char *m_pszDomain;
59 #endif
60};
61
62#endif /* !__VBOX_CREDPROV_POLLER_H__ */
63
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette