projects
/
moonshot-firefox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code polishing
[moonshot-firefox.git]
/
nsMoonshotSessionState.h
diff --git
a/nsMoonshotSessionState.h
b/nsMoonshotSessionState.h
index
c29ef1b
..
7e623d8
100644
(file)
--- a/
nsMoonshotSessionState.h
+++ b/
nsMoonshotSessionState.h
@@
-1,26
+1,27
@@
#ifndef _nsMoonshotSessionState_h__
#define _nsMoonshotSessionState_h__
#ifndef _nsMoonshotSessionState_h__
#define _nsMoonshotSessionState_h__
+#include <nsISupportsUtils.h>
#include <gssapi.h>
#include <gssapi.h>
+typedef enum {
+ GSS_CTX_EMPTY,
+ GSS_CTX_IN_PROGRESS,
+ GSS_CTX_ESTABLISHED
+} gss_state_t;
+
class nsMoonshotSessionState : public nsISupports
{
public:
class nsMoonshotSessionState : public nsISupports
{
public:
- NS_DECL_ISUPPORTS
;
+ NS_DECL_ISUPPORTS
nsMoonshotSessionState();
virtual ~nsMoonshotSessionState();
nsMoonshotSessionState();
virtual ~nsMoonshotSessionState();
- NS_IMETHOD Reset();
-
- enum {
- GSS_CTX_EMPTY,
- GSS_CTX_IN_PROGRESS,
- GSS_CTX_ESTABLISHED
- } gss_state;
+ void Reset();
+ gss_state_t gss_state;
gss_cred_id_t gss_cred;
gss_cred_id_t gss_cred;
-
- private:
-}
+ gss_ctx_id_t gss_ctx;
+};
#endif
#endif