/[mailutils]/mailutils/mh/mh_format.c
ViewVC logotype

Diff of /mailutils/mh/mh_format.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by gray, Wed Jan 15 17:31:32 2003 UTC revision 1.23 by gray, Thu Jan 16 13:44:06 2003 UTC
# Line 1664  builtin_printstr (struct mh_machine *mac Line 1664  builtin_printstr (struct mh_machine *mac
1664    print_obj (mach, mach->reg_num, &mach->reg_str);    print_obj (mach, mach->reg_num, &mach->reg_str);
1665  }  }
1666    
1667    static void
1668    builtin_in_reply_to (struct mh_machine *mach)
1669    {
1670      char *value;
1671    
1672      strobj_free (&mach->arg_str);
1673      mu_rfc2822_in_reply_to (mach->message, &value);
1674      strobj_create (&mach->arg_str, value);
1675      free (value);
1676    }
1677    
1678    static void
1679    builtin_references (struct mh_machine *mach)
1680    {
1681      char *value;
1682    
1683      strobj_free (&mach->reg_str);
1684      mu_rfc2822_references (mach->message, &value);
1685      strobj_create (&mach->arg_str, value);
1686      free (value);
1687    }
1688    
1689  /* Builtin function table */  /* Builtin function table */
1690    
1691  mh_builtin_t builtin_tab[] = {  mh_builtin_t builtin_tab[] = {
# Line 1743  mh_builtin_t builtin_tab[] = { Line 1765  mh_builtin_t builtin_tab[] = {
1765    { "rcpt",     builtin_rcpt,     mhtype_num,  mhtype_str },    { "rcpt",     builtin_rcpt,     mhtype_num,  mhtype_str },
1766    { "concat",   builtin_concat,   mhtype_none, mhtype_str,     1 },    { "concat",   builtin_concat,   mhtype_none, mhtype_str,     1 },
1767    { "printstr", builtin_printstr, mhtype_none, mhtype_str },    { "printstr", builtin_printstr, mhtype_none, mhtype_str },
1768      { "in_reply_to", builtin_in_reply_to, mhtype_str,  mhtype_none },
1769      { "references", builtin_references, mhtype_str,  mhtype_none },
1770    { 0 }    { 0 }
1771  };  };
1772    

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26