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.h
diff --git
a/lib/silccore/silcnotify.h
b/lib/silccore/silcnotify.h
index 3b2d7239bfa956414d00f8b8a32afd328c8dbf1a..67e8894f34b8ee1f70f19842a56448dda41bea52 100644
(file)
--- a/
lib/silccore/silcnotify.h
+++ b/
lib/silccore/silcnotify.h
@@
-23,7
+23,7
@@
* DESCRIPTION
*
* Implementation of the Notify Payload. Notify Payload is used usually
* DESCRIPTION
*
* Implementation of the Notify Payload. Notify Payload is used usually
- * servers to send different kind of important notify messages to other
+ *
by
servers to send different kind of important notify messages to other
* servers and to clients.
*
***/
* servers and to clients.
*
***/
@@
-51,7
+51,7
@@
typedef struct SilcNotifyPayloadStruct *SilcNotifyPayload;
*
* NAME
*
*
* NAME
*
- * typedef
ui
nt16 SilcNotifyType;
+ * typedef
SilcUI
nt16 SilcNotifyType;
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-59,7
+59,7
@@
typedef struct SilcNotifyPayloadStruct *SilcNotifyPayload;
*
* SOURCE
*/
*
* SOURCE
*/
-typedef
ui
nt16 SilcNotifyType;
+typedef
SilcUI
nt16 SilcNotifyType;
/* SILC notify types. Server may send these notify types to client to
notify of some action. */
/* SILC notify types. Server may send these notify types to client to
notify of some action. */
@@
-87,7
+87,9
@@
typedef uint16 SilcNotifyType;
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * SilcNotifyPayload silc_notify_payload_parse(SilcBuffer buffer);
+ * SilcNotifyPayload
+ * silc_notify_payload_parse(const unsigned char *payload,
+ * SilcUInt32 payload_len);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-95,23
+97,24
@@
typedef uint16 SilcNotifyType;
* The `buffer' is the raw payload data.
*
***/
* The `buffer' is the raw payload data.
*
***/
-SilcNotifyPayload silc_notify_payload_parse(SilcBuffer buffer);
+SilcNotifyPayload silc_notify_payload_parse(const unsigned char *payload,
+ SilcUInt32 payload_len);
/****f* silccore/SilcNotifyAPI/silc_notify_payload_encode
*
* SYNOPSIS
*
/****f* silccore/SilcNotifyAPI/silc_notify_payload_encode
*
* SYNOPSIS
*
- * SilcBuffer silc_notify_payload_encode(SilcNotifyType type,
ui
nt32 argc,
+ * SilcBuffer silc_notify_payload_encode(SilcNotifyType type,
SilcUI
nt32 argc,
* va_list ap);
*
* DESCRIPTION
*
* Encode notify payload with variable argument list. If `argc' is > 0
* argument payloads will be associated to the notify payload. Variable
* va_list ap);
*
* DESCRIPTION
*
* 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);
/****f* silccore/SilcNotifyAPI/silc_notify_payload_encode_args
va_list ap);
/****f* silccore/SilcNotifyAPI/silc_notify_payload_encode_args
@@
-119,7
+122,7
@@
SilcBuffer silc_notify_payload_encode(SilcNotifyType type, uint32 argc,
* SYNOPSIS
*
* SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
* SYNOPSIS
*
* SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
- *
ui
nt32 argc,
+ *
SilcUI
nt32 argc,
* SilcBuffer args);
*
* DESCRIPTION
* SilcBuffer args);
*
* DESCRIPTION
@@
-129,7
+132,7
@@
SilcBuffer silc_notify_payload_encode(SilcNotifyType type, uint32 argc,
*
***/
SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
*
***/
SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type,
-
ui
nt32 argc,
+
SilcUI
nt32 argc,
SilcBuffer args);
/****f* silccore/SilcNotifyAPI/silc_notify_payload_free
SilcBuffer args);
/****f* silccore/SilcNotifyAPI/silc_notify_payload_free
@@
-162,14
+165,14
@@
SilcNotifyType silc_notify_get_type(SilcNotifyPayload payload);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
ui
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload);
+ *
SilcUI
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload);
*
* DESCRIPTION
*
* Return the number of the arguments associated with the Notify Payload.
*
***/
*
* DESCRIPTION
*
* Return the number of the arguments associated with the Notify Payload.
*
***/
-
ui
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload);
+
SilcUI
nt32 silc_notify_get_arg_num(SilcNotifyPayload payload);
/****f* silccore/SilcNotifyAPI/silc_notify_get_args
*
/****f* silccore/SilcNotifyAPI/silc_notify_get_args
*