Changes in commands.c [3e96ff0:61de085]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r3e96ff0 r61de085 297 297 "Print a znol-style listing of users logged in"), 298 298 299 OWLCMD_ ARGS("alist", owl_command_alist, OWL_CTX_INTERACTIVE,299 OWLCMD_VOID("alist", owl_command_alist, OWL_CTX_INTERACTIVE, 300 300 "List AIM users logged in", 301 301 "alist", 302 302 "Print a listing of AIM users logged in"), 303 303 304 OWLCMD_ ARGS("blist", owl_command_blist, OWL_CTX_INTERACTIVE,304 OWLCMD_VOID("blist", owl_command_blist, OWL_CTX_INTERACTIVE, 305 305 "List all buddies logged in", 306 306 "blist", 307 307 "Print a listing of buddies logged in, regardless of protocol."), 308 308 309 OWLCMD_ ARGS("toggle-oneline", owl_command_toggleoneline, OWL_CTX_INTERACTIVE,309 OWLCMD_VOID("toggle-oneline", owl_command_toggleoneline, OWL_CTX_INTERACTIVE, 310 310 "Toggle the style between oneline and the default style", 311 311 "toggle-oneline", … … 995 995 }; 996 996 997 void owl_command_info( )997 void owl_command_info(void) 998 998 { 999 999 owl_function_info(); 1000 1000 } 1001 1001 1002 void owl_command_nop( )1002 void owl_command_nop(void) 1003 1003 { 1004 1004 } … … 1017 1017 char *owl_command_zlist(int argc, const char *const *argv, const char *buff) 1018 1018 { 1019 int elapsed=0, timesort=0;1020 1019 const char *file=NULL; 1021 1020 … … 1023 1022 argv++; 1024 1023 while (argc) { 1025 if (!strcmp(argv[0], "-e")) { 1026 elapsed=1; 1027 argc--; 1028 argv++; 1029 } else if (!strcmp(argv[0], "-t")) { 1030 timesort=1; 1031 argc--; 1032 argv++; 1033 } else if (!strcmp(argv[0], "-f")) { 1024 if (!strcmp(argv[0], "-f")) { 1034 1025 if (argc==1) { 1035 1026 owl_function_makemsg("zlist: -f needs an argument"); … … 1048 1039 } 1049 1040 1050 char *owl_command_alist()1041 void owl_command_alist(void) 1051 1042 { 1052 1043 owl_function_buddylist(1, 0, NULL); 1053 return(NULL); 1054 } 1055 1056 char *owl_command_blist() 1044 } 1045 1046 void owl_command_blist(void) 1057 1047 { 1058 1048 owl_function_buddylist(1, 1, NULL); 1059 return(NULL); 1060 } 1061 1062 char *owl_command_toggleoneline() 1049 } 1050 1051 void owl_command_toggleoneline(void) 1063 1052 { 1064 1053 owl_function_toggleoneline(); 1065 return(NULL); 1066 } 1067 1068 void owl_command_about() 1054 } 1055 1056 void owl_command_about(void) 1069 1057 { 1070 1058 owl_function_about(); 1071 1059 } 1072 1060 1073 void owl_command_version( )1061 void owl_command_version(void) 1074 1062 { 1075 1063 owl_function_makemsg("BarnOwl version %s", OWL_VERSION_STRING); … … 1322 1310 } 1323 1311 1324 void owl_command_expunge( )1312 void owl_command_expunge(void) 1325 1313 { 1326 1314 owl_function_expunge(); 1327 1315 } 1328 1316 1329 void owl_command_first( )1317 void owl_command_first(void) 1330 1318 { 1331 1319 owl_global_set_rightshift(&g, 0); … … 1333 1321 } 1334 1322 1335 void owl_command_last( )1323 void owl_command_last(void) 1336 1324 { 1337 1325 owl_function_lastmsg(); 1338 1326 } 1339 1327 1340 void owl_command_resize( )1328 void owl_command_resize(void) 1341 1329 { 1342 1330 owl_function_resize(); 1343 1331 } 1344 1332 1345 void owl_command_redisplay( )1333 void owl_command_redisplay(void) 1346 1334 { 1347 1335 owl_function_full_redisplay(); … … 1349 1337 } 1350 1338 1351 void owl_command_shift_right( )1339 void owl_command_shift_right(void) 1352 1340 { 1353 1341 owl_function_shift_right(); 1354 1342 } 1355 1343 1356 void owl_command_shift_left( )1344 void owl_command_shift_left(void) 1357 1345 { 1358 1346 owl_function_shift_left(); 1359 1347 } 1360 1348 1361 void owl_command_unsuball( )1349 void owl_command_unsuball(void) 1362 1350 { 1363 1351 owl_function_unsuball(); … … 1391 1379 } 1392 1380 1393 void owl_command_suspend( )1381 void owl_command_suspend(void) 1394 1382 { 1395 1383 owl_function_suspend(); … … 1675 1663 } 1676 1664 1677 void owl_command_quit( )1665 void owl_command_quit(void) 1678 1666 { 1679 1667 owl_function_quit(); … … 1987 1975 #else 1988 1976 owl_function_makemsg("This Owl does not support zcrypt"); 1977 return NULL; 1989 1978 #endif 1990 1979 } … … 2313 2302 } 2314 2303 2315 void owl_command_beep( )2304 void owl_command_beep(void) 2316 2305 { 2317 2306 owl_function_beep();
Note: See TracChangeset
for help on using the changeset viewer.