Changeset 952bb256 for functions.c


Ignore:
Timestamp:
Dec 22, 2003, 11:25:16 PM (17 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:
9854278
Parents:
2de4f20
Message:
Added the 'aim search' command.  The popup on callback may be
  dangerous, should switch to an admin msg for results, or add a
  new event queue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r2de4f20 r952bb256  
    34263426#endif
    34273427}
     3428
     3429void owl_function_aimsearch_results(char *email, owl_list *namelist)
     3430{
     3431  owl_fmtext fm;
     3432  int i, j;
     3433
     3434  owl_fmtext_init_null(&fm);
     3435  owl_fmtext_append_normal(&fm, "AIM screennames associated with ");
     3436  owl_fmtext_append_normal(&fm, email);
     3437  owl_fmtext_append_normal(&fm, ":\n");
     3438
     3439  j=owl_list_get_size(namelist);
     3440  for (i=0; i<j; i++) {
     3441    owl_fmtext_append_normal(&fm, "  ");
     3442    owl_fmtext_append_normal(&fm, owl_list_get_element(namelist, i));
     3443    owl_fmtext_append_normal(&fm, "\n");
     3444  }
     3445
     3446  owl_function_popless_fmtext(&fm);
     3447  owl_fmtext_free(&fm);
     3448}
Note: See TracChangeset for help on using the changeset viewer.