]> jfr.im git - solanum.git/blobdiff - include/send.h
um_callerid: Only people can have common channels
[solanum.git] / include / send.h
index 4985b4602e570f31b64578bcd5120851095db571..84a4de1203e525d3e8cc774605d48347dcd84ccd 100644 (file)
@@ -93,6 +93,18 @@ extern void kill_client(struct Client *client_p, struct Client *diedie,
 extern void kill_client_serv_butone(struct Client *one, struct Client *source_p,
                                    const char *pattern, ...) AFP(3, 4);
 
+enum multiline_item_result {
+       MULTILINE_FAILURE,
+       MULTILINE_SUCCESS,
+       MULTILINE_WRAPPED,
+};
+
+extern bool send_multiline_init(struct Client *target_p, const char *separator, const char *format, ...) AFP(3, 4);
+extern bool send_multiline_remote_pad(struct Client *target_p, struct Client *client_p);
+extern enum multiline_item_result send_multiline_item(struct Client *target_p, const char *format, ...) AFP(2, 3);
+extern bool send_multiline_fini(struct Client *target_p, const char *format, ...) AFP(2, 3);
+extern void send_multiline_reset(void);
+
 #define L_ALL  0
 #define L_OPER         1
 #define L_ADMIN        2