Some work on SAML
[mech_eap.git] / util_radius.c
index cb1934c..992350b 100644 (file)
 
 #include "gssapiP_eap.h"
 
-struct eap_gss_avp_list {
+struct eap_gss_radius_attr_ctx {
 };
 
 OM_uint32
-radiusDuplicateAVPs(OM_uint32 *minor,
-                    const struct eap_gss_avp_list *in,
-                    struct eap_gss_avp_list **out)
+radiusDuplicateAttrContext(OM_uint32 *minor,
+                           const struct eap_gss_radius_attr_ctx *in,
+                           struct eap_gss_radius_attr_ctx **out)
 {
     GSSEAP_NOT_IMPLEMENTED;
 }
 
 OM_uint32
-radiusReleaseAVPs(OM_uint32 *minor,
-                  struct eap_gss_avp_list **avps)
+radiusReleaseAttrContext(OM_uint32 *minor,
+                         struct eap_gss_radius_attr_ctx **pCtx)
 {
-    if (*avps != NULL) {
+    if (*pCtx != NULL) {
         GSSEAP_NOT_IMPLEMENTED;
-        *avps = NULL;
+        *pCtx = NULL;
     }
 }
 
 OM_uint32
 radiusGetAttributeTypes(OM_uint32 *minor,
-                        const struct eap_gss_avp_list *avps,
+                        const struct eap_gss_radius_attr_ctx *ctx,
                         void *data,
                         OM_uint32 (*addAttribute)(OM_uint32 *,
                                                   void *, gss_buffer_t))
@@ -64,24 +64,24 @@ radiusGetAttributeTypes(OM_uint32 *minor,
 }
 
 OM_uint32
-radiusGetAVP(OM_uint32 *minor,
-             const struct eap_gss_avp_list *avps,
-             gss_buffer_t attr,
-             int *authenticated,
-             int *complete,
-             gss_buffer_t value,
-             gss_buffer_t display_value,
-             int *more)
+radiusGetAttribute(OM_uint32 *minor,
+                   const struct eap_gss_radius_attr_ctx *ctx,
+                   gss_buffer_t attr,
+                   int *authenticated,
+                   int *complete,
+                   gss_buffer_t value,
+                   gss_buffer_t display_value,
+                   int *more)
 {
     GSSEAP_NOT_IMPLEMENTED;
 }
 
 OM_uint32
-radiusSetAVP(OM_uint32 *minor,
-             struct eap_gss_avp_list *avps,
-             int complete,
-             gss_buffer_t attr,
-             gss_buffer_t value)
+radiusSetAttribute(OM_uint32 *minor,
+                   struct eap_gss_radius_attr_ctx *ctx,
+                   int complete,
+                   gss_buffer_t attr,
+                   gss_buffer_t value)
 {
     GSSEAP_NOT_IMPLEMENTED;
 }