X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcutil.h;h=d92ae48ff7a0d763ddcdb4e37d0879adb0a47f28;hb=fbcba64240f0accf54c44249df6b03652bb86dfc;hp=2c0230fc82ee21ebc2c4eed869a14116979806f5;hpb=ea35a2214bc62cbdb314cd28f389fd78fe3a31e0;p=silc.git diff --git a/lib/silcutil/silcutil.h b/lib/silcutil/silcutil.h index 2c0230fc..d92ae48f 100644 --- a/lib/silcutil/silcutil.h +++ b/lib/silcutil/silcutil.h @@ -573,7 +573,6 @@ char *silc_get_real_name(); bool silc_get_mode_list(SilcBuffer mode_list, SilcUInt32 mode_list_count, SilcUInt32 **list); - /****f* silcutil/SilcUtilAPI/silc_get_status_message * * SYNOPSIS @@ -585,6 +584,32 @@ bool silc_get_mode_list(SilcBuffer mode_list, SilcUInt32 mode_list_count, * Returns status message string * ***/ -char *silc_get_status_message(unsigned char status); +const char *silc_get_status_message(unsigned char status); + +/****f* silcutil/SilcUtilAPI/silc_get_packet_name + * + * SYNOPSIS + * + * char *silc_get_packet_name(SilcPacketType type); + * + * DESCRIPTION + * + * Returns the name corresponding packet type `type'. + * + ***/ +const char *silc_get_packet_name(unsigned char type); + +/****f* silcutil/SilcUtilAPI/silc_get_command_name + * + * SYNOPSIS + * + * char *silc_get_packet_name(SilcCommand command); + * + * DESCRIPTION + * + * Returns the name corresponding SILC command `command'. + * + ***/ +const char *silc_get_command_name(unsigned char command); #endif /* !SILCUTIL_H */