X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FICElibint.h;h=0638fb033c1e85c4e7c35e52a5385b477b768c18;hb=2d0f4674481669fea5bde77e596532aa4308fd05;hp=3df59d60881a051fe30b345e8dd480ff0f90f929;hpb=fb6a490bfa8d88706cac5ee7bafaadcb165d009b;p=framework%2Fuifw%2Fxorg%2Flib%2Flibice.git diff --git a/src/ICElibint.h b/src/ICElibint.h old mode 100755 new mode 100644 index 3df59d6..0638fb0 --- a/src/ICElibint.h +++ b/src/ICElibint.h @@ -289,7 +289,7 @@ typedef struct { if (_pBuf > _end) { \ _bail; \ } \ -} +} #define SKIP_LISTOF_STRING(_pBuf, _swap, _count, _end, _bail) \ { \ @@ -397,7 +397,7 @@ extern _IceProtocol _IceProtocols[]; extern int _IceLastMajorOpcode; extern int _IceAuthCount; -extern char *_IceAuthNames[]; +extern const char *_IceAuthNames[]; extern IcePoAuthProc _IcePoAuthProcs[]; extern IcePaAuthProc _IcePaAuthProcs[]; @@ -432,24 +432,24 @@ extern void _IceErrorNoVersion ( extern void _IceErrorSetupFailed ( IceConn /* iceConn */, int /* offendingMinor */, - char * /* reason */ + const char * /* reason */ ); extern void _IceErrorAuthenticationRejected ( IceConn /* iceConn */, int /* offendingMinor */, - char * /* reason */ + const char * /* reason */ ); extern void _IceErrorAuthenticationFailed ( IceConn /* iceConn */, int /* offendingMinor */, - char * /* reason */ + const char * /* reason */ ); extern void _IceErrorProtocolDuplicate ( IceConn /* iceConn */, - char * /* protocolName */ + const char * /* protocolName */ ); extern void _IceErrorMajorOpcodeDuplicate ( @@ -459,7 +459,7 @@ extern void _IceErrorMajorOpcodeDuplicate ( extern void _IceErrorUnknownProtocol ( IceConn /* iceConn */, - char * /* protocolName */ + const char * /* protocolName */ ); extern void _IceAddOpcodeMapping ( @@ -505,35 +505,35 @@ extern void _IceConnectionClosed ( ); extern void _IceGetPoAuthData ( - char * /* protocol_name */, - char * /* address */, - char * /* auth_name */, + const char * /* protocol_name */, + const char * /* address */, + const char * /* auth_name */, unsigned short * /* auth_data_length_ret */, char ** /* auth_data_ret */ ); extern void _IceGetPaAuthData ( - char * /* protocol_name */, - char * /* address */, - char * /* auth_name */, + const char * /* protocol_name */, + const char * /* address */, + const char * /* auth_name */, unsigned short * /* auth_data_length_ret */, char ** /* auth_data_ret */ ); extern void _IceGetPoValidAuthIndices ( - char * /* protocol_name */, - char * /* address */, + const char * /* protocol_name */, + const char * /* address */, int /* num_auth_names */, - char ** /* auth_names */, + const char ** /* auth_names */, int * /* num_indices_ret */, int * /* indices_ret */ ); extern void _IceGetPaValidAuthIndices ( - char * /* protocol_name */, - char * /* address */, + const char * /* protocol_name */, + const char * /* address */, int /* num_auth_names */, - char ** /* auth_names */, + const char ** /* auth_names */, int * /* num_indices_ret */, int * /* indices_ret */ );