Changeset 7933748 for functions.c


Ignore:
Timestamp:
Feb 21, 2003, 10:50:15 AM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ed2412d
Parents:
2c8d62e
Message:
Added a 'loadloginsubs' command to load login subscriptions from a
  file
Added a 'loadsubs' command to eventually phase out the 'load-subs'
  command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rced25d1 r7933748  
    522522  } else {
    523523    owl_function_makemsg("Error subscribing to messages from file.");
     524  }
     525}
     526
     527void owl_function_loadloginsubs(char *file) {
     528  int ret;
     529  ret=owl_zephyr_loadloginsubs(file);
     530  if (ret==0) {
     531    owl_function_makemsg("Subscribed to login messages from file.");
     532  } else if (ret==-1) {
     533    owl_function_makemsg("Could not open file for login subscriptions.");
     534  } else {
     535    owl_function_makemsg("Error subscribing to login messages from file.");
    524536  }
    525537}
Note: See TracChangeset for help on using the changeset viewer.