Changeset e60f98c


Ignore:
Timestamp:
Sep 28, 2009, 1:14:23 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8240bce
Parents:
0c4ef53
git-author:
Anders Kaseorg <andersk@mit.edu> (09/27/09 19:26:35)
git-committer:
Anders Kaseorg <andersk@mit.edu> (09/28/09 13:14:23)
Message:
Use OWLCMD_VOID to define alist, blist, and toggle-oneline commands.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rfea5ddf re60f98c  
    297297              "Print a znol-style listing of users logged in"),
    298298
    299   OWLCMD_ARGS("alist", owl_command_alist, OWL_CTX_INTERACTIVE,
     299  OWLCMD_VOID("alist", owl_command_alist, OWL_CTX_INTERACTIVE,
    300300              "List AIM users logged in",
    301301              "alist",
    302302              "Print a listing of AIM users logged in"),
    303303
    304   OWLCMD_ARGS("blist", owl_command_blist, OWL_CTX_INTERACTIVE,
     304  OWLCMD_VOID("blist", owl_command_blist, OWL_CTX_INTERACTIVE,
    305305              "List all buddies logged in",
    306306              "blist",
    307307              "Print a listing of buddies logged in, regardless of protocol."),
    308308
    309   OWLCMD_ARGS("toggle-oneline", owl_command_toggleoneline, OWL_CTX_INTERACTIVE,
     309  OWLCMD_VOID("toggle-oneline", owl_command_toggleoneline, OWL_CTX_INTERACTIVE,
    310310              "Toggle the style between oneline and the default style",
    311311              "toggle-oneline",
     
    10481048}
    10491049
    1050 char *owl_command_alist()
     1050void owl_command_alist()
    10511051{
    10521052  owl_function_buddylist(1, 0, NULL);
    1053   return(NULL);
    1054 }
    1055 
    1056 char *owl_command_blist()
     1053}
     1054
     1055void owl_command_blist()
    10571056{
    10581057  owl_function_buddylist(1, 1, NULL);
    1059   return(NULL);
    1060 }
    1061 
    1062 char *owl_command_toggleoneline()
     1058}
     1059
     1060void owl_command_toggleoneline()
    10631061{
    10641062  owl_function_toggleoneline();
    1065   return(NULL);
    10661063}
    10671064
Note: See TracChangeset for help on using the changeset viewer.