X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccore%2Fsilcnotify.h;h=4bae376e8f88a2c07178838b5fa069d7c4828b5f;hb=72cfa31520ebc0058763a30e21c13f6e9a964aa0;hp=ca64ca14e5c63b2035d0b2a1382eafaff3523c1d;hpb=2be0be2432fff760084c4093291e79f1fa6262d8;p=silc.git diff --git a/lib/silccore/silcnotify.h b/lib/silccore/silcnotify.h index ca64ca14..4bae376e 100644 --- a/lib/silccore/silcnotify.h +++ b/lib/silccore/silcnotify.h @@ -25,7 +25,7 @@ typedef struct SilcNotifyPayloadStruct *SilcNotifyPayload; /* Type definition of notify type */ -typedef unsigned short SilcNotifyType; +typedef uint16 SilcNotifyType; /* SILC notify types. Server may send these notify types to client to notify of some action. */ @@ -48,14 +48,14 @@ typedef unsigned short SilcNotifyType; /* Prototypes */ SilcNotifyPayload silc_notify_payload_parse(SilcBuffer buffer); -SilcBuffer silc_notify_payload_encode(SilcNotifyType type, unsigned int argc, +SilcBuffer silc_notify_payload_encode(SilcNotifyType type, uint32 argc, va_list ap); SilcBuffer silc_notify_payload_encode_args(SilcNotifyType type, - unsigned int argc, + uint32 argc, SilcBuffer args); void silc_notify_payload_free(SilcNotifyPayload payload); SilcNotifyType silc_notify_get_type(SilcNotifyPayload payload); -unsigned int silc_notify_get_arg_num(SilcNotifyPayload payload); +uint32 silc_notify_get_arg_num(SilcNotifyPayload payload); SilcArgumentPayload silc_notify_get_args(SilcNotifyPayload payload); #endif