-static void
-mutt_display_xface (HEADER *hdr)
-{
- LIST *face;
- char buf[2000];
-
- if (slrnface_fd < 0)
- return;
-
- if (!hdr)
- return;
-
- face = hdr->env->x_face;
-
- if (face == NULL || face->data == NULL)
- write(slrnface_fd, "clear\n", sizeof "clear");
- else
- do {
- int len;
-
- len = snprintf (buf, sizeof (buf), "xface %s\n", face->data);
- if (len <= sizeof (buf))
- {
- write (slrnface_fd, buf, len);
- break;
- }
- /*
- * slrnface will ignore X-Faces larger than approx. 2000 chars, so
- * try the next one, if it exists.
- */
- } while (face = face->next);
-}
-
-static void
-mutt_clear_xface (void)
-{
- if (slrnface_fd < 0)
- return;
-
- write(slrnface_fd, "clear\n", sizeof "clear");
-}
-
-static void
-mutt_show_xface (void)
-{
- if (slrnface_fd < 0)
- return;
-
- write(slrnface_fd, "show\n", sizeof "show");
-}
-