#include "ICElibint.h"
static Bool auth_valid (const char *auth_name, int num_auth_names,
- char **auth_names, int *index_ret);
+ const char **auth_names, int *index_ret);
\f
/*
void
_IceGetPoAuthData (
- char *protocolName,
- char *networkId,
- char *authName,
+ const char *protocolName,
+ const char *networkId,
+ const char *authName,
unsigned short *authDataLenRet,
char **authDataRet
)
\f
void
_IceGetPaAuthData (
- char *protocolName,
- char *networkId,
- char *authName,
+ const char *protocolName,
+ const char *networkId,
+ const char *authName,
unsigned short *authDataLenRet,
char **authDataRet
)
\f
void
_IceGetPoValidAuthIndices (
- char *protocol_name,
- char *network_id,
- int num_auth_names,
- char **auth_names,
- int *num_indices_ret,
- int *indices_ret /* in/out arg */
+ const char *protocol_name,
+ const char *network_id,
+ int num_auth_names,
+ const char **auth_names,
+ int *num_indices_ret,
+ int *indices_ret /* in/out arg */
)
{
FILE *auth_file;
\f
void
_IceGetPaValidAuthIndices (
- char *protocol_name,
- char *network_id,
- int num_auth_names,
- char **auth_names,
- int *num_indices_ret,
- int *indices_ret /* in/out arg */
+ const char *protocol_name,
+ const char *network_id,
+ int num_auth_names,
+ const char **auth_names,
+ int *num_indices_ret,
+ int *indices_ret /* in/out arg */
)
{
int index_ret;
static Bool
auth_valid (const char *auth_name, int num_auth_names,
- char **auth_names, int *index_ret)
+ const char **auth_names, int *index_ret)
{
/*
{
break;
}
-
+
if (i < num_auth_names)
{
*index_ret = i;