projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silccore
/
silcnotify.c
diff --git
a/lib/silccore/silcnotify.c
b/lib/silccore/silcnotify.c
index c3600c52eefcfe428a40bd0ccefe700c4788f7c2..44552d564d1b2352030cb96b5f1dd4c819826eb3 100644
(file)
--- a/
lib/silccore/silcnotify.c
+++ b/
lib/silccore/silcnotify.c
@@
-37,11
+37,11
@@
struct SilcNotifyPayloadStruct {
/* Parse notify payload buffer and return data into payload structure */
SilcNotifyPayload silc_notify_payload_parse(const unsigned char *payload,
/* Parse notify payload buffer and return data into payload structure */
SilcNotifyPayload silc_notify_payload_parse(const unsigned char *payload,
-
ui
nt32 payload_len)
+
SilcUI
nt32 payload_len)
{
SilcBufferStruct buffer;
SilcNotifyPayload new;
{
SilcBufferStruct buffer;
SilcNotifyPayload new;
-
ui
nt16 len;
+
SilcUI
nt16 len;
int ret;
SILC_LOG_DEBUG(("Parsing Notify payload"));
int ret;
SILC_LOG_DEBUG(("Parsing Notify payload"));
@@
-76,27
+76,27
@@
SilcNotifyPayload silc_notify_payload_parse(const unsigned char *payload,
/* Encode notify payload with variable argument list. If `argc' is > 0
argument payloads will be associated to the notify payload. Variable
/* Encode notify payload with variable argument list. If `argc' is > 0
argument payloads will be associated to the notify payload. Variable
- arguments must be {usigned char *,
ui
nt32 (len)}. */
+ arguments must be {usigned char *,
SilcUI
nt32 (len)}. */
-SilcBuffer silc_notify_payload_encode(SilcNotifyType type,
ui
nt32 argc,
+SilcBuffer silc_notify_payload_encode(SilcNotifyType type,
SilcUI
nt32 argc,
va_list ap)
{
SilcBuffer buffer;
SilcBuffer args = NULL;
unsigned char **argv;
va_list ap)
{
SilcBuffer buffer;
SilcBuffer args = NULL;
unsigned char **argv;
-
ui
nt32 *argv_lens = NULL, *argv_types = NULL;
+
SilcUI
nt32 *argv_lens = NULL, *argv_types = NULL;
unsigned char *x;
unsigned char *x;
-
ui
nt32 x_len;
+
SilcUI
nt32 x_len;
int i, k = 0, len = 0;
if (argc) {
argv = silc_calloc(argc, sizeof(unsigned char *));
int i, k = 0, len = 0;
if (argc) {
argv = silc_calloc(argc, sizeof(unsigned char *));
- argv_lens = silc_calloc(argc, sizeof(
ui
nt32));
- argv_types = silc_calloc(argc, sizeof(
ui
nt32));
+ argv_lens = silc_calloc(argc, sizeof(
SilcUI
nt32));
+ argv_types = silc_calloc(argc, sizeof(
SilcUI
nt32));
for (i = 0, k = 0; i < argc; i++) {
x = va_arg(ap, unsigned char *);
for (i = 0, k = 0; i < argc; i++) {
x = va_arg(ap, unsigned char *);
- x_len = va_arg(ap,
ui
nt32);
+ x_len = va_arg(ap,
SilcUI
nt32);
if (!x || !x_len)
continue;
if (!x || !x_len)
continue;
@@
-141,7
+141,7
@@
SilcBuffer silc_notify_payload_encode(SilcNotifyType type, uint32 argc,
/* Same as above but takes argument from the `args' Argument Payload. */
SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
/* Same as above but takes argument from the `args' Argument Payload. */
SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
-
ui
nt32 argc,
+
SilcUI
nt32 argc,
SilcBuffer args)
{
SilcBuffer buffer;
SilcBuffer args)
{
SilcBuffer buffer;
@@
-186,7
+186,7
@@
SilcNotifyType silc_notify_get_type(SilcNotifyPayload payload)
/* Return argument nums */
/* Return argument nums */
-
ui
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload)
+
SilcUI
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload)
{
return payload->argc;
}
{
return payload->argc;
}