Changeset 7ba9e0de for commands.c
- Timestamp:
- May 16, 2010, 1:15:15 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3687413
- Parents:
- 700dc91
- git-author:
- David Benjamin <davidben@mit.edu> (05/14/10 17:40:48)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/16/10 01:15:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r700dc91 r7ba9e0de 1608 1608 char *owl_command_exec(int argc, const char *const *argv, const char *buff) 1609 1609 { 1610 return owl_function_exec(argc, argv, buff, 0);1610 return owl_function_exec(argc, argv, buff, OWL_OUTPUT_RETURN); 1611 1611 } 1612 1612 1613 1613 char *owl_command_pexec(int argc, const char *const *argv, const char *buff) 1614 1614 { 1615 return owl_function_exec(argc, argv, buff, 1);1615 return owl_function_exec(argc, argv, buff, OWL_OUTPUT_POPUP); 1616 1616 } 1617 1617 1618 1618 char *owl_command_aexec(int argc, const char *const *argv, const char *buff) 1619 1619 { 1620 return owl_function_exec(argc, argv, buff, 2);1620 return owl_function_exec(argc, argv, buff, OWL_OUTPUT_ADMINMSG); 1621 1621 } 1622 1622 1623 1623 char *owl_command_perl(int argc, const char *const *argv, const char *buff) 1624 1624 { 1625 return owl_function_perl(argc, argv, buff, 0);1625 return owl_function_perl(argc, argv, buff, OWL_OUTPUT_RETURN); 1626 1626 } 1627 1627 1628 1628 char *owl_command_pperl(int argc, const char *const *argv, const char *buff) 1629 1629 { 1630 return owl_function_perl(argc, argv, buff, 1);1630 return owl_function_perl(argc, argv, buff, OWL_OUTPUT_POPUP); 1631 1631 } 1632 1632 1633 1633 char *owl_command_aperl(int argc, const char *const *argv, const char *buff) 1634 1634 { 1635 return owl_function_perl(argc, argv, buff, 2);1635 return owl_function_perl(argc, argv, buff, OWL_OUTPUT_ADMINMSG); 1636 1636 } 1637 1637
Note: See TracChangeset
for help on using the changeset viewer.