projects
/
framework
/
uifw
/
xorg
/
lib
/
libice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upload tizen2.0 source
[framework/uifw/xorg/lib/libice.git]
/
src
/
getauth.c
diff --git
a/src/getauth.c
b/src/getauth.c
old mode 100755
(executable)
new mode 100644
(file)
index
aa5d72d
..
e127206
--- a/
src/getauth.c
+++ b/
src/getauth.c
@@
-33,7
+33,7
@@
Author: Ralph Mor, X Consortium
#include "ICElibint.h"
static Bool auth_valid (const char *auth_name, int num_auth_names,
#include "ICElibint.h"
static Bool auth_valid (const char *auth_name, int num_auth_names,
- char **auth_names, int *index_ret);
+ c
onst c
har **auth_names, int *index_ret);
\f
/*
\f
/*
@@
-55,9
+55,9
@@
static Bool auth_valid (const char *auth_name, int num_auth_names,
void
_IceGetPoAuthData (
void
_IceGetPoAuthData (
- c
har
*protocolName,
- c
har
*networkId,
- c
har
*authName,
+ c
onst char
*protocolName,
+ c
onst char
*networkId,
+ c
onst char
*authName,
unsigned short *authDataLenRet,
char **authDataRet
)
unsigned short *authDataLenRet,
char **authDataRet
)
@@
-86,9
+86,9
@@
_IceGetPoAuthData (
\f
void
_IceGetPaAuthData (
\f
void
_IceGetPaAuthData (
- c
har
*protocolName,
- c
har
*networkId,
- c
har
*authName,
+ c
onst char
*protocolName,
+ c
onst char
*networkId,
+ c
onst char
*authName,
unsigned short *authDataLenRet,
char **authDataRet
)
unsigned short *authDataLenRet,
char **authDataRet
)
@@
-125,12
+125,12
@@
_IceGetPaAuthData (
\f
void
_IceGetPoValidAuthIndices (
\f
void
_IceGetPoValidAuthIndices (
- c
har
*protocol_name,
- c
har
*network_id,
- int num_auth_names,
- c
har
**auth_names,
- int *num_indices_ret,
- int *indices_ret /* in/out arg */
+ c
onst char
*protocol_name,
+ c
onst char
*network_id,
+ int
num_auth_names,
+ c
onst char
**auth_names,
+ int
*num_indices_ret,
+ int
*indices_ret /* in/out arg */
)
{
FILE *auth_file;
)
{
FILE *auth_file;
@@
-184,12
+184,12
@@
_IceGetPoValidAuthIndices (
\f
void
_IceGetPaValidAuthIndices (
\f
void
_IceGetPaValidAuthIndices (
- c
har
*protocol_name,
- c
har
*network_id,
- int num_auth_names,
- c
har
**auth_names,
- int *num_indices_ret,
- int *indices_ret /* in/out arg */
+ c
onst char
*protocol_name,
+ c
onst char
*network_id,
+ int
num_auth_names,
+ c
onst char
**auth_names,
+ int
*num_indices_ret,
+ int
*indices_ret /* in/out arg */
)
{
int index_ret;
)
{
int index_ret;
@@
-232,7
+232,7
@@
_IceGetPaValidAuthIndices (
static Bool
auth_valid (const char *auth_name, int num_auth_names,
static Bool
auth_valid (const char *auth_name, int num_auth_names,
- char **auth_names, int *index_ret)
+ c
onst c
har **auth_names, int *index_ret)
{
/*
{
/*
@@
-246,7
+246,7
@@
auth_valid (const char *auth_name, int num_auth_names,
{
break;
}
{
break;
}
-
+
if (i < num_auth_names)
{
*index_ret = i;
if (i < num_auth_names)
{
*index_ret = i;