Changes due to continue development effort.

This commit is contained in:
Juan Carlos Luciani
2006-04-28 18:58:25 +00:00
parent 492b8ee45c
commit fe756d9f5e
11 changed files with 1487 additions and 1016 deletions

View File

@@ -31,8 +31,9 @@
#include <expat.h>
#include <micasa_types.h>
#include <casa_status.h>
#include <casa_auth_token.h>
#include <casa_c_authtoken.h>
#include "list_entry.h"
#include "config_if.h"
#include "mech_if.h"
#include "proto.h"
@@ -45,8 +46,11 @@ typedef struct _AuthContext
{
LIST_ENTRY listEntry;
char *pContext;
int contextLen;
char *pMechanism;
int mechanismLen;
char *pMechInfo;
int mechInfoLen;
} AuthContext, *PAuthContext;
@@ -75,6 +79,7 @@ typedef struct _GetAuthPolicyResp
typedef struct _GetAuthTokenResp
{
char *pToken;
int tokenLen;
int tokenLifetime;
} GetAuthTokenResp, *PGetAuthTokenResp;
@@ -85,6 +90,7 @@ typedef struct _GetAuthTokenResp
typedef struct _AuthenticateResp
{
char *pToken;
int tokenLen;
int tokenLifetime;
} AuthenticateResp, *PAuthenticateResp;
@@ -130,18 +136,6 @@ GetAuthMechToken(
// Functions exported by getpolicymsg.c
//
extern
CasaStatus
CreateAuthPolicy(
IN char *pEncodedData,
IN int encodedDataLen,
INOUT AuthPolicy **ppAuthPolicy);
extern
void
RelAuthPolicy(
IN AuthPolicy *pAuthPolicy);
extern
char*
BuildGetAuthPolicyMsg(
@@ -160,6 +154,22 @@ void
RelGetAuthPolicyResp(
IN GetAuthPolicyResp *pGetAuthPolicyResp);
//
// Functions exported by authpolicy.c
//
extern
CasaStatus
CreateAuthPolicy(
IN char *pEncodedData,
IN int encodedDataLen,
INOUT AuthPolicy **ppAuthPolicy);
extern
void
RelAuthPolicy(
IN AuthPolicy *pAuthPolicy);
//
// Functions exported by authmsg.c
//
@@ -257,11 +267,11 @@ CreateUserMutex(void);
extern
void
LockUserMutex(void);
AcquireUserMutex(void);
extern
void
FreeUserMutex(void);
ReleaseUserMutex(void);
extern
LIB_HANDLE