projects
/
cyrus-sasl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5686474
)
make attr type constants private to C++ code
author
Luke Howard
<lukeh@padl.com>
Mon, 20 Sep 2010 08:26:29 +0000
(10:26 +0200)
committer
Luke Howard
<lukeh@padl.com>
Mon, 20 Sep 2010 08:26:29 +0000
(10:26 +0200)
mech_eap/util_attr.h
patch
|
blob
|
history
diff --git
a/mech_eap/util_attr.h
b/mech_eap/util_attr.h
index
2ae1b3c
..
e2820c0
100644
(file)
--- a/
mech_eap/util_attr.h
+++ b/
mech_eap/util_attr.h
@@
-33,13
+33,6
@@
#ifndef _UTIL_ATTR_H_
#define _UTIL_ATTR_H_ 1
#ifndef _UTIL_ATTR_H_
#define _UTIL_ATTR_H_ 1
-#define ATTR_TYPE_RADIUS 0U
-#define ATTR_TYPE_SAML_ASSERTION 1U
-#define ATTR_TYPE_SAML 2U
-#define ATTR_TYPE_LOCAL 3U
-#define ATTR_TYPE_MIN ATTR_TYPE_RADIUS
-#define ATTR_TYPE_MAX ATTR_TYPE_LOCAL
-
#ifdef __cplusplus
#include <string>
#ifdef __cplusplus
#include <string>
@@
-51,6
+44,13
@@
typedef bool
const gss_buffer_t attribute,
void *data);
const gss_buffer_t attribute,
void *data);
+#define ATTR_TYPE_RADIUS 0U
+#define ATTR_TYPE_SAML_ASSERTION 1U
+#define ATTR_TYPE_SAML 2U
+#define ATTR_TYPE_LOCAL 3U
+#define ATTR_TYPE_MIN ATTR_TYPE_RADIUS
+#define ATTR_TYPE_MAX ATTR_TYPE_LOCAL
+
/*
* Attribute provider: this represents a source of attributes derived
* from the security context.
/*
* Attribute provider: this represents a source of attributes derived
* from the security context.