Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / ircd_snprintf.h
index 28bcc5cce4eb5c5e262cc63af80e5ceeca0eb6ac..5fa984e7d77e2c3eb4500e9216bbb3fde1e65961 100644 (file)
@@ -108,7 +108,9 @@ extern int ircd_vsnprintf(struct Client *dest, char *buf, size_t buf_len,
 **     (normally, a decimal point appears in the results of those
 **     conversions only if a digit follows).  For g and G
 **     conversions, trailing zeros are not removed from the result as
-**     they would otherwise be.
+**     they would otherwise be.  For C conversions, if the
+**     destination is local and the origin is a user, the
+**     nick!user@host form is used.
 **
 **   0 specifying zero padding.  For all conversions except n, the
 **     converted value is padded on the left with zeros rather than
@@ -129,6 +131,9 @@ extern int ircd_vsnprintf(struct Client *dest, char *buf, size_t buf_len,
 **     produced by a signed conversion.  A + overrides a space if
 **     both are used.
 **
+**   : specifying that a struct Client name should be preceded by a
+**     ':' character if the destination is a user
+**
 ** * An optional decimal digit string specifying a minimum field
 **   width.  If the converted value has fewer characters than the
 **   field width, it will be padded with spaces on the left (or right,
@@ -256,6 +261,9 @@ extern int ircd_vsnprintf(struct Client *dest, char *buf, size_t buf_len,
 **             is printed; otherwise, the client's network numeric is
 **             printed.
 **
+** H           The channel argument identifier (channel name) is
+**             printed.
+**
 ** v           The argument given must be a pointer to a struct
 **             VarData with vd_format and vd_args must be initialized
 **             appropriately.  On return, vd_chars will contain the